✏️ Edits to README
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# threetwo-import-service
|
# threetwo-import-service
|
||||||
|
|
||||||
This microservice houses endpoints for the following functions:
|
This [moleculer-based](https://github.com/moleculerjs/moleculer-web) microservice houses endpoints for the following functions:
|
||||||
|
|
||||||
1. Local import of a comic library into mongo (currently supports `cbr` and `cbz` files)
|
1. Local import of a comic library into mongo (currently supports `cbr` and `cbz` files)
|
||||||
2. Metadata extraction from file, `comicinfo.xml`
|
2. Metadata extraction from file, `comicinfo.xml`
|
||||||
@@ -15,7 +15,7 @@ This microservice houses endpoints for the following functions:
|
|||||||
2. You need `mongo` for the data store. on `macOS` you can use [these instructions](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/) to install it
|
2. You need `mongo` for the data store. on `macOS` you can use [these instructions](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/) to install it
|
||||||
3. Clone this repo
|
3. Clone this repo
|
||||||
4. Run `npm i`
|
4. Run `npm i`
|
||||||
5. Assuming you installed mongo correctly, run `MONGO_URI=mongodb://localhost:27017/threetwo npm run dev`
|
5. Assuming you installed mongo correctly, run `MONGO_URI=mongodb://localhost:27017/threetwo npm run dev` to start the service
|
||||||
6. You should see the service spin up and a list of all the endpoints in the terminal
|
6. You should see the service spin up and a list of all the endpoints in the terminal
|
||||||
7. The service can be accessed through `http://localhost:3000/api/import/*`
|
7. The service can be accessed through `http://localhost:3000/api/import/*`
|
||||||
## Docker Instructions
|
## Docker Instructions
|
||||||
|
|||||||
Reference in New Issue
Block a user