Skip to content

francowanseele/diaries-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Just a quick example with basic endpoints in node (typescript) + express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published