Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 535 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 535 Bytes

backend

Rectop backend

🔧 Setup

cp .env.sample .env # change values after copying
npm i
npm run dev

👷 Build

npm run build
npm start

➡️ Usage

GET /api/atms # get initial ATMs
POST /api/atms/recommend # get recommended ATMs
POST /api/transactions/ # create transaction
POST /api/transactions/withdraw # withdraw money from ATM
GET /api/users/balance # get user balance

📦 Technologies used

  • Node.js, TypeScript, Express, MongoDB