REST API developed the consume recipients to feed their applications for aptitude tests.
The application has the following packages:.
- Bodyparser
- Authentication JWT
- CORS
- Lucid ORM
- Migrations and seeds
yarn install
or
npm install
Copy .env.example to .env
cp .env.example .env
Edit .env with settings from your database and choose mysql for connection type
Run the following command to run startup migrations.
node ace migration:run --force
node ace seed --force
node server.js
/api/auth/login
/api/auth/register
/api/auth/nurses
/api/auth/nurses/:id
/api/auth/user