Phase 1 Placeholder Portfolio
Completed
- Front end
- Github and Github workflow
- Internet connections
- Back end: fastAPI
EvaeXtra Tech Mentorship - Phase 1
Aspiring to be an excellent programmer and building evidence through projects, reflection and responsible AI-assisted learning
I have strong interests in engineering and a long-term ambition to become a robotic engineer.
I am particulary intrested in engineering and maufacturing environments, where I can contribute , learn frrom experinced professionals and continue to develop my technical abilities
Creating a GitHub account
To create a new reposirtory :
After that you need to get the repository link to the webpage and to do this you:
To do this you down load GitHyb desktop and you can clone all your repositories and connect between Github and Vscdoe.
When GitHub is fully installed and all the reposiroties are cloned you can open the current repository you are working on on VScode and make your changes and then go back to GitHub desktop and save those chnages by commiting to them and then pushing it to origin.
This will make changes to your reposirtry on your GitHub page and you can view the live page.
The web works by using these 3 terms:
| Term | Explanation | Example |
|---|---|---|
| DNS(Domain Name System) | Finds the IP address for a website name | google.com → 142.250... |
| HTTP/HTTPS(Hyper Text Transfer Protocol) | Rules for sending information between your browser and a website. HTTPS encrypts data between a web brower and a website | Opening https://google.com |
| JSON | It is an open standard file format and interchange that uses human readable texts to store and trnsmit data objects consisting of arrays and name value pairs. | { "id": 101, "name": "Jane Doe", "isActive": true, "roles": ["Admin", "User"], "contact": { "email": "jane.doe@example.com", "phone": "555-0199" } } |
| Browser | An app used to access websites. | Chrome, Safari, Edge |
| Server | A computer that stores websites and sends information to users. | A web server hosting a website |
| Request | A message your browser sends asking for something. | Asking for a webpage |
| Response | The information the server sends back. | The webpage being sent to your browser |
In this section i learnt how to use fast API and used it create some messages like the 404,200 and 500.
FastAPI is a modern, fast (high-performance) web framework for building APIs with Python based on standard Python type hints. It is one of the most popular tools for creating backend services, particularly for machine learning applications, data science, and microservices.
Quick FastAPI code looks like this:
When you run this code, it immediately sets up a web server and builds an interactive documentation page for you at http://127.0.0
They are sent by the web server in the HTTP header to tell your browser or app whether the web request was successful or if an error occurred. While the code itself lives in the header, developers often repeat it inside the JSON response body so the app can read it easily.
The 5 Categories of HTTP Status Codes:
Completed