This is a starter repo for an Angular 2, Express, Mongo DB application.
- clone the repo locally
cd
into the 'angular2-express-app-starter' directory- run
npm install
cd
into the 'client' directory, and also runnpm install
, then runnpm start
to compile the Typescript and open the client app in the browser. (If you just want to work on the client side code, you can make changes in this state, and they'll update in the browser.)cd
into the root of the directory again, begin a database instance by runningmongod
in the terminal, in another tab, then runnpm start
ornodemon
and navigate to localhost:8080 in the browser