Skip to content

james-gardner/fastify-basic-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastify Example

Just a quick example I've thrown together for a blog post. This is aimed at giving you a feel how easy it is to get up and running with Fastify. For the sake of the example I've used Postgres.

Quick start

Get set up with a .env file if you need to override the defaults:

PGUSER=myusername
PGPASSWORD=mypassword
PGDATABASE=mydatabase

Then run:

  npm i
  npm run dev  

I've used node 20 for this example.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published