This project is licensed under the terms of the GNU General Public License v3.0
-
Install dependencies:
pnpm i
We prefer to use pnpm instead of npm.
-
Run Murmurations Services and Mongo Operator.
-
Ensure Local
.env
is set up (see.env.example
). -
Modify
/etc/hosts
to create local domain names for Murmurations Services, Mongo Operator and this Tools project.127.0.0.1 index.murmurations.developers 127.0.0.1 library.murmurations.developers 127.0.0.1 data-proxy.murmurations.developers 127.0.0.1 mongo.murmurations.developers 127.0.0.1 tools.murmurations.developers
-
Execute
make dev
orpnpm dev
. -
Open http://tools.murmurations.developers in your browser (if running
make dev
) or http://localhost:5173 (if runningpnpm dev
).
Method | Endpoint | Description |
---|---|---|
GET | /profile-generator | Retrieve all profiles |
POST | /profile-generator | Save a single profile |
GET | /profile-generator/:cuid | Retrieve a single profile by its CUID |
PUT | /profile-generator/:cuid | Update a specific profile by its CUID |
PATCH | /profile-generator/:cuid | Partially update a specific profile by its CUID |
PATCH | /profile-generator/:cuid/update-node-id | Update the node_id of a specific profile |
DELETE | /profile-generator/:cuid | Delete a specific profile by its CUID |
GET | /profile-generator/index/:node_id | Retrieve a profile from the index |
POST | /profile-generator/index/:node_id | Save a profile to the index |
DELETE | /profile-generator/index/:node_id | Delete a profile from the index |