jsparrow.uk

OnlyBays - Software Engineering Project
25 June 2022

OnlyBays - Software Engineering Project

OnlyBays is a parking management website that I worked on as part of the software engineering group project. There were two options given to us we could choose from - a study planner, and a UEA parking management system. Our group went with the parking management system, which we planned to build in NodeJS with a React or Vue frontend.

Concept

The system is made up of 5 components:

  • Users
  • Parking Spaces
  • Parking Areas
  • Bookings
  • Messages

Users will request to book a parking space (or more generally, a random space in a parking area, which is just a collection of parking spaces) for a specified duration. This booking request is then sent to the admin (who is a pre-registered user with special actions) who can approve or reject the parking request. Parking requests can only be made if there are no conflicts in the system - a user cannot request to park in space A at 15:00 if there is already an approved booking by another user for that time/space.

Notifications are sent via messages, which is just a simple messaging system. Users can manually send custom messages as well as the automatic ones generated by the system (such as when a parking request has been approved/rejected).

Development

The first half of the project was simply planning - we made an entire design doc for the system, with a bunch of different planning diagrams (a few of which that I made you can see below). After the Easter break, we started development.


MVC Diagram of the system

Development went mostly smoothly, although we didn’t quite keep with our original planned time scale, nor was the frontend completed. Nevertheless, we finished the project to an acceptable degree on time. I worked on the backend mostly, using Express and MongoDB with Mongoose to build out all the server side functionality. Here are some screenshots of the final version of the frontend:


Login Page


Register Page


Booking Page

You can find the github code here.