Skip to content
/ f Public template

production-ready fastify boilerplate, fully type-safe from database modeling to API response 🤘

License

Notifications You must be signed in to change notification settings

bwyx/f

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

f

production-ready fastify boilerplate, fully type-safe from database modeling to API response 🤘

Run in Insomnia}

Features

API Endpoints

List of available routes:

Auth Token:
POST /auth/register - register
POST /auth/login - login
POST /auth/logout - logout, to invalidate refresh token
GET /auth/sessions - get all active session
POST /auth/refresh-tokens - refresh auth tokens
POST /auth/send-verification-email - send verification token to user's email
POST /auth/verify-email - verify user email

User routes:
POST /users - create a user
GET /users - get all users
DELETE /users/:userId - delete user

About

production-ready fastify boilerplate, fully type-safe from database modeling to API response 🤘

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages