A web application for student and teachers to have lab reviewing system in which teacher can review assignment submitted by student. System allows teacher to create class and student are able to join in that particular class, teacher can upload assignment for students.
Frontend is developed in React.js which utilises RESTful APIs.
RESTful APIs are created using Node.js and Express.
How to run:
-
Clone this repository
-
Inside
server
folder, create a new file called.env
which stores yourATLAS_URI
,SECURITY_KEY
andCLIENT_URL
information- store your database URI inside
ATLAS_URI
variable - store your security key inside
SECURITY_KEY
variable - store your client url inside
CLIENT_URL
variable - example:
ATLAS_URI =mongodb+srv://admin:<password>@cluster0.8aezk.gcp.mongodb.net/classroom?retryWrites=true&w=majority SECURITY_KEY = D73373D9B4ED6FEC5B8B2DAF6WA929B1C7D14CDC88B196EBDCCEA77AFF7BB9 CLIENT_URL = http://localhost:3000/
- store your database URI inside
-
Inside
client
folder, create a new file called.env
which stores yourREACT_APP_SECURITY_KEY
andREACT_APP_BACKEND_URL
informations- store your security key inside
REACT_APP_SECURITY_KEY
variable, note that this value must same asSECURITY_KEY
inserver/.env
file - store your server url inside
REACT_APP_BACKEND_URL
variable - example:
REACT_APP_SECURITY_KEY = D73373D9B4ED6FEC5B8B2DAF6WA929B1C7D14CDC88B196EBDCCEA77AFF7BB9 REACT_APP_BACKEND_URL = http://localhost:5000
- store your security key inside
-
install all dependencies.
- Client side:
on the
client
directory typenpm install
- Server side:
on the
server
directory typenpm install
- Client side:
on the
-
Run it on node js:
- Client side:
on the
client
directory typenpm start
- Server side:
on the
server
directory typenpm start
- Client side:
on the