0.0.2 • Published 1 year ago
beo-api-server v0.0.2
Welcome to Node server
Start the server
npm start
DEBUG=myapp:* npm start // debug
node .\node_modules\beo-api-server\bin\www
port: 3000
API Docs
- Get all users
curl --location --request GET 'localhost:3000/users'
- Get a user
curl --location --request GET 'localhost:3000/users/<userName>'
- Create Users
curl --location --request POST 'localhost:3000/users' \
--header 'Content-Type: application/json' \
--data-raw '[{
"username": "test1" ,
"email": "test1@email.com",
"address": "sdsdfsdfsdf"
}]'