Simple Adonis.js Transaction App
Adonis.js, Node.js, Typescript, MySQL, Swagger
Installation
- Run
npm i
on your terminal - Run
cp .env.example .env
and fill the DB credentials on.env
- Run
node ace migration:run
to migrate the db
Running The App
Serving The App
Development: Run npm run dev
Production: Run npm run build
. Click here for more info
Run Testing
- Run
cp .env.test.example .env.test
and fill the DB credentials on.env.test
- Run
npm run test
Notes: Tests are located at /tests
API Docs (Swagger)
Serve the app (read the Deployment section above) and go to /docs