Commit Graph

107 Commits

Author SHA1 Message Date
Alexis
cabbf68f7a - Worked on spell things 2020-06-02 17:19:54 +02:00
Alexis
1280d6ee1f - Added getAll route for spells with bookshelf 2020-05-27 21:26:35 +02:00
Alexis
48ee8cf08f - Added dependencies 2020-05-26 21:49:45 +02:00
Alexis
fe5549d817 - Fixed some API calls 2020-05-26 21:49:15 +02:00
Alexis
af7e6ff701 - [API] Added getSchool, getSchools, and addSchools 2020-05-24 23:51:17 +02:00
Alexis
df7ee9add4 - [API] Fixed the updateSpell to wait for queries 2020-05-24 12:12:15 +02:00
Alexis
08b0b94bd8 - [API] Added User routes (need polishing because it parses and sends sensitive data) 2020-05-23 21:48:27 +02:00
Alexis
64389a3c07 - Added JWT 2020-05-23 13:12:11 +02:00
Alexis
0849778bfa Merge branch 'dev' 2020-05-23 01:04:05 +02:00
Alexis
473f8f44c1 - [API] Finished White Box tests, passed all of them, spell API considered finished 2020-05-23 01:02:45 +02:00
Alexis
acd380e084 - [API] Fixed a never ending loop on post and put methods for spells 2020-05-22 22:21:25 +02:00
Alexis
5ce6250f00 - [API] Fixed an always pending promise in update spells 2020-05-21 22:50:57 +02:00
Alexis
65acd9b7e9 - [API] Fixed more bugs thanks to unit testing gj unit testing I'm so proud of you 2020-05-21 22:48:05 +02:00
Alexis
5d466ce4d8 - [API] Fixed the loop of getSpells() 2020-05-21 11:53:55 +02:00
Alexis
983af14edc - Added and finished most spell methods (need tests soon) 2020-05-21 01:40:55 +02:00
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
f9df6e957e - Added some default handlers for spell's data 2020-05-16 22:53: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
875e92393c - Made database inserts more flexible 2020-05-16 21:30:19 +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
c58a1bae71 - Installed morgan, jsonschema and helmet to enhance API behaviours 2020-05-16 14:58:05 +02:00
Alexis
4571dd93f3 - Added models to the API data 2020-05-16 14:57:17 +02:00
Alexis
c297ed24eb - Added "use db" statement in data inserts 2020-05-16 14:57:03 +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
412402404b + [navbar] Added style and cogs images for [index page] 2020-04-09 21:01:05 +02:00
Alexis
64f5e109dd - [spell-card] Added comma and ingredients display 2020-04-06 17:25:38 +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
84232bf9f1 + [DB] Added schools and meta school structures w/ data 2020-03-23 19:27:57 +01:00
Alexis
144eb31392 + Added [router] and cleaned some code 2020-03-23 18:35:13 +01:00
Alexis
bd141eeda3 + [API] Added basic API to get all spells 2020-03-22 21:18:05 +01:00
Alexis
ef9e98641a + Moved client to subfolder and added db communication 2020-03-20 21:05:28 +01:00
Alexis
c08e07f7b6 - Fixed security issues with minimist 2020-03-19 18:02:03 +01:00
Alexis
82b4d9187b Merge remote-tracking branch 'origin/dev' into dev 2020-03-19 17:36:05 +01:00
Alexis
300960ac74 - Added database files 2020-03-19 17:35:42 +01:00
Alexis
c785b988a8 + Added app router and index/spell pages 2020-03-19 17:35:42 +01:00
Alexis
3defb52d30 + [navbar] Added the navbar component 2020-03-19 17:35:42 +01:00
Alexis
d382cb7b30 - [spell-card] Ingredients are a string 2020-03-19 17:35:42 +01:00
Alexis
975174985c + Added structure and spell-card component 2020-03-19 17:35:42 +01:00
Alexis
4f9805a541 - Updated Readme because I'm derp and gitignore 2020-03-19 17:34:43 +01:00