Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
models
public
services
.gitignore
LICENSE
Procfile
README.md
package.json
server.js

README.md

Usage

Dependencies:

nodemon only for devolepment.

forever

node-foreman

Env variables:

Add a .env file at the root directory

GEOCODING_KEY=<Google Maps Geocoding API KEY>
YELP_APP_ID=<Yelp Fusion Client ID>
YELP_APP_SECRET=<Yelp Fusion Secret Key>
JWTSECRET=<Json web token secret>
DB_URL=<mongo db url>
DB_USER=<mongo db user>
DB_PASS=<mongo db password>

Public folder :

The public folder contains a built Angular 4 app, you can replace it with your own single page app.

The client angular app repo.

Refer to server.js, to check the api endpoints.

Development mode :

$ npm run dev

Production mode :

$ npm start