Deploy: CoffeeLabs
You need to be using:
Clone the repository & install dependencies:
git clone git@github.com:7-18/coffeelabs.git
cd coffeelabs
npm install
npm run start
go to http://localhost:4000/api/v1/docs
- Create, update and delete products, pay methods and clasifications.
- Add sales.
- Manage your inventory, see stock available and total sales.
- See all the data.
{
"_id": "650d055db8b6303337f3906a",
"name": "Ground Coffee",
"description": "Freshly ground coffee beans",
"stock": 100,
"price": 12.99,
"classification_id": "5e7c56c4719a504b9f40e4e1",
"register_at": "2023-09-22T03:09:17.838+00:00",
"update_at": "2023-09-22T13:45:02.838+00:00"
}
{
"_id": "5e7c56c4719a504b9f40e4e1",
"name": "Coffee Beans",
"register_at": "2023-09-22T03:09:17.838+00:00",
"update_at": "2023-09-22T13:45:02.838+00:00"
}
{
"_id": "5e7c56c4719a504b9f40e4e2",
"product_id": "650d055db8b6303337f3906a",
"paymethod_id": "650d055db8b6303337f3906a",
"quantity": 3,
"sale_at": "2023-09-22T09:15:42.123+00:00"
}
The env_example file is a guide of what your private .env file should look like.