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
- bcryptjs
- dotenv
- express
- express-async-errors
- jsonwebtoken
- multer
- ora
- reflect-metadata
- typeorm
- uuidv4
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!
See the LICENSE file for more details.