Skip to content

Latest commit

 

History

History
82 lines (60 loc) · 1.26 KB

README.md

File metadata and controls

82 lines (60 loc) · 1.26 KB

TechLand Backend

The backend of my e-commerce webapp techland where you can buy fake computer components. This was my submission for MongoDB Atlas Hackathon 2022.

Techstack

  • Node.js
  • Express.js
  • MongoDB

Features

  • list products

    • pagination
    • filter by price range
    • sort by price
    • filter by brands
    • filter by category
    • find similar
    • filter by features (e.g., RAM capacity >= 16GB)
  • search products

    • search within a category
    • search within a brand
    • pagination
    • sort by price
    • autocompletion
  • users

    • sign up
    • login
    • reset password
    • place order
      • payment handling
    • post question
    • post review
  • employees

    • sign up
    • login
    • reset password
    • answer users' questions
    • manage orders
    • manage users
  • products

    • add
      • upload images
    • edit
    • update
    • delete
  • notifications

  • logging

Development

# build
npm run build

# start in cluster mode
npm start

# start a single process (run build before starting)
npm run start:single

# test
npm test

# test in watch mode
npm run test:watch

# test coverage
npm run test:coverage