Code Monkey home page Code Monkey logo

nest-drizzle's Introduction

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

nest-drizzle's People

Contributors

nainglinnphyo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nest-drizzle's Issues

Request for Assistance with Creating Unit Tests in Service

Hi team,

I hope this message finds you well. I'm currently working on a project where I'm using the provided boilerplate for our service architecture. While the boilerplate has been quite helpful in setting up the structure, I'm encountering some challenges when it comes to creating unit tests specifically for the services.

I understand the importance of unit testing to ensure the reliability and robustness of our codebase, but I'm struggling a bit with the implementation within the service layer. I believe having some concrete examples of how to create unit tests for services would greatly aid in my understanding and ability to implement these tests effectively.

Can someone please provide me an example or point me to some resources that demonstrate how to create these unit tests? I am very interested in best practices and patterns that fit into the existing codebase structure.

Your help in this regard would be greatly appreciated. Thank you in advance for your help and guidance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.