REST API with Swagger web client.
npm install
copy .env.sample into .env file in the root of the project and fill the required credentials
npm run test
npm run dev
Check the server will be running http://localhost:3000/api/v1/openapi
Go to "Auth" Post endpoint. Click on [Try it out] button. And complete into username with any existent email in clients. Then click on execute
- So far you can login with any password. (TODO)
I'll retrive a token. Now we have to copy it.
Now scroll to the top, click on "Authorize" button.
Paste the token insude "value" textfield and click on "Autorize".
Now we can use the rest of endpoints.
It was crated with Express API Starter