Skip to content

ASgmbv/fastify-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Before starting the server, add .env file to the root folder with following environment variables: PORT=5000
NODE_ENV=development JWT_SECRET=random DATABASE_URL="file:./dev.db"

To run the server in development environment run "npm run dev" command.

To test the server you can try endpoint: http://localhost:5000/api/v1/users/testUser.

To run in production environment first run "npm run build" and then "npm run start".

About

Basic Fastify server scaffold with TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published