Package Exports
- node-typescript-fastify
- node-typescript-fastify/build/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-typescript-fastify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Node + TypeScript + Fastify
πͺ Motivation
The motivation of this project is to contribute to the community that has helped me so much in what I have been a developer, this is my way of thanking everyone, sharing a boilerplate of Node + TypeScript + Fastify + Prettier + Eslint. The project is open to suggestions and modifications, thank you very much, I hope you like it.
π Overview
π₯ Easy to implement
π¨ Recommendations
It is recommended to have the vsCode extension installed called Prettier - Code formatter
π« Getting Started
# install the project
npm install node-typeScript-fastify
# enter the project directory
cd node-typeScript-fastify
# develop
npm run watch #First run this command in a terminal
npm run dev #Finally run this command in a different terminalπ example
π Directory structure
βββ src Root folder
βββ helloWorld Service folder
| βββ controller
| | βββ hello_world_controller.ts
| βββ routes.ts
βββ app.ts App server file
βββ index.ts Root file
βββ router.ts Router fileπ± Creator
[ Linkedin ] AndrΓ©s HernΓ‘ndez