Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 735 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 735 Bytes


Fastify Typescript

Fastify Rest API Boilerplate Using TypeScript



How to use

1. Clone this repo & install dependencies

Install Node dependencies:

npm install

2. Create env files

Create the env files for dev, test and prod, refer env.example

.env.development.local
.env.test.local
.env.production.local

2. Set up the database

The boilerplate uses Postgres database.

and update the db credentials in the env file

5. Start the server

Launch your server with this command:

npm run dev

Swagger Endpoint:

http://localhost:3001/api-docs