Skip to content

AliDeWeb/Shop-Center

Repository files navigation

Nest Logo

Shop Center 🎉

Welcome to Shop Center – an open-source e-commerce backend built with NestJS 🚀. This project aims to provide a powerful, scalable, and clean architecture for your online store! 💻🛒

Features ✨

  • Fully customizable 🛠️
  • Order management 📦
  • Product management 🏷️
  • User authentication 🔑
  • Cart management 🛍️
  • Payment integration 💳
  • RESTful API 📡
  • Unit tests 🧪
  • Docker support 🐳
  • And much more! 🌟

Tech Stack 🛠️

  • NestJS (Backend Framework) ⚙️
  • MongoDB (Database) 🗄️
  • TypeScript (Language) 🖥️
  • Docker (Containerization) 🐋

How to Get Started 🚀

  1. Clone this repository:
  git clone https://github.com/AliDeWeb/Shop-Center.git
  1. Install dependencies:
  pnpm install
  1. Set up your environment variables in .env (check .env.example for reference).

  2. Run the development server:

  pnpm run start:dev
  1. Visit the API and start building your e-commerce platform! 🌍

Envs🪝


* if you set `NODE_ENV=development`, you'll be able to access swagger document in `host/document`.
* you can download and import postman doc from `project-rootdir/postman`.
* you can run project with `docker-compose up`, before that you must edit envs in `project-rootdir/docker-compose.yaml`.

Running Tests 🧪

This project includes both unit tests and integration tests to ensure the reliability and functionality of the application.

To run the tests, use the following command:

  pnpm run test

Contributing 🤝

This project is open source and contributions are always welcome! 🙌

If you're excited about creating a great shopping experience and have ideas to improve Shop Center, feel free to fork the repo, open an issue, or submit a pull request! Together, we can make this project even better! 💪

License 📜

This project is licensed under the MIT License. See the LICENSE file for more details.


This version now includes Docker setup instructions and test running details. Let me know if you need any further adjustments!