Commit Graph

17 Commits

Author SHA1 Message Date
d4a67b9bd7 Add $lib/entities.ts for fetching and controlling entities in database 2024-11-10 08:22:13 +02:00
325d31c1f8 Add Message interface and make ErrorMessage interface exportable 2024-11-10 08:21:52 +02:00
b363fa25ac Remove console.log from layout.server.ts 2024-11-10 08:21:02 +02:00
be64733578 Make console.log appear on every request that is not authping 2024-11-10 08:20:44 +02:00
9bb01c811b Add ErrorMessage interface to api.ts 2024-11-08 20:19:06 +02:00
46eb892f51 Renamed server.js to server.ts in /api/auth/login 2024-11-08 19:53:34 +02:00
92d3a15420 Add redirecting user from login page to main page after successful login 2024-11-08 19:44:44 +02:00
aa5a173e83 Add redirecting user to login if session cookie is not found 2024-11-08 19:44:26 +02:00
9dbce2b331 Change main route content 2024-11-08 19:44:06 +02:00
60c22c5350 Change +page.server.js to +page.server.ts for test2 route 2024-11-08 19:43:56 +02:00
a581480ae1 Refactored NavBar 2024-11-08 19:22:32 +02:00
589f9f1a36 Apply changes to /api/auth/login route to change cookies 2024-11-08 17:13:39 +02:00
8bd291beec Add cookie parsing part of apiFetch and add optional cookies parameter in login function 2024-11-08 17:13:09 +02:00
4b2fb40d6f Everything I have 2024-11-06 19:42:42 +02:00
3be3b83712 Add toasts used in login page 2024-11-02 18:42:45 +02:00
2a2fd78d3b Add Toasts notifications 2024-11-02 18:42:29 +02:00
459980ef45 Some state with basic Login page
sq
2024-11-02 14:25:25 +02:00