Skip to content

Backend for PolarCRM using Express, NodeJS, Mongoose and a MongoDB Atlas Database

Notifications You must be signed in to change notification settings

gbcarlos/PolarCRM-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolarCRM Backend

Backend for PolarCRM using Express, NodeJS, Mongoose and a MongoDB Atlas Database

Find the Frontend here

Setup

After cloning install the dependencies:

´npm install´

You need to create an environment (.env) file with the following keys:

  • PORT (Port where to launch the backend)
  • MONGO_URI (String that contains the URI to your mongoDB Atlas instance)
  • DB_NAME (The name of the mongoDB database that contains your collections)
  • CLIENT_ID (The Google Social Login Client ID of your workspace, you can find the string (ends in apps.googleusercontent.com) in your Google Cloud)
  • CLIENT_SECRET (Same as the client ID)
  • REDIRECT_URI (URI where you get redirected after the login was successful, e.g. ´REDIRECT_URI='http://localhost:4200/dashboard'´)
  • ORIGIN_URI (All URLs from where you can send requests to the server)

Launch

npm start

About

Backend for PolarCRM using Express, NodeJS, Mongoose and a MongoDB Atlas Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published