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.
 
 
 
 
Cedric Cellier f076e68dc6 Build: do not commit yarnrc referencing unknown file 1 week ago
src Build: do not commit yarnrc referencing unknown file 1 week ago
.dockerignore Server launching 1 month ago
.gitignore Server launching 1 month ago
Makefile Build: add a 'reset' target 2 weeks ago
README.md Update readme 3 weeks ago
arena.json Server launching 1 month ago
docker-compose.yml Enable nextgraph debug output 2 weeks ago
tsconfig.json Server launching 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)