Skip to content

mdekabs/sylessentialz-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

Sylessentialz E-Commerce API

This is a RESTful API for managing an e-commerce platform. It includes functionalities for user authentication, product management, order processing, and more.

Table of Contents

Installation

  1. Clone the repository:

    git clone https:/yourusername/sylessentialz-ecommerce.git
    cd sylessentialz-ecommerce
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env file in the root directory and add your environment variables as needed (e.g., database connection strings, JWT secret).

    Example .env file:

    PORT=5000
    DB_CONNECTION_STRING=mongodb://localhost:27017/sylessentialz
    JWT_SECRET=your_jwt_secret
    ELASTICSEARCH_HOST=localhost:9200
  4. Start the server:

    npm start

Usage

Swagger Documentation

You can access the API documentation and interact with the API using Swagger UI at http://localhost:5000/api-docs and query the routes see how it works.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published