Session 2
Backend
July 18th, 1pm NL Time
1:00 - 10m - Deliverables
1:10 - 10m - HTML & CSS
- What are HTML tags?
- Proper page structure 'skeleton'
- HTML Tags,
<p>
,<img>
,<input>
,<ul>
/<ol>
- Adding a stylesheet
1:20 - 15m - Templates
- Recap on adding templates
- What we're going to build; super simplistic portfolio page
- Passing arguments to templates
- Iterating over lists within templates
- Conditional statements within templates
- Template inheritance for deduplication
1:35 - 15m - APIs
- Installing the requests library
- Inspecting the GitHub API
- Using requests to store the data inside our application
- Inserting data thats not on GitHub
- Building the template required to render the data for the projects page
1:50 - 15m - Forms / Contact Page
- Using Formspree to create a URL for you
- Building the contact template
- Testing it out
- Install the decouple library so we don't have to include the Formspree URL in our code
2:05 - 20m - Introduction SQLite
- Installing the sqlite3 library
- Show the reactions example on the example portfolio page
- Create a simple database with a single table
- Add some things to it
- Query those things
- Delete some things
- Build some basic routes to do the above things