You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 week ago | |
|---|---|---|
| src | 1 week ago | |
| .dockerignore | 1 month ago | |
| .gitignore | 1 month ago | |
| Makefile | 2 weeks ago | |
| README.md | 3 weeks ago | |
| arena.json | 1 month ago | |
| docker-compose.yml | 2 weeks ago | |
| tsconfig.json | 1 month ago | |
README.md
ActivityPub service
An ActivityPub server running on a local NextGraph broker running in headless mode. The goal is to make it run on any NextGraph broker that configure it as a service.
Getting started
Launch NextGraph and Redis
make start
Launch the backend
cd src
yarn install
yarn run dev
Test a user creation
POST /auth/signup HTTP/1.1
Host: localhost:3000
Content-Type: application/json
{
"username": "bob",
"email": "bob@test.com",
"password": "test123!"
}
You can then access the user at http://localhost:3000/bob
Get the user storage
To easily find all the triples within the user storage, you can do this command in Moleculer REPL:
call triplestore.dataset.backup --dataset bob
To see the accounts of all existing users:
call triplestore.dataset.backup --dataset settings
They will be exported in the /src/exports directory (you may need to create it)