An open API service indexing awesome lists of open source software.

https://github.com/jvictorfarias/boilerplate-nodejs-typescript

:file_folder: A boilerplate for NodeJS + Express + TypeScript APIs inspired by AdonisJS
https://github.com/jvictorfarias/boilerplate-nodejs-typescript

Last synced: 7 months ago
JSON representation

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

Awesome Lists containing this project

README

          



## 🗄️ 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:

```bash
yarn install
```

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

```bash
yarn typeorm migration:run
```

Now you are ready to code!

## 📖 License

See the LICENSE file for more details.

Made with ❤️ by Joao Victor Farias