Skip to content

Davis10733/Niu

Repository files navigation

Niu

Niu is a project that using IPFS to create total decentralized community. In here, you can join the topic you're interested and free to speak out you opinon.

Pre-installation

  • docker-compose installed

Installation

yarn dev

API

User related

user register

register a new user of Niu

Method

POST

Request Body

{
  "username": "your user name",
  "password": "your password",
  "email": "your email address"
}

Response Body

{
  "message": "success",
}

user login

you'll get a jwt token for other Niu API

Method

POST

Request Body

{
  "username": "your user name",
  "password": "your password",
}

Response Body

{
  "jwt": "your jwt",
  "message": "success",
}

About

Blogging platform for the Decentralized Web

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published