JSPM

node-typescript-fastify

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q16451F
  • License MIT

It is a boilerplate of node, typeScript and fastify

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

GitHub license

πŸ’ͺ 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

Node-TypeScript-Fastify

πŸ“‚ 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