For help and support open a topic in Discussions above.
This is the starter kit for the Todo exercises in "Building Web APIs with Python" which the following version available
- Kindle Edition: Get it here
This repository contains the starter kit for each exercise in a separate branch.
If you are unfamiliar with Git and GitHub, please read the instructions on usage below carefully and follow the steps.
Step 1: Login to GitHub and navigate to this repository
https://github.com/CloudBytesDotDev/todo-api-fastapi/
Step 2: Create a Fork of the repository by clicking on the fork button on top right side of the webpage as shown below
This will create a copy of the repository in your account.
Step 3: Clone this new repository in your account. To Copy the Git URL press on the Green "Code" button and then click on the clipboard icon as shown below
Or you can run the following command from your terminal with Git installed, replacing "" with our actual GitHub username
git clone https://github.com/<myUserName>/web-apis-with-python.git
From the terminal, run the below command to navigate to a particular branch, replace "" with the name of the branch (typically provided in the exercise)
git checkout <branch-name>
The "branch-name" should match exactly to the branch specified in the exercises.
You should also set the upstream (online) branch by running
git push --set-upstream origin <branch-name>
This involves 4 steps.
Step 1: Check the changes you have made by running
git status
This will highlight the files that been added, deleted or changed.
Step 2: Add the changes to the working tree
git add <file-name>
git status
will provide you will list of files, you will need to do this with each file that has been added or changed.
Step 3: Record and commit the changes
git commit -m "<What changes have you done?>"
Step 4: Push your changes to GitHub (origin)
git push
This requires the git push --set-upstream origin <branch-name>
completed as specified in section 2 above