Bangazon Corp API - Chicken Sloths Sprint 1 - NSS Day Cohort 23
Welcome to the bangazon-api-sprint1 wiki!
More information can be found on the Bangazon Wiki.
Helpful Contributing Documentation
npm install
The initial version is for internal consumption only, so it does not require permissions to access, or manipulate, any resources.
As you progress through the project, your manager will discuss some of these topics with you.
To build the API, you will need a database for it to read from and write to, with customer information, payment data, a collection of products, and a record of customer orders.
Start with a robust ERD that clearly establishes the relationships between your tables, and populate each entity with the rows needed to organize your data efficiently. Only then should you move on to creating your tables in a SQLite document.
Use SQLite and the sqlite3 module to create your tables. These tables are required:
customers This table will store the following information
payment_options This table will contain the following information
products This table will store the following information
orders This table will store the following information
order_line_items This table will store the following information
Plan to leave enough time to test drive your db with as many queries as you can. Soon we will dive into writing tests that confirm that we can read and write to our databases properly. For now, just write out a series of queries like the ones you worked through in the previous exercises and use the DB Browser app to put your tables through their paces.