Nest Rest Typeorm Boilerplate

screenshot of Nest Rest Typeorm Boilerplate
express
nestjs

backend with nest (typescript), typeorm, and authentication

Overview:

This boilerplate is designed to help quickly prototype backend applications. It provides authentication/authorization, logging, CRUD features, and database persistence out of the box. It offers the choice to deploy with or without Docker.

Features:

  • Authentication/Authorization
  • Logging
  • CRUD features
  • Database persistence
  • Fastify web framework

Non Docker:

  1. Make sure to have Node.js (16+) installed locally.
  2. Download MYSQL locally by deploying a web server stack like XAMPP.
  3. Clone the repository.
  4. Install dependencies using npm or yarn.
  5. Create a .env file and replace the existing environment variable placeholders with valid responses.
  6. Start the API in development mode using the command npm run start.
  7. Access the UI built with Angular through http://localhost:4200.
express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.

nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

docker
Docker

A website that uses Docker for containerization to streamline development, testing, and deployment workflows. This includes features such as containerization of dependencies, automated builds and deployments, and container orchestration to ensure scalability and availability.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.