- NodeJS
- Express 4.x
- Postgres 9.x
- Typescript 2.x
- Socket.IO 1.7.x
npm install(sudo npm installif linux/osx)gulpto test if runable or notnode dist/serverto run server, ornodemon dist/serverto run & watch
docker-compose up
+ Go to bash in postgres docker: 'docker exec -it [postgres_container] bash'
+ `su postgres`
+ `psql [db_name] -c "CREATE EXTENSION postgis;"`
Add --max_old_space_size=2048 when run node
Ex: node --max_old_space_size=2048 run backup
must: NODE_ENV=development
modify src/routes/email-test.ts to return sample data for template file.
route test: /email-template/[template-file]
Happy Coding