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:install
to install both server and client dependencies -
Run
yarn run db
to initialize database (tweak DB connection settings viaserver/config/config.json
) -
Run
yarn run client-server
to run both client and server in development watch mode.
-
Go to
server
folder and runyarn
to install server dependencies -
Run
yarn run db
to initialize database (tweak DB connection settings viaserver/config/config.json
) -
Run
yarn run server:watch
to run server in development watch mode -
Go to
client
folder and runyarn
to install client dependencies -
Run
yarn run dev
to run client in development watch mode.