0.0.2 • Published 3 years 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\wwwport: 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"
}]'