DEV Community

Cover image for DEV Nursery
Harsh Mangalam
Harsh Mangalam

Posted on

DEV Nursery

Overview of My Submission

E-Commerce plants nursery api project using Nodejs, Mongodb, expressjs server and mongoose ODM.

Submission Category:

E-Commerce

Link to Code

GitHub logo harshmangalam / dev-nursery-server

Dev Nursery server in mongosb

DEV Nursery

DEV Community and MongoDB hackathon project

Tech Stack

  • NodeJs
  • ExpressJs
  • Mongodb
  • Mongoose

Features

Authentication

  • Login using email and password.
  • JWT and cookies based authentication.
  • Roles based authentication for customer and admin.
  • Signup
  • Login

Users

  • Fetch user lists
  • Fetch user details
  • Fetch current user detail
  • Change password
  • Update profile
  • Change user role
  • Fetch user order lists

Collection

  • Fetch collection lists
  • Fetch collection details
  • Create new collection
  • Update collection
  • Delete Collection

Plant

  • Fetch plant lists
  • Fetch plant details
  • Create new plant
  • Update plant
  • Delete plant
  • Add Review and Rating on plant
  • Remove Review and Rating from plant
  • Fetch plant review lists

Order

  • Fetch order lists
  • Fetch order details
  • Place new order
  • Update order

Cart

  • Create new cart
  • Fetch cart details
  • Update cart
  • Remove cart

API

Server URL Description
DEV Server http://localhost:4000 Development srver
PROD Server https://dev-nursery.herokuapp.com/ Heroku production server



Additional Resources / Info

Features

Authentication

  • Login using email and password.
  • JWT and cookies based authentication.
  • Roles based authentication for customer and admin.
  • Signup
  • Login

Users

  • Fetch user lists
  • Fetch user details
  • Fetch current user detail
  • Change password
  • Update profile
  • Change user role
  • Fetch user order lists

Collection

  • Fetch collection lists
  • Fetch collection details
  • Create new collection
  • Update collection
  • Delete Collection

Plant

  • Fetch plant lists
  • Fetch plant details
  • Create new plant
  • Update plant
  • Delete plant
  • Add Review and Rating on plant
  • Remove Review and Rating from plant
  • Fetch plant review lists

Order

  • Fetch order lists
  • Fetch order details
  • Place new order
  • Update order

Cart

  • Create new cart
  • Fetch cart details
  • Update cart
  • Remove cart

API

Server URL Description
DEV Server http://localhost:4000 Development srver
PROD Server https://dev-nursery.herokuapp.com/ Heroku production server

Top comments (0)