ravichopra0107 / classroom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Classroom Web Application

Tech stack used:

1.Frontend: React, Redux, React-Redux, React-Router, Axios, React-bootsrap
2. Backend: Node.js,google api, multer
3. Database: MongoDB

Steps to run this application on local system

  • 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.

Sample structure of .env file

CLIENT_ID=****************
CLIENT_SECRET=************
REDIRECT_URI=https://developers.google.com/oauthplayground
REFRESH_TOKEN=***********************
PASSWORD=MONGODB Database password

Let's start:

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
  1. 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.

About

License:MIT License


Languages

Language:JavaScript 91.3%Language:CSS 6.8%Language:HTML 1.7%Language:Shell 0.2%