PREREQUISITE: Get PostgreSQL server locally or via docker:
docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=123 -d postgres (where 123 is your postgres user password)
There are to possible scenarios to start the app:
-
Run
yarn run client-server:installto install both server and client dependencies -
Run
yarn run dbto initialize database (tweak DB connection settings viaserver/config/config.json) -
Run
yarn run client-serverto run both client and server in development watch mode.
-
Go to
serverfolder and runyarnto install server dependencies -
Run
yarn run dbto initialize database (tweak DB connection settings viaserver/config/config.json) -
Run
yarn run server:watchto run server in development watch mode -
Go to
clientfolder and runyarnto install client dependencies -
Run
yarn run devto run client in development watch mode.