First moleculer.js app.
Simple users API using microservices.
- Run
npm install
- Run
npm run dev
Creates a user.
URL | HTTP Method |
---|---|
/api/users |
POST |
Parameters:
Argument | Example | Required |
---|---|---|
username |
lucas |
Required |
email |
lucas@gmail.com |
Required |
password |
123456 |
Required |
age |
19 | Optional |
List all users.
URL | HTTP Method |
---|---|
/api/users |
GET |