A comprehensive learning management system designed for students, teachers, and parents.
- Student dashboard for accessing learning content and assignments
- Teacher dashboard for creating classrooms, managing students, and content
- Parent dashboard for monitoring student progress
- User authentication and role-based access control
- Content management for educational resources
- Frontend: React, React Router, Context API for state management
- Backend: Node.js, Express, Sequelize ORM
- Database: PostgreSQL
- A Render.com account
- Git repository with the application code
- Fork or clone this repository to your GitHub account
- In your Render dashboard, click on "New" and select "Blueprint"
- Connect your GitHub account and select the repository
- Render will automatically detect the
render.yamlconfiguration and set up the services - Review the configurations and click "Apply"
- Render will deploy the database, backend, and frontend services
- In your Render dashboard, click on "New" and select "PostgreSQL"
- Configure the database:
- Name:
its-kids-db - Database:
its_kids - User: (Render will generate this)
- Region: (Choose the region closest to your users)
- Plan: Select a plan based on your needs
- Name:
- Click "Create Database"
- Save the connection string for use in the server configuration
- In your Render dashboard, click on "New" and select "Web Service"
- Connect your repository
- Configure the service:
- Name:
its-kids-server - Environment:
Node - Build Command:
npm install - Start Command:
npm start - Plan: Select a plan based on your needs
- Name:
- Add the following environment variables:
DATABASE_URL: The connection string from your databaseJWT_SECRET: A random secure string for JWT token generationNODE_ENV:productionPORT:8080CORS_ORIGIN: The URL of your frontend service (e.g.,https://its-kids-client.onrender.com)
- Click "Create Web Service"
- In your Render dashboard, click on "New" and select "Static Site"
- Connect your repository
- Configure the service:
- Name:
its-kids-client - Build Command:
cd client && npm install && npm run build - Publish Directory:
client/build
- Name:
- Add the following environment variables:
REACT_APP_API_URL: The URL of your backend service (e.g.,https://its-kids-server.onrender.com)
- Click "Create Static Site"
- Once all services are deployed, check the backend health endpoint:
https://its-kids-server.onrender.com/api/health - If you encounter any issues, check the service logs in the Render dashboard
- Clone the repository:
git clone <repository-url>
cd ITS-KIDS
- Install server dependencies:
cd server
npm install
- Install client dependencies:
cd ../client
npm install
- Create a
.envfile in the server directory with the following variables:
DATABASE_URL=<your-postgresql-connection-string>
JWT_SECRET=<your-jwt-secret>
PORT=5001
- Start the server:
cd ../server
npm start
- In a separate terminal, start the client:
cd ../client
npm start
- Open your browser to
http://localhost:3000to access the application