Skip to content

Commit 9f8cde4

Browse files
Austin-Xgithub-actions[bot]
authored andcommitted
Auto-formatted the code using Prettier
1 parent fccb706 commit 9f8cde4

File tree

7 files changed

+22
-16
lines changed

7 files changed

+22
-16
lines changed

course-matrix/backend/src/controllers/departmentsController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default {
3030
res.status(200).json(departments);
3131
} catch (error) {
3232
console.error(error);
33-
res.status(500).json({message: 'Internal Server Error'});
33+
res.status(500).json({ message: "Internal Server Error" });
3434
}
3535
}),
36-
}
36+
};
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import express from 'express';
1+
import express from "express";
22

3-
import {handleAuthCode} from '../controllers/authentication'
4-
import {login, logout, session, signUp} from '../controllers/userController'
3+
import { handleAuthCode } from "../controllers/authentication";
4+
import { login, logout, session, signUp } from "../controllers/userController";
55

66
export const usersRouter = express.Router();
77

8-
usersRouter.post('/signup', signUp);
9-
usersRouter.post('/login', login);
10-
usersRouter.post('/logout', logout);
11-
usersRouter.get('/confirm', handleAuthCode);
12-
usersRouter.get('/session', session);
8+
usersRouter.post("/signup", signUp);
9+
usersRouter.post("/login", login);
10+
usersRouter.post("/logout", logout);
11+
usersRouter.get("/confirm", handleAuthCode);
12+
usersRouter.get("/session", session);

course-matrix/frontend/src/app/dashboard/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
import { AppSidebar } from "@/components/app-sidebar"
1+
import { AppSidebar } from "@/components/app-sidebar";
22
import {
33
Breadcrumb,
44
BreadcrumbItem,
55
BreadcrumbLink,
66
BreadcrumbList,
77
BreadcrumbPage,
88
BreadcrumbSeparator,
9-
} from "@/components/ui/breadcrumb"
10-
import { Separator } from "@/components/ui/separator"
9+
} from "@/components/ui/breadcrumb";
10+
import { Separator } from "@/components/ui/separator";
1111
import {
1212
SidebarInset,
1313
SidebarProvider,
1414
SidebarTrigger,
15-
} from "@/components/ui/sidebar"
15+
} from "@/components/ui/sidebar";
1616

1717
export default function Page() {
1818
return (
@@ -46,5 +46,5 @@ export default function Page() {
4646
</div>
4747
</SidebarInset>
4848
</SidebarProvider>
49-
)
49+
);
5050
}

doc/sprint0/product.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ A fully realized Course Matrix will include the following features and developme
7878
- **Intuitive User Interface**: A seamless and user-friendly design ensures users can easily navigate and utilize the platform without requiring extensive instructions.
7979

8080
**Development Standards**:
81+
8182
- **Rigorous Testing**: All code is thoroughly tested to address potential bugs and ensure functionality across all use cases.
8283
- **Feature Integration and Code Review**: New features are reviewed by at least two team members to ensure quality and consistency before being merged into the production environment, adhering to a structured code review process.
8384

doc/sprint1/RPM.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
- Generate timetable
7373

7474
- Calendar customization features:
75+
7576
- Add, update, and delete personal events from the user's calendar
7677
- Customize the personal calendar with colour-coding
7778
- Overlay course options over the user's current calendar
@@ -96,4 +97,5 @@ None
9697
- When users finish filling out the filtering options and click on the search button, the website should not take over 5 seconds to display all courses that fit the description
9798

9899
### 2.5 Dependencies and Limitations
100+
99101
- None

doc/sprint1/iteration-01.plan.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- Develop software backend API and frontend UI to handle users' account registrations and authentications to ensure secured access to different pages
1616

1717
- **Epic 2: Course Database**: Kevin and Austin
18+
1819
- Create a course database schema to store all course offerings and course information
1920
- Develop software backend API and frontend UI to display all courses and course offerings information
2021

@@ -36,6 +37,7 @@ In addition to their specific roles, all team members have a collective responsi
3637
- Define tasks and responsibilities for each team member
3738

3839
- **Stand up meeting**:
40+
3941
- Location: Online or in-person depending on members availability
4042
- Time: Every Tuesday from 12 pm to 1 pm, Friday and Sunday from 9 pm to 10 pm
4143
- Purposes

doc/sprint1/sprint-01-review.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ Furthermore, we laid the foundation for a timetable generator by enabling users
5050
- Build database schemas to store course information, course offerings and user accounts by Feb 9th 2025
5151

5252
- `course` schema:
53+
5354
- The `offerings` table should have columns for the Meeting Section, Session Offering, Day of Week, Start-End time, Location, Number of current enrollments, Max number of enrollments, Instructor
5455
- The `courses` table should have columns for the course code, name, breadth requirements, description, prerequisites, corequisites, and exclusions
5556
- The `corequisites` table should have columns to map each course_id with their corresponding corequisite course_ids
5657
- The `prerequisites` table should have columns to map each course_id with their corresponding prerequisite course_ids
5758
- The `departments` table should have columns to map each department to their code name as shown in the course codes
58-
![course schema](./images/course_schema.png)
59+
![course schema](./images/course_schema.png)
5960

6061
- `account` schema (renamed: `auth` schema) :
6162
- The `users` table should have columns to store user account information: email, encrypted password, user_id

0 commit comments

Comments
 (0)