Djenga banner

Djenga

3 devlogs
6h 49m 13s

Very simple blogging platform built with Django and SQLite. You can sign in with Google to create an account to create, edit, or delete your own posts and view other people’s posts!

Repository

Loading README...

Tony Hsu

Added edit and delete so you can now manage your blog posts better with these super basic CRUD operations! The edit/delete buttons only show up on blog posts you created and take you to a different route if you’re editing the post. Had to reconfigure some forms and models to make this work smoothly, but everything was pretty simple because it’s Django and Python. Also improved layout and routing for profile management and navigating the app. Added Google OAuth so people can now actually easily sign in to use the app and create posts! Also reconfigured some git and github repo stuff and updated styling.

0
Tony Hsu

Added profiles, foreign keys, new blog post fields, and other account related stuff to the app! Since SQLite is a relational database, I just had to set up a profile model and get the foreign key to match to easily display all the blog posts a user created and who created which blog post. You can also click on the top right button once you’re logged in to see your profile, where you can see all your blog posts, log out, or delete your account entirely. Also added some styling but because this is just a learning/practice project I didn’t spent too much time on the layout or styling so it might be a bit buns. But other than that my blog app is now basically finished, you can create accounts and blog posts, view them, and do different things with the account. CRUD stuff for blog posts coming soon!

0
Tony Hsu

Sorry guys I was busy again this past week with school and other stuff but it’s finally spring break and I got 10 whole days to grind Flavortown! I’m starting this small, very simple blogging app as a learning project for the Python fullstack web framework Django, as well as the basic database SQLite and the Python ecosystem. As someone who’s used JS/TS and its ecosystem for more than 3 years, I genuinely don’t really like Django or the Python ecosystem, but I’m still building this to improve and expand my tech skill stack and experience. I spent a ton of time configuring the environment, getting familiar with Python and Django’s (weird) folder structure and conventions, learning the essential commands and concepts, and implementing different views, routes, and templates to make the app functional. Integrated forms and models to directly save blog posts to the SQLite database thanks to Django’s convenient architecture. Also added styling with Tailwind cdn and the basic page layout for the app.

0