Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 510 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 510 Bytes

Typescript-server-boilerplate

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

Set-up

  1. npm install

  2. nodemon

Read through ../src/config.ts and input non-default data where necessary.

curl -XGET 'http://localhost:1337'

Tests

Type jest in console, or npm run test