A simple booking system (version 1.0) in ruby on rails

Firstly, you may wonder why I created this simple booking system. It was an interview question and required me to build it in 40 minutes. In fact, it took me much longer time to create this simple booking system, as it provides much “better” functionalities and user interface. 🙂

This simple booking system (version 1.0) allows users (i.e. patients) to create a profile and book/cancel an appointment with a surgeon. On the other hand, the surgeon can also create a profile and view/cancel whom makes an appointment with her/him. The surgeon can book/cancel an appointment with himself/herself. This may sound strange, but the idea is to allow the surgeon to have some flexibility.

You can download the source code and the SQL file below. What you need to do is to extract the booking system (in .tgz format) into your localhost or server, then import the SQL file into MYSQL database. You may wonder doesn’t rails supports migration and running rake db:migrate should insert the data structure and data automatically. That is because something were missing or broken during the entire migration process, during my development. Well, it is my bad!

There are lots of places can be improved. For example, an administration back end needs to be built, so surgeons and users can be managed easily.

You can download it and do whatever you want. Suggestions are always welcome!

2 thoughts on “A simple booking system (version 1.0) in ruby on rails

  1. Hello! I’m newbie in Internet, can you give me some useful links? I know only about Yahoo Yahoo http://yahoo.com Yahoo

Leave a comment