🚀 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.
✨ 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.
- Clone this repository:
git clone https://github.com/nainglinnphyo/nest-drizzle.git
- Install dependencies:
npm install
- Configure your PostgreSQL connection details in
.env
. - To generate migration
npm run generate
. - To run migration
npm run migrate
. - Start the development server:
npm run start:dev
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.