Boilerplate code to ramp up a typescript node server with a PostgreSQL database.
Microsoft has an awesome boilerplate here with user models already hooked up and tested with Mongoose here: https://github.com/microsoft/TypeScript-Node-Starter
-
npm install
-
nodemon
Read through ../src/config.ts and input non-default data where necessary.
curl -XGET 'http://localhost:1337'
Type jest
in console, or npm run test