This is a dockerized application with MSC architecture, developed with the dimensions of a mobile device in mind. For a better experience, go to inspect and enable mobile mode on device toolbar.
- Creating an account;
- Logging into an account;
- Creating financial transactions between users;
- Listing transactions for logged users;
- Protection by authentication.
Client: React, TypeScript, Context API, CSS3,
Server: Node, Express, TypeScript, Prisma ORM, JWT
DataBase: PostgreSQL
Clone the repository
git clone [email protected]:PhilipLages/ng_cash_challenge.git
go to project's directory
cd ng_cash_challenge
Start containers
docker-compose up -d
Attach to backend container
docker exec -it ng_cash_challenge_backend bash
Install dependencies
npm install
Create database
npm run migration
Start server
npm run dev
Attach to frontend container
docker exec -it ng_cash_challenge_frontend bash
Install dependencies
npm install
Start App
npm run dev
Access http://localhost:3000
http://localhost:3001
POST /users/signup
Parameters | Type |
---|---|
username |
string |
password |
string |
POST /users/login
Parameters | Type |
---|---|
username |
string |
password |
string |
GET /users/:id
Parameters | Type |
---|---|
id |
number |
POST /users/:id/transactions
Parameters | Type |
---|---|
username |
string |
value |
number |
id |
number |
GET /users/:id/transactions
Parameters | Type |
---|---|
id |
number |