Skip to content

mtnaskari/shop-api

Repository files navigation

Shop API

License Node.js npm

Description

Shop API is a RESTful API that provides endpoints for managing shops. It allows users to perform operations such as creating, updating, and retrieving shop data.

Features

  • Register user
  • Login user
  • Get List of all products
  • ...

Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • TypeScript
  • JWT

Installation

  1. Clone the repository:

    git clone git@github.com:mtnaskari/shop-api.git
  2. Navigate to the project directory:

    cd shop-api
  3. Install the dependencies:

    npm install
  4. Set up the environment variables by creating a .env file in the project root directory. You can use the .env.example file as a template and then run the check env command.

    npm run check:env
  5. To seed the database with categories and products, you can use the following command.

    npm run seed:all
  6. Start the development server:

    npm run start:dev

Documentation

The API documentation is available in the

Run in Postman

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors