Express and Google Maps API basic
Usage :
- clone
git clone https://github.com/egin10/my-journey.git
- install dependencies
cd my-journey && npm i
- run your mongoDB
- edit on
config/gAPI.js
with your Google Maps API_KEY - uncomment
res.locals.API_KEY = require('./config/gAPI').API_KEY;
and deleteres.locals.API_KEY = require('./config/g_api').API_KEY;
- edit on
config/db.js
with your mongoDB URL - run
npm start
ornode app
- enjoy!
DEMO : mapjourney
Explore it!