-
Notifications
You must be signed in to change notification settings - Fork 3
Frontend
A local instance may be deployed either
- On the host machine using
npm, or - Using
docker-compose.
-
install npm:
> npm install npm@latest -g -
install dependencies:
> cd frontend > npm install
-
start the app:
> npm start
Only important files and relevant directories are shown below.
frontend
├── public # All public-facing assets/files
│ ├── index.html
├── contexts
│ ├── UserContext.tsx
├── components
│ ├── index.tsx
│ ├── utils.tsx
├── pages
│ ├── Admin
│ ├── Calendar
│ ├── CreateBooking
│ ├── Dashboard
│ ├── Group
│ ├── NotFound
│ └── Settings
│ ├── Webhooks
├── layouts
│ ├── ErrorPage.tsx
│ ├── SubPage.tsx
├── theme
├── axios.ts
└── App.tsx # Starting point of the client
Each component is documented using the JSDoc Standard, which allows compatibility with VS Code Intellisense. To learn more about each component, please refer to the components folder and view the JSDoc written in each file.
View the original Figma mockup






Upon being recognized as a student, relevant booking information and user information is retrieved. Students are given the base permissions as shown in the flowchart above.
Upon being recognized as an approver, active request information and user information is retrieved. Approvers are given the base permissions plus permissions to approve/deny requests, as shown in the flowchart above.





