TomDeS / lonely-world

Angular app showing places on a Google Map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lonely World

How to install JSON-Server

(see: https://thecodebee.com/fake-api-for-angular-2+-during-development-using-angularcli/)

  • yarn global add json-server
  • yarn add --dev json-server
  • Create a proxy file proxy.conf.json
  • edit package.json => "start": "ng serve --proxy-config proxy.conf.json",

How to run JSON-Server and Angular CLI

Run: // @TODO: move to Firebase as json-server makes the page reload after submitting a form

  • json-server --watch "src/assets/db.json"
  • yarn start

About

Angular app showing places on a Google Map

License:Apache License 2.0


Languages

Language:CSS 67.9%Language:TypeScript 19.8%Language:HTML 10.7%Language:JavaScript 1.7%