vinchent
  • Joined on 2023-08-20
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-24 20:23:36 +00:00
845f3a5836 Showing one reservation
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-24 12:20:42 +00:00
dafd6f21c0 Listing new reservations
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-22 20:14:52 +00:00
f93388a8e9 Listing all reservations
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-22 12:05:25 +00:00
b34c217d98 create stub handlers for admin functionnality
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-22 11:55:08 +00:00
ea796999d4 convert admin template into go template
51e3c74950 add admin dropdown
Compare 2 commits »
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-22 08:13:54 +00:00
dedab91898 Protecting our routes with auth middleware
68d9110cd2 change flash to success
96f81418ec Checking to see if a user is logged in, and logging a user our
Compare 3 commits »
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-19 16:46:02 +00:00
a0853cf880 Writing auth middleware
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-19 08:04:47 +00:00
a6dca00199 Creating handler to log in
d32fd432d2 Creating the auth and user database functions
3e70a5727f Creating the auth handlers for the login screen
447bfc4599 Create the login screen
Compare 4 commits »
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-17 20:38:01 +00:00
c88974788f mock the mail server using a channel to read
b1d3095c89 Sending mails using Foundation templates
Compare 2 commits »
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-16 12:32:02 +00:00
d40233b4ba Installing a mailer package and setting up a mail channel
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-16 11:55:50 +00:00
6873ad1c56 Installing a mailer package and setting up a mail channel
bf61fb7c18 sending mails using standard lib
Compare 2 commits »
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-16 11:22:53 +00:00
998850b708 finish handler tests
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-15 20:42:12 +00:00
191b010b8e use RequestURI instead of chi.URLParam for testing purpose
6853a1a483 add tests for postavailability and reservation summary
Compare 2 commits »
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-15 19:36:41 +00:00
e8390cc51d Use url.Values for post params
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-15 19:24:16 +00:00
4debe0e14e finish availabilityjson test
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-15 13:13:24 +00:00
3f1dfeabc2 add docker compose for pg
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-15 13:11:37 +00:00
4ec8c5d9a1 Fix seed sqls
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-14 12:51:17 +00:00
904ee95d63 add tests for availabilityJson
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-14 09:59:56 +00:00
413bfc1685 user postData instead
vinchent pushed to main at vinchent/udemy-go-web-1 2024-07-14 09:49:58 +00:00
d76070c21d fix bugs and add tests for PostMakeReservation handler