Skip to content

wemart is an online market place for young entrepreneurs. this is the official backend repository

License

Notifications You must be signed in to change notification settings

FemiOluwadamilola/wemart-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wemart

Introduction

wemart is a digital shopping mall (multivendor e-commerce platform), that let vendors (entrepreneurs) create there own e-commerce store.

wemart Features

  • Private store front domain previlage.
  • Vendor Store SEO.
  • Real-time and manuel shipping calculations.
  • vendor account balance, sales reports and statistics.
  • Flexible Products approval system.
  • Advanced vendor Payout system
  • Vendor debt payout.
  • social media platform integration.
  • Mail marketing.

Installation Guide

  • Clone this repository [here] (https://github.com/FemiOluwadamilola/wemart.git).
  • Create a new project branch e.g wemart-feature/newFeature.
  • Run npm install to install all dependencies
  • You can either work with the default mongodb atlas database or use your locally installed MongoDB. Do configure to your choice in the application entry file.

Usage

  • Run npm start:dev to start the application.
  • Connect to the API using port 5000.

API Endpoints

HTTP Verbs Endpoints Action
POST /api/vendors/signup To sign up a new user account
POST /api/vendors/login To login an existing user account
PUT /api/vendors/store To setup vendor store front
POST /api/vendors To upload a new product
GET /api/vendors To get vendor admin dashboard
GET /api/vendors/:productId To retrieve details of a single product
PATCH /api/vendors/:productId To edit the details of a single product
DELETE /api/vendors/:productId To delete a single product

Technologies Used

  • NodeJS This is a cross-platform runtime environment built on Chrome's V8 JavaScript engine used in running JavaScript codes on the server. It allows for installation and managing of dependencies and communication with databases.
  • ExpressJS This is a NodeJS web application framework.
  • MongoDB This is a free open source NOSQL document database with scalability and flexibility. Data are stored in flexible JSON-like documents.
  • Mongoose ODM This makes it easy to write MongoDB validation by providing a straight-forward, schema-based solution to model to application data.

Authors

About

wemart is an online market place for young entrepreneurs. this is the official backend repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published