Skip to content

This repository is a NestJS application built with TypeORM, following a Test-Driven Development (TDD) approach. It serves as a demonstration of best practices for building scalable and maintainable Node.js applications with a focus on automated testing.

Notifications You must be signed in to change notification settings

nainglinnphyo/e-commerce-store-with-tdd

Repository files navigation

NestJS E-Commerce API with TypeORM and TDD

NestJS

This repository contains a robust NestJS e-commerce API built with TypeORM and developed using Test-Driven Development (TDD) principles. The project demonstrates best practices for creating a scalable and maintainable API for e-commerce applications.

Features

  • NestJS: Leverages the power of NestJS to build efficient and maintainable server-side applications in TypeScript.

  • TypeORM: Seamlessly integrates TypeORM to handle database interactions, ensuring a type-safe and reliable data layer for your e-commerce application.

  • Test-Driven Development (TDD): The project adheres to TDD principles, resulting in a codebase with comprehensive unit and integration tests for enhanced reliability and maintainability.

  • E-Commerce Functionality: Provides essential e-commerce features such as product management, user authentication, shopping cart handling, order processing, and more.

  • Docker Support: Offers Docker configuration for containerization, streamlining both development and deployment processes.

Getting Started

Follow these steps to set up and run the e-commerce API on your local machine: Clone the Repository:

git clone https://github.com/nainglinnphyo/e-commerce-store-with-tdd.git

Getting Started

Install Dependencies:

cd nestjs-ecommerce-api
npm install

Environment Variables:

Create a .env file based on the .env.example file and configure your environment variables.

Run the Development Server:

npm run start:dev

Testing

To execute the project's comprehensive tests, use the following command:

npm run test

About

This repository is a NestJS application built with TypeORM, following a Test-Driven Development (TDD) approach. It serves as a demonstration of best practices for building scalable and maintainable Node.js applications with a focus on automated testing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published