Nestjs Starter

screenshot of Nestjs Starter

Nestjs Starter

This source code to help you get started with Nestjs.

Overview:

This project is a beginner-friendly implementation of the Nest framework, combined with powerful libraries such as Fastify, Sequelize, and JWT. It is written in Typescript and utilizes PostgreSQL as the database.

Features:

  • Nest framework: A powerful and scalable framework for building server-side applications.
  • Fastify: A high-performance web framework for Node.js.
  • Sequelize: An ORM (Object-Relational Mapping) library for Node.js and PostgreSQL.
  • JWT: JSON Web Tokens for authentication and authorization.

Installation:

To install the source code, make sure you have Node version 14.17.1 and Yarn version 1.22.10 installed. If not, please install them first. Then follow these steps:

  1. Clone the source code repository.
  2. Set up the required environment variables by creating a file named .env with the necessary variables.
  3. Run the command yarn install to install the required dependencies.
  4. Run the command yarn db:migrate to initialize the database with the necessary data.
  5. Finally, run the command yarn start to start the application.

Summary:

This project provides a beginner-friendly implementation of the Nest framework, utilizing powerful libraries such as Fastify, Sequelize, and JWT. It is written in Typescript and uses PostgreSQL as the database. The installation process is straightforward, and the source code includes comprehensive unit tests to ensure the functionality is robust. The project is under the MIT license and has an open issues tab for contributors to report any problems.