Skip to content

This is a project to make a inventory of your bussines

Notifications You must be signed in to change notification settings

JuanFe12/stock_managament

Repository files navigation

stock-management

Typescript Badge Nodejs Badge

This is a inventory managament for yout bussines, you can add products, add suppliers, add clients and the clients can get debt and you can register, you can get a 360 view of your bussines

Prerequisites

Sometimes there are libs that are necessary to run the projects

Installing

Run this command to install all the dependencies of the project

npm install

For get the sql tables of the project you need to run this commands

NOTE: you have to change the name of the database in the file db/db.ts

This command is for genarte the migration in your repository

npm run generate

This command is for push the migration in your database and create the tables

node --loader ts.node/esm src/db/migrate.ts

Swagger Documentation

You can check the documentation of the api in this endpoint

http://localhost:3001/docs

Unit Tests

for run the unit test you can check the folder test for all the files, for run the test run this command:

npm run test

How To Deploy

this working soon

About

This is a project to make a inventory of your bussines

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published