Commit Graph

16 Commits

Author SHA1 Message Date
Robbie Antenesse 9f736d4731 Set a cookie when locales are accessed
Allows server to know language with each request
2020-02-24 11:29:07 -07:00
Robbie Antenesse 071e1e6586 Update sequelize & DB setup:
- Split models & associations into their own files
- Update columns and requirements
- Create PermissionLevel model & add to relevant models
2020-01-14 15:47:44 -07:00
Robbie Antenesse 986346cd41 Restructure fastify plugins for better dep control:
- Copy Nodemailer and Sequelize fastify plugins to project.
- Upgrade dependencies with yarn upgrade
- Fix break from Sequelize 5 removing Model.find() in AccountController
2020-01-04 19:13:56 -07:00
Robbie Antenesse b9378a2356 Move getSequelizeModels to sequelize folder 2019-12-07 22:41:13 -07:00
Robbie Antenesse a2d113562e Add shelf api route with create action 2019-12-01 15:31:34 -07:00
Robbie Antenesse 0f9757f2c2 Put i18n on server so it can free up frontend memory 2019-10-27 23:59:56 -06:00
Robbie Antenesse 040b967725 Add create and confirm account emails in backend 2019-10-03 13:04:17 -06:00
Robbie Antenesse fd84706104 Start adding support for email confirmation with nodemailer 2019-09-27 18:40:39 -06:00
Robbie Antenesse d213ce6f75 Add sequelize models to fastify object; Validate tokens better 2019-09-27 18:00:15 -06:00
Robbie Antenesse 49ab635660 Switch to fastify-sequelize for db connection
Started to try to set up setup-database.js script using Sequelize.
We'll see how that goes...
2019-09-18 17:15:06 -06:00
Robbie Antenesse 1cb78f5db2 Add fastify-postgres with example connection 2019-09-17 15:10:46 -06:00
Robbie Antenesse 0ebafaeb9e Load covers in resultDetails sorted by publish date 2019-09-12 17:11:12 -06:00
Robbie Antenesse bd749fa796 Add Search endpoint to API; Use Inventaire API for search 2019-09-09 14:19:22 -06:00
Robbie Antenesse a9747ec510 Redo Fastify routing to work with Choo's routing 2019-09-08 21:56:16 -06:00
Robbie Antenesse 8d9e0e8f9f Remove some unneeded fastify plugins; fix some typos 2019-09-08 21:54:43 -06:00
Robbie Antenesse 0934fea892 Reorganize the folder structure entirely 2019-09-08 13:44:01 -06:00
Renamed from server.js (Browse further)