BookDo7starsTS / bookdo7stars_be

0 stars 0 forks source link

Feature/cheol/retrieve aladin books #14

Closed Joel-Hwang closed 2 months ago

Joel-Hwang commented 2 months ago

Hi team, This PR is for saving the aladin books in our database regularly using node-cron.

Here are the changes made.

  1. .env.default : Added ALADIN_TTB_KEY
  2. DDL.sql: Back up database schema, function and trigger. Our database will be detroyed soon. I am not sure I need to save data.
  3. aladinBooks.test.js: Aladin books job unit test
  4. userSerive.test.js: User service unit test
  5. app.js: call JOB
  6. package.json: N/A
  7. SaveAladinBooks.js: Call Aladin api regularly
  8. book.js: Book Model.

Please review and merge.

Thanks, Joel