jvictorfarias / boilerplate-nodejs-typescript

:file_folder: A boilerplate for NodeJS + Express + TypeScript APIs inspired by AdonisJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🗄️ NodeJS, TypeScript and Express template

This template is made for building new APIs with these technologies and includes:

  • TypeScript runtime configuration
  • ESLint preferences(AirBnB style)
  • Prettier config for better linting
  • Project folder tree based on standards
  • Pre-configured ORM(TypeORM) with User model
  • JWT authentication
  • Routes template
  • Upload file configuration

📥️ Dependencies

  • bcryptjs
  • dotenv
  • express
  • express-async-errors
  • jsonwebtoken
  • multer
  • ora
  • reflect-metadata
  • typeorm
  • uuidv4

📑 How to install

Clone this repository and open the project, next install the dependencies:

yarn install

Write your personal configurations on a .env file based on .env.example, create your database and run the migrations:

yarn typeorm migration:run

Now you are ready to code!

📖 License

See the LICENSE file for more details.

Made with ❤️ by Joao Victor Farias

About

:file_folder: A boilerplate for NodeJS + Express + TypeScript APIs inspired by AdonisJS

License:MIT License


Languages

Language:TypeScript 99.0%Language:JavaScript 1.0%