Simple node/express app that implements google maps api to display location of addresses
- Open cli and go to root directory of project
- run
npm install - If you have a api key of your own, replace it in
credentials.jsfile - run
node app.jsand visit http://localhost:3000 to view the app
- Primary file is
app.jslocated in root directory - Server logic is inside
/serverdirectory - for debugging run
npm run debugand openhttp://127.0.0.1:8080/debug?port=5858.
ejsis used as theview engineandbody-parseris used to access incoming post requests.- rendering the map is handled client side. most of the heavy lifting for
- rendering the map is done by the script from
maps.googleapis.com. bootstrapis used as the css framework for styling.- MVC framework is used for organizing the code on the server side.
- for testing the routes
supertestis used.