Important:

Your repository must be named hbtn_col_assestment_test, and it must be a new repository, not a folder inside previous repositories. This repository needs to be public, and it's the one you'll be sharing with CodeInspector. You must use your Holberton's email for the CodeInspector account.

Please fill out the following form.


Google Forms - create and analyze surveys, for free.

The BackEnd

Build an app that handles the process of creating an order for a retailer company. This app consist of a series of endpoints, the information is as follows.

We have 4 separate entities that connect to each other: users, orders, shipping, and payments, each one has to save information about the domain of each table.

Gov_Id stands for Government Issued ID (Passport, National ID, etc), txn_id stands for transaction ID (unique id of each payment)

Gov_Id stands for Government Issued ID (Passport, National ID, etc), txn_id stands for transaction ID (unique id of each payment)

The above description does not include relations or conditionals between tables, you have to design the database yourself. You should use MySQL for your database.

The required outgoing end points are (well, just two single endpoint "orders" and "users" with multiple options and the login endpoint to get the login token):

login here you send username and password in order to obtain a token to keep working with the other endpoint.

orders/#orderid - pass the order ID and get the formatted JSON with the required information.

orders/[order_ids] - pass multiple order IDs in string format, separated by comma (,) and return the info of those orders.

orders/date-start - date-end - pass two dates and return the ids of the orders between those dates

orders/shipping/{key=string} return all orders with the given key (city, state, country) and string as value.

orders/user_id return orders from that specific user.

users/all list all users basic info

users/user_id list the user info from the given user id