Robbie Antenesse
8f0edf7e01
Make search api search BookReferences first (Untested)
2020-02-06 13:55:28 -07:00
Robbie Antenesse
0189a5cab0
Update BookReference model
...
Add locale; change sources to object with keys = source and value = id
2020-02-06 09:55:09 -07:00
Robbie Antenesse
03a939b643
Change what is passed to ShelfController
2020-02-04 16:05:08 -07:00
Robbie Antenesse
abbc8b5591
Split Inventaire book methods into sepate class
2020-02-04 15:31:58 -07:00
Robbie Antenesse
a596e685d6
Rename shelves/get endpoint to shelf/getAll for consistency
2020-02-04 15:00:45 -07:00
Robbie Antenesse
ae95bf7a0c
Add db diagram script and output
...
Will update NPM source if PR is accepted & published
2020-01-25 13:54:01 -07:00
Robbie Antenesse
b1da2f81c7
Sequelize model relationship fixes
2020-01-25 13:52:37 -07:00
Robbie Antenesse
b9c9c6bec6
Initial attempt at setting up a Follower scheme
2020-01-20 09:47:31 -08:00
Robbie Antenesse
6e16b36d49
Fix invalid syntax for node in server ShelfController
2020-01-15 16:57:27 -07:00
Robbie Antenesse
7d77a5a8f5
Add Reaction model with associations on Status & Review
2020-01-15 15:36:26 -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
86897be78a
DB: Split Review from Status; remove StatusTypes
2020-01-12 22:55:38 -07:00
Robbie Antenesse
243a4094d0
Get overwhelmed by ShelfController.scrubShelfData()
2020-01-11 20:37:27 -07:00
Robbie Antenesse
3d34467208
Verify shelf id and request from external domain if present
2020-01-11 20:35:51 -07:00
Robbie Antenesse
b7392105e7
Start working on get shelf with fake data
2020-01-07 22:50:58 -07:00
Robbie Antenesse
5eb409e46e
Add shelf get by id endpoint
2020-01-04 19:34:26 -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
aefab612e7
Add get user shelves from db:
...
Add GET /api/shelves/get endpoint;
Turn off test data and pull shelves from database;
Update getLastUpdatedTimestamp to use association function.
2019-12-23 16:51:26 -07:00
Robbie Antenesse
805ebef01c
Create shelves view without adding to routes
2019-12-21 20:16:52 -07:00
Robbie Antenesse
237198cd47
Add rename shelf API endpoint
2019-12-11 13:15:55 -07:00
Robbie Antenesse
cdcaef11c1
Add framework for database setup and migration
2019-12-08 00:06:21 -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
cd4e628e11
Utilize nested locale translations and update usage
2019-12-01 14:40:14 -07:00
Robbie Antenesse
1458e936ea
Naming & Association corrections:
...
Correct naming of Account and Shelf Controllers;
Add hasMany associations to db models
2019-12-01 11:03:55 -07:00
Robbie Antenesse
53662c0a60
Create default shelves in db on account creation
2019-11-30 18:02:24 -07:00
Robbie Antenesse
da2425a73d
Update sequelize models to add foreign keys
2019-11-30 17:25:55 -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
24b36045ff
Fix display name requirements
2019-10-26 11:47:15 -06:00
Robbie Antenesse
cd0baa7605
Handle log out
...
It's a little funky because of Choo, but it works right
2019-10-17 21:20:36 -06:00
Robbie Antenesse
bcde0c6dc7
Fix login errors and redirect to home after success
2019-10-17 20:37:16 -06:00
Robbie Antenesse
929d1ca928
Add login validation without testing
2019-10-08 12:38:09 -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
0cad0adfdb
Add Account controller and create account endpoint
2019-09-27 18:14:01 -06:00
Robbie Antenesse
d213ce6f75
Add sequelize models to fastify object; Validate tokens better
2019-09-27 18:00:15 -06:00
Robbie Antenesse
52f603ccc4
Add validation to User sequelize model
2019-09-27 17:02:45 -06:00
Robbie Antenesse
3634774ff9
Split out Sequelize models into its own module
2019-09-26 20:03:15 -06:00
Robbie Antenesse
6041f2818f
Remove database_schema.sql now that Sequelize is set up
2019-09-26 18:58:16 -06:00
Robbie Antenesse
3f9ca67918
Fix Open Library search results de-duplication
2019-09-26 13:59:40 -06:00
Robbie Antenesse
e39fe52e65
Add search by Open Library
2019-09-26 12:22:58 -06:00
Robbie Antenesse
abc1e10b3f
Simplify search results to only use Works from inventaire
2019-09-26 10:51:52 -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
ff1eb25252
Upgrade dependencies; Remove unused dependencies & source
2019-09-18 12:56:58 -06:00
Robbie Antenesse
1cb78f5db2
Add fastify-postgres with example connection
2019-09-17 15:10:46 -06:00
Robbie Antenesse
d3d35bacc8
Use quick search from Inventaire for default search
2019-09-16 12:49:31 -06:00
Robbie Antenesse
8781327c61
First attempt at pgsql database table creation
2019-09-15 17:08:16 -06:00
Robbie Antenesse
0ebafaeb9e
Load covers in resultDetails sorted by publish date
2019-09-12 17:11:12 -06:00
Robbie Antenesse
3f3ae76f2b
Add Faker.js; Create BooksController and /api/books route
2019-09-12 12:40:42 -06:00
Robbie Antenesse
896dc7b869
Add star rating icons and review count to search results
...
These are currently randomized until database support is added
2019-09-11 22:42:01 -06:00