Candids (backend)
It is an internal application, that we made for sharing Candid Moments within the company.
Setting up Dev Environment
Cloning the Repository:
Using SSH
git clone git@github.com:DivyanshBatham/cb-candids-backend.git
or Using HTTPS
git clone https://github.com/DivyanshBatham/cb-candids-backend.git
Installing Dependencies:
cd cb-candids-backend
npm install
.env
file:
Creating Create a .env
file in the root of the project folder, use .env.sample
for the variables names.
.env
:
Getting the values for URI
: Go to MongoDB Atlas, create a project then get the URI from connect.GOOGLE_CLIENT_ID
andGOOGLE_CLIENT_SECRET
: Not required as Passport.js is not being used anymore.AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
: Login to AWS Console, Goto IAM, Create a User with Programatic Access and get the credentials.