In Project 1, you will build a substantial real-world database application of your choice. This project is split into three parts:
- Part 1: come up with a web application and design the database on paper using ER-modeling.
- Part 2: implement your database by translating your model into a database schema and example data.
- Part 3: implement an application that accesses and modifies your database.
Pick an application that you will enjoy working with, because you will be working on it for a substantial part of the semester! A suggestion is that you build a database about something that you are interested in -- a hobby, a favorite web site, material from another course, a research project, etc.
It's nice if you pick an application where you can populate your database using real data, although it is not necessary. As the project progresses, you'll end up creating a database of at least dozens of entities/relationships. If you can get real data to populate your database, it does help a bit, but again it is not needed.
- 9/14: Find team-mate in class or on Piazza to find one.
- 9/21-28: Meet with course staff to discuss your application and design. This is a required meeting.
- 10/3: Submit Part 1
- 10/17: Submit Part 2
- 11/14: Submit Part 3
Note: you can only use late days for the project description submisson, not for finding a teammate nor for meeting with the staff. Please read the Project Lateness Policy carefully.
We strongly suggest you use the following approach when you encounter bugs. This is basically what professional software engineers and data scientists do:
- Use Google or StackOverflow by searching for the error message (the Internet is your friend!)
- Look for previous answers on Piazza
- Ask on Piazza including:
- what you're trying to do
- describe the approach you took
- the error message
- what solutions you've tried
- Ask the staff
You will carry out this project in teams of two. If you can't find a team-mate, please follow these steps:
- Post on Piazza asking for a team mate - the best way.
- Send email to Qi right away (and definitely before Fri Sep 16th at 5 PM) asking her to pair you up with another student without a team-mate. This is not recommended because you will be randomly assigned a team mate.
- You do not need to notify us of your team composition. Instead, when you submit the first part of your project, please write the name and UNI of both members.
- See Part 1 for a contingency plan to protect yourself in case your teammate drops the class.
- If you decide to drop the class, or are even remotely considering doing so, please be considerate and notify your team-mate immediately.
- Do not wait until the day before the deadline to start working on the project, only to realize that your team-mate has dropped the class or moved to another planet. It is your responsibility to start working on the project and spot any problems early.
- Please check the Collaboration Policy web page for important information of what kinds of collaboration are allowed for projects.
We ask you to use cloud-based technologies for the projects, we will give instructions on how to set up later, you don't need it for part 1. You can work on the project using your own machine, or some other environment. However, the course staff can only support the enviroment we are providing.
One drawback of using a cloud computing platform is that it is difficult to open GUI text editors such as Sublime Text to write your code. We recommend setting up a version control system for your project, such as git on GitHub, so your team can share code. This way, you can code on your desktop, commit your changes, and pull the updated changes on your cloud virtual machine.
We will use the Flask Python webserver in this course. It is a lightweight webserver that requires a minimal amount of understanding of how the webserver framework is implemented.
We strongly recommend reading the following documentations:
- General Flask Documentation
- Jinja Templates: this makes it easy to send data (e.g., arrays, dictionaries) to your HTML code and dynamically render them.
If you would like to use Columbia's unix machines for this course, you will need a CS account. You can open one from on the CRF webpage: and choose the appropriate "student" category as the account type
There is a $50 charge to open a CS account. Please refer to CRF's homepage for details on infrastructure and policies of the CS department.