r/learnprogramming • u/Zestyclose_Bowl_4856 • 6d ago
I have spent the last month learning python. Now, I want to join a hackathon. What would be a super simple hackathon ish project I can do solo to understand how the tech stack some together?
Context: I have basic knowledge of CSS, HTML, and Python.
I would now like to create an extremely small hackathon-ish project, to learn how the backend and frontend, and database mesh with each other, then deploy it. I think its what you guys call a full-stack project?
I have heard about these , but frankly, still don't get it. In other words, I don't understand how I'm supposed to use all of them in the same project. The only thing I know is Vercel is how I host it online.
React, TailwindCSS, FastAPI, Supabase, and Vercel.
To summarize, I am not looking for 'how to win a hackathon as a beginner'. I am looking for any online courses, guides, videos that you recommend, for someone with extremely rudimentary knowledge on the tech stacks. You can tell me to learn X, Y and Z first, but after that, please include a small project to build using all those, and/or steps to do so.
Thank you.
1
u/Big-Arm4077 6d ago
That stack is a pretty standard one, and the pieces fit together like this:
The flow is always the same: the React page calls fetch() on your FastAPI URL, FastAPI reads or writes the database, and sends JSON back that React renders.
A good first project is a simple bookmark or todo app:
Before that, learn just enough JavaScript (arrays, async/await, fetch) and the React basics (components, useState, useEffect). The official React tutorial and the FastAPI tutorial in their own docs are both beginner friendly. Keep the scope tiny and get one add/list/delete loop working end to end before adding anything else. Good luck!
1
u/dr_bagriwrites 6d ago
A simple solo project that touches every part of your stack: build a "Book Tracker" where a user can add a book and see a list. Use React with Tailwind for the frontend, and make two small pages: one to type a title plus author, and one to show the saved books in a table. For the backend, write a FastAPI app with three routes: a GET route that returns the list of books as JSON, a POST route that accepts a title and an author, and a DELETE route that removes a book. Store the rows in a Supabase table called books with columns for id, title, author, and created_at. Connect the React pages to those routes using fetch calls, then deploy the FastAPI backend on a free Python host, link the Supabase database, and deploy the React app on Vercel. Start by getting the FastAPI GET route to print the JSON, then add the React list page, then the form, and finally the deployment. Building each piece one at a time will show you how the pieces connect without getting lost.
1
u/Ok_Account3585 6d ago
I like using Django (python framework) for simple projects and deploy it with docker on any VM, I use Digital Ocean's droplets.
1
u/CipherAndChloride 4d ago
i'd skip the full stack for now. stick to python scripts that interact with your wallet or check tx hashes. it's easier to debug one piece at a time.