Commit Graph

32 Commits

Author SHA1 Message Date
f93388a8e9 Listing all reservations 2024-07-22 22:14:48 +02:00
b34c217d98 create stub handlers for admin functionnality 2024-07-22 14:05:20 +02:00
dedab91898 Protecting our routes with auth middleware 2024-07-22 10:13:50 +02:00
96f81418ec Checking to see if a user is logged in, and logging a user our 2024-07-22 10:00:17 +02:00
a0853cf880 Writing auth middleware 2024-07-19 18:40:19 +02:00
a6dca00199 Creating handler to log in 2024-07-19 10:02:58 +02:00
3e70a5727f Creating the auth handlers for the login screen 2024-07-19 09:23:45 +02:00
b1d3095c89 Sending mails using Foundation templates 2024-07-17 22:34:03 +02:00
d40233b4ba Installing a mailer package and setting up a mail channel 2024-07-16 14:31:54 +02:00
262b48161d add comment for nosurf 2024-07-13 18:19:51 +02:00
9775b67a2d Connecting the rooms page to make reservation page 2024-07-11 23:01:10 +02:00
5a646a2b27 Connection search availability to the make reservation page 2024-07-10 22:08:23 +02:00
bb7fcbccb7 fix wrong dbname 2024-07-08 23:16:13 +02:00
18c82ba19f Cleaning up our code 2024-07-07 22:37:48 +02:00
c4b41d305d Connecting to the datavase and adding the sql connection to our Repository 2024-07-06 22:55:25 +02:00
Muyao CHEN
9fc6c05d38 Centralizing error handling to a helpers package 2024-07-03 10:03:25 +02:00
Muyao CHEN
21478b20ae Writing tests for main package and for GET handlers 2024-07-01 22:34:16 +02:00
Muyao CHEN
3ad57c754f Displaying a response to user after posting form data 2024-07-01 14:19:38 +02:00
Muyao CHEN
8394832428 Server-side form validation 1 2024-06-30 17:08:47 +02:00
Muyao CHEN
7294254e13 Refactoring to use internal packages 2024-06-30 16:41:46 +02:00
Muyao CHEN
eca62e2e7b Sending AJAX post and generalizing the custom function 2024-06-30 16:37:57 +02:00
Muyao CHEN
97b9898dfc rename reservation to availability 2024-06-30 10:51:29 +02:00
Muyao CHEN
a8b56b50db Creating a handler that return JSON 2024-06-30 10:42:57 +02:00
Muyao CHEN
76bee566cd Creating handlers for forms & adding CSRF Protection 2024-06-30 10:31:15 +02:00
Muyao CHEN
0ca6de59fd Converting pages to templates 2024-06-29 21:30:06 +02:00
Muyao CHEN
6e6b003e05 Enabling static files 2024-06-28 22:30:19 +02:00
Muyao CHEN
8ec31267c6 Installing and setting up a sessions package 2024-06-28 15:30:00 +02:00
Muyao CHEN
9911144aff Developping our own middleware 2024-06-28 13:33:43 +02:00
Muyao CHEN
e1b990dfd3 Using chi for routing 2024-06-28 13:14:05 +02:00
Muyao CHEN
daef31f070 Using pat for routing 2024-06-28 12:59:47 +02:00
Muyao CHEN
1dd22ba8db Optimizing template cache by using an application config *** 2024-06-27 14:03:43 +02:00
Muyao CHEN
144e700b15 Refactoring code to use packages 2024-06-26 22:06:32 +02:00