Skip to content

This repository contains a boilerplate setup for a Nest.js project integrated with PostgreSQL using Drizzle ORM. Drizzle ORM simplifies database operations and enhances the development experience with Nest.js.

Notifications You must be signed in to change notification settings

nainglinnphyo/nest-drizzle

Repository files navigation

🚀 Nest.js PSQL Drizzle ORM Configuration 🚀

This repository contains a boilerplate setup for a Nest.js project integrated with PostgreSQL using Drizzle ORM. Drizzle ORM simplifies database operations and enhances the development experience with Nest.js.

Features

Nest.js Framework: A powerful Node.js framework for building scalable and maintainable server-side applications.

🐘 PostgreSQL Database: Utilize the robust PostgreSQL database for efficient data storage and retrieval.

🔍 Drizzle ORM Integration: Drizzle ORM is integrated to streamline database interactions and provide an elegant solution for handling entities and relationships.

⚙️ Configuration Files: Pre-configured setup for Nest.js and Drizzle ORM with sensible defaults. Start your project with minimal configuration hassle.

🛠️ Extendable Architecture: Easily extend and customize the project structure to meet your specific requirements.

Getting Started

  1. Clone this repository: git clone https://github.com/nainglinnphyo/nest-drizzle.git
  2. Install dependencies: npm install
  3. Configure your PostgreSQL connection details in .env.
  4. To generate migration npm run generate.
  5. To run migration npm run migrate.
  6. Start the development server: npm run start:dev

Contribution Guidelines

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

Drizzle config is referenced from https://github.com/knaadh/nestjs-drizzle.

About

This repository contains a boilerplate setup for a Nest.js project integrated with PostgreSQL using Drizzle ORM. Drizzle ORM simplifies database operations and enhances the development experience with Nest.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published