Skip to content

WM5| Abdullah(Behrouz) Karimi | DataBase-E-Commerce-API | WEEK3 #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
084ecdf
set up db and app.js file
bkarimii May 13, 2024
caaf7a3
unit test for search product , end point for search , tests are failing
bkarimii May 13, 2024
0670d3f
gitignore done
bkarimii May 13, 2024
f68fe0e
second unit test created and passed for search items
bkarimii May 13, 2024
024a222
test cases for query param and all items passed
bkarimii May 14, 2024
e58240b
want to view a single customer by their ID , tests passed
bkarimii May 14, 2024
7c93cab
test wriiten for I want to create a new customer with their name, ad…
bkarimii May 14, 2024
5175fb2
post endpoint created to add a new customer
bkarimii May 14, 2024
1effecf
I want to create a new customer with their name, address, city, and c…
bkarimii May 14, 2024
210340b
should create a new product. tests passed
bkarimii May 14, 2024
5712b2f
should create a new product availability with a price and supplier ID…
bkarimii May 15, 2024
19d4f11
tests done
bkarimii May 16, 2024
a89e602
endpoint to craate a new order for an existence customer doen
bkarimii May 16, 2024
77978b5
tests passed
bkarimii May 16, 2024
e073b44
adding check for a valid date format
bkarimii May 16, 2024
7dcbba1
adding test for a proper date format
bkarimii May 16, 2024
4889f44
tests passed for updat details
bkarimii May 16, 2024
ed1f4a1
tests added for deleteion an order
bkarimii May 16, 2024
580cdc1
Endpoint `/orders/:orderId` should delete an existing order and all a…
bkarimii May 16, 2024
eee2df2
new test added for an improper id format
bkarimii May 16, 2024
91b71aa
tests passed for delete an order
bkarimii May 16, 2024
6803885
test to delete a customer without order created
bkarimii May 16, 2024
3415159
delete endpoint to remove a customer from db if they dont have an ord…
bkarimii May 16, 2024
ad06e0a
tests passed for deletion a customer
bkarimii May 16, 2024
7e1bd70
should load all the orders along with the items in the orders of a s…
bkarimii May 16, 2024
c0324c6
fix bugs , tests passed
bkarimii May 16, 2024
2e3d123
set up dotenv file and remove redundancies
bkarimii May 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@

E-Commerce-API/node_modules/
E-Commerce-API/.env
8 changes: 0 additions & 8 deletions E-Commerce-API/.env.example

This file was deleted.

Loading