Commit Graph

17 Commits

Author SHA1 Message Date
Alexis
63c7dc5d09 - Added update methods for spell API 2020-05-19 23:12:28 +02:00
Alexis
b0bd343018 - Removed some useless function declaration on the spells methods, everything is in promises now 2020-05-19 21:26:43 +02:00
Alexis
936d09be77 + Added POST method for spells API 2020-05-16 22:52:43 +02:00
Alexis
c140aa58db - Refactored some error handling on schools router 2020-05-16 22:52:30 +02:00
Alexis
8749020c73 - Refactored the spell id check 2020-05-16 21:32:27 +02:00
Alexis
7195b4359b + Error handler and refactoring of the http methods 2020-05-16 21:30:35 +02:00
Alexis
cf0a50efa3 - Added escape methods to queries for spells and schools 2020-05-16 16:46:44 +02:00
Alexis
8468fe235a + Started POST route for spells (w/ validation) and applied changes 2020-05-16 14:59:10 +02:00
Alexis
bf8205c679 + Added GET one and GET all for schools 2020-05-16 14:58:40 +02:00
Alexis
449c07f013 - Implemented security and headers modules for API 2020-05-15 20:31:39 +02:00
Alexis
a408a9cdd3 + Added cleaner method of getting id (the other method was ew tbh) 2020-05-14 23:48:19 +02:00
Alexis
0766487309 - Fixed SQL injection ""issue""
And various code cleaning things for spell route
2020-05-14 21:02:55 +02:00
Alexis
042c205ce4 - [API] Segregated API files, Implemented spells-list, component that calls the API 2020-04-06 16:39:55 +02:00
Alexis
37f4913d3e - [All] Finished API call for spells and various bug fixes 2020-04-01 19:01:03 +02:00
Alexis
27a1113bd2 - [API] Finished the request to get all spells (associated tables for instance) 2020-03-28 20:45:44 +01:00
Alexis
481ed7507f - [DB] Formatted test inserts in a single lines 2020-03-26 09:25:27 +01:00
Alexis
144eb31392 + Added [router] and cleaned some code 2020-03-23 18:35:13 +01:00