Commit graph

21 commits

Author SHA1 Message Date
Francois G
eace65ad53 Add HTTPS support to API (mandatory for domain name in .dev) 2023-02-22 14:45:51 +01:00
jeffcheasey88
ee602af486 Fixing Jules problems again & Ensure sql connection 2023-02-18 10:42:10 +01:00
jeffcheasey88
c953971ef3 Fix password hash 2023-02-15 23:20:42 +01:00
jeffcheasey88
4993cc33ee Fixing Jules'problem 2023-02-15 15:46:13 +01:00
jeffcheasey88
987e2648c2 Merge branch 'routes' 2023-02-15 15:38:17 +01:00
TheNagaki
1907173db5 Updated /register route with the new field in the database, updated DatabaseRepo for the same reason 2023-02-14 23:34:13 +01:00
TheNagaki
209b0eeeb4 Added the /login and /register routes (part where I actually submit the database requests) 2023-02-14 23:21:26 +01:00
TheNagaki
bbc752500a Added the /login and /register routes 2023-02-14 23:16:22 +01:00
jeffcheasey88
e794a93bee out UTF-8 & Update Puzzle Model 2023-02-14 15:00:30 +01:00
jeffcheasey88
1835ee6662 Adding routes /register & /login 2023-02-12 13:59:46 +01:00
jeffcheasey88
a793a0cb44 Refractor for Database elements 2023-02-10 19:56:43 +01:00
jeffcheasey88
3693352e92 Register merged routes in Main 2023-02-10 09:40:22 +01:00
jeffcheasey88
65177b21fc Merge branch 'main' into routes 2023-02-10 09:30:45 +01:00
TheNagaki
80563cd86e Added ChapterElement and ChapterList as routes to respectively get a chapter by id and all the chapters.
Removed DatabaseQueries class and added DatabaseRepo to contain all the database queries; Edited PuzzleElement to remove all database-related code.
2023-02-09 22:42:33 +01:00
TheNagaki
27f0b3718b Added Chapter and Puzzle classes to the model to represent a chapter of the application (characterised by an id, a name and a list of puzzles) and a puzzle (characterised by an id, a name and a content). 2023-02-09 22:36:11 +01:00
TheNagaki
79da7cb80c Implemented a route to get a single Puzzle (through the PuzzleElement class) and added the DatabaseQueries class (containing all the different SQL queries used). 2023-02-09 20:45:42 +01:00
Francois G
2c797b393e Change route name from 'puzzle' to 'puzzles' 2023-02-09 19:15:07 +01:00
jeffcheasey88
89bf52624f Remove javax import and upgrade one little regex 2023-02-09 12:34:47 +01:00
jeffcheasey88
b3b598cc0a Get PuzzleList from the database 2023-02-08 23:30:38 +01:00
jeffcheasey88
a3b1c06455 DataBase connection & Configuration Class 2023-02-08 22:54:43 +01:00
jeffcheasey88
98533f91ea First Commit 2023-02-05 21:39:56 +01:00