Skip to content

SwapnilMk/EcommerceWebApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping App

E-commerce website built with Node.js, Express, and MongoDB.

Prerequisites

  • Node.js (>= 22.0.0)
  • MongoDB
  • Redis
  • AWS Account (S3, SES, SNS)

Setup

  1. Clone the repository
  2. Run npm install
  3. Create a .env file with the required variables (see .env example)
  4. Run npm run dev for development or npm start for production

Scripts

  • npm start: Run in production
  • npm run dev: Run with nodemon
  • npm test: Run tests with Jest
  • npm run lint: Lint code with ESLint
  • npm run format: Format code with Prettier

Docker

  • Build and run: docker-compose up --build

License

This project is licensed under the MIT License - see the LICENSE file for details.