1.Frontend: React, Redux, React-Redux, React-Router, Axios, React-bootsrap
2. Backend: Node.js,google api, multer
3. Database: MongoDB
- These steps assume that the tech stack mentioned above are installed on the local system.
- Since we have used google drive api in order to upload diles in the form of assignments and announcements. In order to get your ClientId,ClientSecret, Refresh token refer here. After getting your credentials, create
.env
file.
CLIENT_ID=****************
CLIENT_SECRET=************
REDIRECT_URI=https://developers.google.com/oauthplayground
REFRESH_TOKEN=***********************
PASSWORD=MONGODB Database password
1.Clone this Repository
2.Start mongod using:
sudo service mongod start
3.Go to the working directory, where you have cloned this repository
4.Now run following commands:
cd frontend/
npm i
cd ../backend
npm i
5. After installing all packages, start the server:
node app.js
- To start the react server, change into frontend directory, and run the following command:
cd ../frontend
npm start
The app will run on http://localhost:3000, server will run on http://localhost:8080.