- Clone this project
- Docker
- In api and web folder.
- Copy
.env_example
as.env
and update the environment variables with the value. - In real world projects, sensitive information is strictly not allowed to be share nor expose. Exception for this, for quick setup
- To start the project, in root folder, run
docker-compose -f ./docker-compose.yml up -d
.-d
for detach after completion - The initial setup will run services (web and api) and create database table
- Once it is complete, run
docker exec ace_api npx ts-node src/database/seeds/initial_seed.ts
to insert seed data. A seed data is an initial data.
- web - Node 16/React JS
- api - Node 16/NodeJS/Express/TypeScript/Jest
- Database - PostgreSQL 14.8
- Data - Source from Kaggle seed into DB
- Chart Library - igniteui-react-charts
- Open browser and run
http://localhost:8080
- It will show login page
- To login, use anonymous credentials. Email:
[email protected]
Password:AlQcExwqyvMExVJ
- It will redirect to home dashboard
- In terminal, run
docker exec ace_api npm run test
. - It will run all test as follow.
- Download and install Table+ .
- Open Table+ and Create Connection by clicking [+] and Select
PostgreSQL
. - Enter Name
Ace Local
, Host127.0.0.1
, Userace-user
, PasswordzMYTAKG6QjM
, Databaseace
and PORT5432
. - Click button Connect