Academic Integrity
Permitted activities: Usage of Internet to search for syntax only; usage of course materials.
Not permitted:
Problem Description
In this assessment, you will build a web application for a fitness gym. Here are the business requirements for the fitness gym.
1. The gym offers fitness classes. Customers can book a class and pay.
2. The price of a single class is $25.
3. The fitness gym offers a monthly membership plan. Users who sign-up for the monthly plan are charged a flat rate for classes of $75. Users who do not signup for the monthly plan must pay for each class individually
User Interface
The user interface of the website consists of these pages;.
1. Schedule of classes page → displays a list of classes and enables user to book a class
2. Cart page → a checkout page that displays the user’s shopping cart and checkout information
3. Login page → user can create an account or login using this page
Server Side
The server side of the application consists of all the logic to:
1. Define endpoints and manage the request-response cycle from a client
2. Interact with a MongoDb database
3. Control access to endpoints using authorization. Note the following access control rules:
| Page | Access |
| Schedule Page | All users can view, but only logged in users can book a class |
| Cart Page | Only logged in users can view this page. |
| Login Page | Any user can view - no login required |
MongoDB Database
The database must have the following collections. Ensure you follow this database design:
1. Users collection:
2. Classes collection: Stores the classes offered by the gym
3. Payments collection: The payments made by the website’s customers.
4. Cart collection: Stores the items in the currently logged in user’s cart
SHN6023 : Mental Health, Resilience and Recovery Across the Life-course – Case Study Assignment
Read MoreBUS6009 : International Business Management – Written Case Report
Read MoreBUS6018 : PROJECT MANAGEMENT – PROJECT PLAN
Read MoreHCM4003 : Communication and Interprofessional Collaboration – Podcast
Read MoreQHO335 : Business Project – Critical evaluation of an organisation’s response during the cost-of-living crisis in the UK
Read MorePRM7006 : Management of Traditional Projects – PID Assignment
Read MoreBMA5108-20H : International Business – Strategic Evaluation
Read MoreCA5055 : Airline Revenue and Pricing Management – REPORT
Read MoreCA5056 Aviation Psychology and Human Factors Assignment brief
Read MoreHow can i assist with youGBEN5006 : Intrapreneurial Development – Portfolio
Read More