This is a full stack project.
The frontend was bootstrapped with Create React App and Material-UI.
The backend is created with Node.js and Express.js
The database we are using is MongoDB.
Before running the project, we need to update the config file in the backend.
- Go to
/api/config
and create a file config.env
cd api/config
touch config.env
- Make according changes to config.env to connect your own database and google_oauth20 client_id/secret:
PORT = 9000
MONGO_URI = xxxxxx
GOOGLE_CLIENT_ID = xxxxxx
GOOGLE_CLIENT_SECRET = xxxxxx
- Go to
/api
folder and install the packages needed
cd api
npm i
- To start the api
npm run dev
- Go to
/client
folder and install the packages needed
cd client
npm i
- To start the client
npm run start
The project should be located at localhost.
- feel free to fork and adjust to your needs/wants