Commit Graph

30 Commits

Author SHA1 Message Date
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
Robbie Antenesse a9d40193f0 Add inventaireDomain to server config
For if someone wants to self-host Inventaire as well as Readlebee
2019-09-11 11:05:47 -06:00
Robbie Antenesse c80e5e63ff Add endpoint for getting covers 2019-09-11 10:31:50 -06:00
Robbie Antenesse b4bb1fc392 Style search page results 2019-09-10 17:17:13 -06:00
Robbie Antenesse 3ceaf670b4 Update all branding and links to Readlebee 2019-09-10 12:57:44 -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 b4d6482994 Move siteName to new config.json for frontend 2019-09-08 21:48:23 -06:00
Robbie Antenesse 0934fea892 Reorganize the folder structure entirely 2019-09-08 13:44:01 -06:00