🎲 API REST - credit and debit transactions
APACHE-2.0 License
A simple API that allows the user to carry out credit and debit transactions
POST /transactions
GET /transactions
GET /transactions/:id
GET /transactions/summary
You can access this url: https://transactions-api-d9kj.onrender.com if it is still working ¯\(ツ)/¯
First fork and clone this repo. Feel free to create new pull requests
Rename .env.example to .env and set variables
NODE_ENV=development
DATABASE_CLIENT=sqlite
DATABASE_URL="./db/app.db"
HOST=localhost
PORT=3333
npm install
npm run knex migrate:latest
npm run dev
npm test