Clone the repository to your local machine:
git clone https://github.com/SDE-Arun/NestJs_Project.git
cd NestJs_ProjectInstall all required dependencies using Yarn:
yarn installTo run both the NestJS application and Prism DB with Docker, use:
docker-compose up --build -dThis will start:
- A PostgreSQL container.
- The NestJS application.
To start the project in different modes, use the following commands:
$ yarn run start$ yarn run start:devYou can run the following tests using Yarn:
$ yarn run test$ yarn run test:e2e$ yarn run test:covWhen you're ready to deploy your NestJS application to production, follow the deployment documentation for more information.
If you're looking for a cloud-based platform to deploy your NestJS application, check out Mau, which simplifies deployment on AWS.
To deploy using Mau, follow these steps:
$ yarn install -g mau
$ mau deployMau allows for easy deployment, helping you focus more on building features rather than managing infrastructure.
This is a NestJS project that implements a CRUD (Create, Read, Update, Delete) functionality using PostgreSQL as the database. The project also includes authentication features using JWT (JSON Web Tokens), and itβs containerized using Docker for easy setup and deployment.
- CRUD Operations: Perform create, read, update, and delete operations on a PostgreSQL database.
- Authentication: Secure user authentication using JWT (JSON Web Tokens).
- Dockerized: The application and PostgreSQL are containerized using Docker.
- NestJS: A framework for building scalable server-side applications.
- PostgreSQL: A relational database management system.
- TypeORM: ORM for working with databases in TypeScript.
- JWT: Authentication using JSON Web Tokens.
- Docker: Containerization for easier development and deployment.
Nest is an MIT-licensed open source project. It grows with support from the community. If you'd like to support the project, please visit here.
- Author: Arun Chaudhary
- Email: [email protected]
This project is licensed under the MIT License.