Alexis
fabe285fb2
Rearranged and refactored main Api Class
2021-08-03 17:33:20 +02:00
Alexis
288432244b
Updated models with unique columns constraints
2021-08-03 17:15:31 +02:00
Alexis
2a59436625
Added terminal colours for logging
2021-08-03 17:09:39 +02:00
Alexis
5913d3914d
Removed useless imports
2021-08-02 16:45:19 +02:00
Alexis
884edba504
Updated Repository
...
Repositories and controllers are merged, since the functions would just be really redundant thanks to TypeORM
2021-08-02 16:44:40 +02:00
Alexis
f12190c95a
Added relationships to entities
2021-08-01 22:30:53 +02:00
Alexis
3b0c79c57b
Added timestamp columns
2021-08-01 21:43:24 +02:00
Alexis
f19b48f801
Fixed a typo
2021-07-31 12:48:32 +02:00
Alexis
2cef0d6f8c
Fixed vulnerabilities
2021-07-31 12:48:08 +02:00
Alexis
481b52bb30
Added JWT for the future
2021-07-31 12:46:10 +02:00
Alexis
dce8bf95d6
Converted models to TypeORM models
2021-07-31 12:38:04 +02:00
Alexis
477dc14e63
TypeORM tsconfig
2021-07-31 12:37:47 +02:00
Alexis
f6b95b9be1
Replacer Sequelize for TypeORM
...
This decision was made because it's become apparent that the Sequelize TS support is more of an afterthought than an actual feature.
TypeORM, on the other hand, seems to achieve what Sequelize does in far less lines of code.
2021-07-31 12:20:41 +02:00
Alexis
4cc7c5533e
Massive cleanup
...
Functionnal basic API calls for spells
Cleaned up some functions
Moved some files around
2021-07-30 12:24:11 +02:00
Alexis
a15a6614e7
Fixed tablenames
2021-07-24 22:51:21 +02:00
Alexis
f1d620dacd
Fixed sequelize crash, added variables
2021-07-24 22:47:45 +02:00
Alexis
f3bbe696ed
Updated db models
2021-07-24 22:20:48 +02:00
Alexis
ca9dbbd7db
Moved old scripts to docs folder
2021-07-23 21:57:01 +02:00
Alexis
681ff2b086
Added nodemon scripts
2021-07-23 21:56:44 +02:00
Alexis
a43b5a95c4
Removed migration files and modules
...
This is too time consuming for now, need to focus on something more useful
2021-07-21 22:35:14 +02:00
Alexis
4be8a25370
Automated model registration
2021-07-20 22:03:20 +02:00
Alexis
c03a5d62ec
Cleaned up old files and moved things around
2021-07-19 22:02:04 +02:00
Alexis
c61293c1a9
Moved data (again) to the root folder
2021-07-19 21:52:47 +02:00
Alexis
693f481cf5
Added csv-parser and sequelize-cli
2021-07-19 21:52:34 +02:00
Alexis
e84143c114
Added cast to apiPort and cleaned more code
2021-07-19 21:34:00 +02:00
Alexis
b80ff9a982
Moved old files down a peg
2021-07-19 21:26:58 +02:00
Alexis
546e8a1eed
Implemented models and cleaned some code
2021-07-19 21:26:37 +02:00
Alexis
0048c59d56
Fixed wrong import of sequelize
2021-07-19 21:25:58 +02:00
Alexis
382e8633ad
Added mariadb package
2021-07-19 21:25:11 +02:00
Alexis
30a5454934
Created main class instance
2021-07-18 20:05:46 +02:00
Alexis
206a1e0737
Updated dependencies and removed esconfig rules from package json
2021-07-18 20:05:31 +02:00
Alexis
392af38965
Updated tsconfig
2021-07-18 20:04:49 +02:00
Alexis
21329863d3
Added eslint rules
2021-07-18 20:04:37 +02:00
Alexis
061bb52dac
Added ts scripts and config
2021-07-18 16:08:15 +02:00
Alexis
d977ce6551
Moved code to /src folder
2021-07-18 16:08:03 +02:00
Alexis
fbc38207f7
Updated dependencies before refacto
2021-07-18 16:00:00 +02:00
Alexis
e865fe6423
Merge branch 'refactor/moved_repo' into develop
2021-07-18 15:53:05 +02:00
Alexis
c7c24a30a0
File dump from old repo
2021-07-18 15:48:01 +02:00
Joururi
1d0c7dab8b
Initial commit
2021-07-18 15:43:15 +02:00