-
Notifications
You must be signed in to change notification settings - Fork 31
Getting started
Yegor Sytnyk edited this page Oct 7, 2016
·
2 revisions
You need to use Node 6.x, that is required for async/await functionality. If you need to manage different version of node use: nvm or nvm-windows.
Install typescript and typings globally
$ npm install -g typescript
$ npm install -g typings
Install packages and typings
npm install
That will install npm packages for server and client and install TS typings for the server
npm run build
That will compile server TS code and will create production-ready client side app
For development of client side run
npm watch
Install recent version of Postgres (tested on 9.5.x)
Create new database for contoso.
Specify correct db settings in app configuration. See config page.
Run seed script, which should create initial database
cd server
npm run seed
To start app
npm start
The project was developed with WebStorm IDE. Check out WebStorm Setup page.