DEV Community

Cover image for CS50 Web - Project 2
Ivy Chen
Ivy Chen

Posted on

CS50 Web - Project 2

Image description
Second project with Django down ✅ This time around, I was tasked with building an auctions site where users could create listings, close listings, add to watchlist, bid on listings, and add comments, which was definitely a handful. I was initially pretty doubtful whether or not I'd be able to complete this since I've never done a full stack project with so many functionalities before, but I did it so yay.

Working with views.py in Django has taught me the importance of separating functionalities, the more distinct the better. For example, originally I had the bidding functionality and the displaying bids both in the same function, but then after I separated them, Django got more clear on what each of them is supposed to do. One thing for one function at a time.

I also learned more about databases from Django models and what foreign key, one-to-one relationship, and many-to-many relationship means.

I'm really liking how hands-off these CS50 projects are so far. They don't tell you how to do something but give you what you need to do, which almost mimics real life.

You can check out the demo of the working app here

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay