Full-stack mobile app · Portfolio project
CampusFlow
A campus management app for Northbridge University, a fictional university. Students book facilities, pay fees, report repairs, register visitors and follow campus news. Administrators run the same services from an admin console in the same app.



- App modules
- 7
- API endpoints
- 56
- Roles: student and admin
- 2
Seven modules, one app
Each module has a student side and an admin side. The API decides who can do what.
Facility management
Browse, search and filter campus spaces by category or availability, with opening hours, capacity and hourly rate. Admins create, edit and delete facilities with photos.
Reservation management
Pick a day and a free time slot and request a booking. Admins approve or reject it with a reason, and mark it completed.
Staff management
A staff directory with search and a department filter. Admins add, edit and remove staff, with photos.
Payment managementSimulated
Balances, payment history and a simulated checkout. An approved paid booking is billed automatically. No card details are collected and no money moves.
Maintenance and complaints
Report a problem with up to three photos and follow its status history. Admins assign staff, set status and priority, and reply.
Visitor management
Register a visitor and get a pass code. Admins approve or reject, look the pass up at the gate, and check visitors in and out.
News and events
A searchable feed of news and upcoming or past events. Admins publish, edit, unpublish and delete posts with a cover photo.
Screens
Screens from the web build at phone size (390 × 844) and desktop size (1440 × 900), using the fictional sample data. Select a screen to see it full size.
How it is built
A React Native client talks to a typed REST API over HTTPS, with a JWT on every request.
Roles enforced by the API
Middleware checks the token and the role on every protected route, and controllers check ownership. The role and active status are read from the database on each request, not trusted from the token.
Booking rules on the server
A booking is checked against existing bookings, opening hours and capacity. Admin approval checks for conflicts again.
Tokens that can be revoked
Each JWT carries the account's token version. Signing out or changing the password raises it, so every earlier token stops working. On phones the token is kept in the device keychain or keystore.
Image uploads
Multer accepts images only, up to 5 MB and four files per request, and the API stores them on Cloudinary. The Cloudinary secret stays on the server.
A layered, validated API
Routes, controllers, services and Mongoose models are kept apart. Every request body is validated, and errors come back per field, so the app shows them under the matching input.
Tested business rules
API tests run against a temporary in-memory MongoDB and cover sign-in, role checks and each module's rules, such as booking conflicts, billing, visitor check-in and news visibility.
Android app
Not available yet
There is no Android download yet. A release build of CampusFlow only talks to a hosted HTTPS API, and the API has not been deployed. It has been run and tested locally against MongoDB Atlas and Cloudinary. An APK built today would stop at the sign-in screen, so none is offered here.
Try it now
The code, setup steps and API documentation are on GitHub. With the API running on your computer, the Expo app connects to it from your phone on the same network.
Getting started on GitHub (opens in a new tab)
CampusFlow is a portfolio demonstration project. Northbridge University and every person, building and record in the sample data are invented, and payments are simulated.








