Steps to run this project on developer mode:
- Run
npm i
command - Run
npm run start:db
command - Run
npm start
command
Steps to run this project on production mode:
- Run
npm run build
command
Technology stack
- Typescript 4.7.4
- Express JS 4.17.2
- Docker 20.10.16
- MySQL 5.7.10
Endpoint
/users
=> get all users, edit user status
/transactions
=> get all requests, edit requests, create request
/auth
=> login, register, logout
/history
=> get all history of requests and or transfers
/transfer
=> request transfer
Design patern
- Singleton => Entity Admin in
src/Model/Admin.ts
- Facade => In
src/index.ts
App breaks down into several part.