beo-api-server
v0.0.2
Published
### Start the server ``` npm start DEBUG=myapp:* npm start // debug
Downloads
4
Readme
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": "[email protected]",
"address": "sdsdfsdfsdf"
}]'