This is the MySQL database of Easy Tidy Business App. This database contains certain tables and views which will be accessed by the easyTidyB-API app.
This DB objective is to be accessed by an API whose code is on the easyTidyB-API repository: And the API objective is to be accessed by a frontend whose code is on the easyTidyB-Frontend repository:
- Open the terminal
git clone https://github.com/fabiosaac12/easyTidyB-API
--> to clone the repositorycd easyTidyB-API
--> to move to the generated foldermysql -u [user] --password=[password]
create database etb;
--> to create the databaseuse etb;
--> to select the database previusly createdsource mainTables.sql
--> to create the tables:users
,suppliers
,orders
,products
,clients
,sales
source mainViews.sql
--> to create the views:productsView
,ordersView
,suppliersView
,salesView
,groupedSalesView
,groupedProductsView
,clientsView
source selectViews.sql
--> to create the views:ordersSuppliersSelectView
,productsOrdersSelectView
,salesProductsSelectView
,salesClientsSelectView
source graphViews.sql
--> to create the views:daySalesGraph
,clientsGraph
,ordersGraph