Commit Graph

15 Commits

Author SHA1 Message Date
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
Muyao CHEN
92dc9975c7 change the main.go place 2024-06-26 18:12:51 +02:00
Muyao CHEN
ab6184e675 Serving HTML Templates 2024-06-26 18:10:56 +02:00
Muyao CHEN
4eefdfe47c Error checking 2024-06-26 17:49:08 +02:00
Muyao CHEN
20c6932200 functions and handlers 2024-06-26 17:41:50 +02:00
Muyao CHEN
54d1f91e7e Hello world 2024-06-26 17:30:39 +02:00