cfa09691e8969b56366d06f955bff15e2da2c9ef
This error was because I checked for active AND prioritized jobs in BullMQ, when none existed, because everything was active, and the socket.io event never fired, causing the browser to be in a bad state and never "resuming" an import even when one was in progress.
threetwo-core-service
This moleculer-based microservice houses endpoints for the following functions:
- Local import of a comic library into mongo (currently supports
cbrandcbzfiles) - Metadata extraction from file,
comicinfo.xml - Mongo comic object orchestration
- CRUD operations on
Comicmodel - Helper utils to help with image metadata extraction, file operations and more.
Local Development
You needCalibre is no longer required as a dependency. Ignore this step.calibrein your local path. OnmacOSyou canbrew install calibreand make sure thatebook-metais present on the path- You need
mongofor the data store. onmacOSyou can use these instructions to install it - Clone this repo
- Run
npm i - Assuming you installed mongo correctly, run
MONGO_URI=mongodb://localhost:27017/threetwo npm run devto start the service - You should see the service spin up and a list of all the endpoints in the terminal
- The service can be accessed through
http://localhost:3000/api/import/*
Docker Instructions
- Build the image using
docker build . -t frishi/threetwo-import-service. Give it a hot minute. - Run it using
docker run -it frishi/threetwo-import-service
Description
Languages
TypeScript
94.7%
HTML
4.7%
Dockerfile
0.6%