Full Stack Web Application similar to financial software that is used in banking institutions | React.js and Node.js
- Run PostgreSQL database in Docker:
docker run -it --name postgres -e POSTGRES_PASSWORD=password -e POSTGRES_USER=postgres -e POSTGRES_DB=bank -p 5432:5432 postgres:14
- Clone the repository and install dependencies.
- Install Node v16.
- Run
client
andserver
by following instructions in corresponding diretories. - Run YugabyteDB in Docker:
docker run -d --name yugabyte -p7000:7000 -p9000:9000 -p15433:15433 -p5433:5433 -p9042:9042 --network db_migration_network \
yugabytedb/yugabyte:2024.1.1.0-b137 bin/yugabyted start \
--background=false \
--enable_pg_parity_tech_preview
-
Execute offline migration.
-
Verify schema and data parity between PostgreSQL and YugabyteDB.
-
Update
.env
file to point to YugabyteDB deployment.... DB_HOST=localhost DB_PORT=5433 DB_USERNAME=yugabyte DB_PASSWORD=yugabyte DB_DATABASE=bank
-
Restart
server
and verify application runs as expected.