Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.33 KB

README.md

File metadata and controls

65 lines (45 loc) · 1.33 KB

E-Commerce Site

E-Commerce Site is a comprehensive online shopping platform developed using NestJS and MongoDB. It features a robust backend architecture for managing products, orders, and user accounts, providing a scalable and secure solution. With capabilities for product listings, user authentication, and order processing, this platform is designed to deliver a seamless and efficient shopping experience.

Getting Started

  1. Clone the Repository

    git clone https://github.com/solo21-12/e-commerce-site-nest-js.git
    cd e-commerce-site-nest-js
  2. Install Dependencies

    npm install
  3. Configure Environment

    Create a .env file with:

    MONGODB_PASSWORD=
    MONGODB_DATABASE_NAME
    JWT_SECRET
    MONGODB_URL
    SESSION_KEY
    CLIENT_URL
    CLOUDINARY_API_KEY
    CLOUDINARY_API_SECRET
    CLOUDINARY_NAME
  4. Run the Application

    For development:

    npm run start:dev

    For production:

    npm run build
    npm run start:prod
  5. Run Tests

    npm run test

Documentation

For detailed API documentation, visit Postman Documentation.

Contributing

  1. Fork the repo.
  2. Create a branch for your changes.
  3. Submit a pull request.