Online class platform where teachers can create new classes and students can join those classes via class code.Teachers can post assignments which can be performed by students and upload the submission file to the classroom.Teachers can review the assignment.
##How to build and run
- pull the code and run "npm install"
- Create a .env file with environment variables. The variables we need are:
- .env file in main folder contains :-
- "DB_CONNECTION" : For storing mongoDb connection URL
- "TOKEN_SECRET" : For storing the JWT secret
- "PORT" : for storing the port number
.env file in myclass-client folder contains:-
"REACT_APP_BASEURL" : For storing backend base URL
- "DB_CONNECTION" : For storing mongoDb connection URL
- .env file in main folder contains :-
- Create a folder named "uploads" in root folder for storing the attachments
- Run "npm run start-dev" in root folder for running backend
- Run "npm run build" for switching to frontend and building the react production file"
- Run "npm start" to run both backend and frontend