Skip to content

eokwukwe/ecommerce-shop-api

Repository files navigation

Build Status Maintainability Test Coverage

ecommerce-shop-api

Getting started

Prerequisites

In order to install and run this project locally, you would need to have the following installed on you local machine.

Installation

  • Clone this repository

  • Navigate to the project directory

  • Run npm install or yarn to instal the projects dependencies

  • create a .env file and copy the contents of the .env.sample file into it and supply the values for each variable

cp .env.sample .env
  • Create a MySQL database and run the sql file in the database directory to migrate the database
mysql -u <dbuser> -D <databasename> -p < ./src/database/database.sql
  • Start the redis server

  • Run npm run dev to start the app in development

  • Run npm test to test the app in development

About

API for an eCommerce shop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages