Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 515 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 515 Bytes

App in Node.js with TypeScript

Just a quick example with basic endpoints.

Setup & Run

  1. Clone repository

  2. Run:

npm install
  1. Create an .env file with the following variables
# The salt to be used in encryption. If specified as a number then a salt will be generated with the specified number of rounds and used
NODE_BCRYPT_SALT_ROUNTDS=number

# JWT string to verify
NODE_SECRET_JWT=some_random_string
  1. Run app
npm run dev
  1. Build app
npm run tsc

npm run start