Description

The API uses Express and is a sales management system, where it will be possible to create, view, delete and update products and sales,the MSC architecture was used, the MySQL database for data management, and the API is RESTful. Unit tests were also done.

After downloading the project:

create an .env file to connect to your local MySQL database:

MYSQL_USER=yourUser
MYSQL_PASSWORD=yourPass
MYSQL_HOST=yourHost
JWT_SECRET=yourSecretPass
PORT=3000

Then:

npm i
npm start