Prerequisites
Before you begin, ensure you have the following installed:- Node.js 18.x or higher
- npm 9.x or higher (comes with Node.js)
- A code editor (VS Code recommended)
- Git for cloning the repository
You can check your Node.js version with
node --version and npm version with npm --version.Installation
Get started with School Science in three simple steps:Install Dependencies
Install all required npm packages:This will install:
- React 19 and React DOM
- Material-UI 7 components
- React Router 7 for navigation
- Styled Components for styling
- Vite 7 for development and building
- Lucide React icons
- react-lite-youtube-embed for video playback
Project Structure
Once installed, you’ll find this file structure:Available Scripts
The project includes several npm scripts:Development
http://localhost:5173
Build
dist/ directory
Preview
Lint
Exploring the Platform
Once the development server is running, you can:- Browse Projects - View the four science experiments on the home page
- View Details - Click “Ver más” on any project card to see full details
- Watch Videos - Each project page includes an embedded YouTube tutorial
- Download PDFs - Access downloadable guides with materials and instructions
Next Steps
Now that you have School Science running locally, explore these resources:Add Projects
Learn how to add new science projects to the platform
Customize
Customize colors, styling, and components
Deploy
Deploy your instance to Vercel or other platforms
Components
Explore the UI component documentation
Troubleshooting
Port Already in Use
If port 5173 is already in use, Vite will automatically try the next available port. You can also specify a custom port:Module Not Found Errors
If you encounter module errors, try deletingnode_modules and reinstalling:
Vite Build Errors
Ensure you’re using Node.js 18.x or higher. Check your version:Getting Help
Need assistance? Check out these resources:- GitHub Repository - View source code and open issues
- React Documentation - Learn about React 19 features
- Material-UI Docs - Explore MUI components
- Vite Guide - Understand Vite configuration