Skip to content

UitsHabib/shop-on

Repository files navigation

PROJECT SETUP

Local Environment Setup

Environment Variables for Local Development

Create a .env file and adjust the following environment variables. DONOT include the file in the source control.

DB_NAME=<value>
DB_USER=<value>
DB_PASSWORD=<value>
COOKIE_SECRET=<value>
TOKEN_SECRET=<value>
PORT=<value>

Create a database in mysql of XAMPP, put the name on DB_NAME

NPM Scripts

$ yarn install          # install dependencies
$ yarn seed             # generate required database schemas
$ yarn start            # development build
$ yarn production       # production build
$ yarn test             # run unit tests
$ yarn sonarqube        # generate sonarqube analysis

API Documentation

Go to /api-docs for Swagger Documentation of the API.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published