Why Programming is Worth it
Barely Coding with Daniel Bark
7 years ago i decided to switch careers and go into programming.
However i did have 2 big worries:
- Will I lose interest in programming and when?
- Am i even capable of learning this very tricky way of thinking?
Since then it's been 7 years of work and over a hundred hobby project. For me the answer is very clear. It ended up being the best work related decision i ever made. Now i will show you my latest hobby project and i hope it will leave you inspired to keep learning programming or even pick it up for the first time.
My latest hobby project is built to simplify my daily life in terms of using the public transport system of Gothenburg. I have built my own Progressive web app talking to the public transport API where i have aggregated together multiple requests into a single list of transport options saving me lots of time and frustration daily. The tech stack is Next.js together with react-query. React query helps with requests depending on other queries like a query to get an api auth token and to aggregate many queries into one resulting array by using the useQueries hook.
Tiktok: https://www.tiktok.com/@barelycoding Twitter: https://twitter.com/BarelyDaniel Github: https://github.com/danba340
0:00 Why programming is worth it 0:37 Problem description 1:48 Commuting frustrations 3:22 Figuring out API Access 5:46 Config file for App 6:50 Route info Next.js API endpoint 8:37 Consuming route info with react-query 10:07 Styling from response payload 11:30 Progressive web app 11:55 Running the app 12:50 Can i regain my development time? 14:05 Thanks for watching! ... https://www.youtube.com/watch?v=1bMP4armEtc
111168200 Bytes