Backend of an e-commerce project to add new products, search products, paginate, add/edit quantity/delete products from cart.
Get all products - https://e-bazaar-backend.vercel.app/products/all-products
Get all cart items - https://e-bazaar-backend.vercel.app/cart/all-cartItems
Nest.js with TypeScript
MongoDB
Next.js with TypeScript (for frontend)
TailwindCSS (for frontend)
First you'll need to clone this project by running
git clone https://github.com/ArshadChowdhury/e-bazaar-backend.git
then change directory to e-bazaar-backend
folder then run
$ npm install
# or
$ yarn install
and then run the development server by running
# development
$ npm run start
# or
$ yarn start
# watch mode
$ npm run start:dev
# or
$ yarn start:dev
You'll also need an env file, contact me on social media for that.
Then open http://localhost:3000 with your browser and go to any of the live api get routes above to see the result.