This is just an example/template to get you started with Fastify and TypeScript. It starts off using EJS, but you can use something else if you'd like.
Find a file
2024-09-05 18:10:25 -04:00
config move interfaces and types to src 2024-08-09 09:39:24 -04:00
src fixed sh file, replaced ' with " and removed the bun lock from the repo 2024-08-21 10:20:49 -04:00
.gitignore fixed sh file, replaced ' with " and removed the bun lock from the repo 2024-08-21 10:20:49 -04:00
LICENCE fix license and readme from " to ' 2024-08-09 07:15:55 -04:00
package.json initial comit 2024-08-08 08:20:58 -04:00
README.md Update README.md 2024-09-05 18:10:25 -04:00
start.bat initial comit 2024-08-08 08:20:58 -04:00
start.sh fixed sh file, replaced ' with " and removed the bun lock from the repo 2024-08-21 10:20:49 -04:00
tsconfig.json initial comit 2024-08-08 08:20:58 -04:00

TypeScript Fastify Starter Template

This template is designed to help you get started with Fastify and TypeScript. By default, it uses EJS as the templating engine, but feel free to replace it with any other engine that suits your project.

Getting Started

For Windows:

Use the following commands via start.bat:

  • Start the project: start.bat
  • Clean up the project: start.bat clean
  • Change mode: start.bat mode <mode>

For Unix/Linux:

Use the following commands via start.sh:

  • Start the project: start.sh
  • Clean up the project: start.sh clean
  • Change mode: start.sh mode <mode>

Mode Options:

You can set the following modes:

  • dev or development
  • prod or production

Package Manager Support

You can switch the package manager for the project with the following allowed managers:

  • bun
  • npm
  • yarn
  • pnpm

License

This project is licensed under the MIT License - see the LICENSE file for details.


Have fun!
Creations
creations@creations.works