nainglinnphyo / nest-drizzle

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸš€ 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.


Languages

Language:TypeScript 98.1%Language:JavaScript 1.9%