- Docker
- Docker Compose
-
Clone the repository:
git clone https://github.com/samhitha16/metapointer-assignment
-
Navigate to the project folder:
cd metapointer-assignment
-
Start the application:
docker compose up
- POST
/api/user/(register|login)
to register/login a user
- GET
/api/balance
to fetch balance of an user - GET
/api/transactions/
to fetch all the transactions of an user - POST
/api/transactions/add
add balance - POST
/api/transactions/send
send money to another user - POST
/api/user/logout
logout an user session