A little Conect Four app built using:
π§ Under Construction π§
nvm use
corepack enable
yarn install
If you don't have mkcert
installed already, install it. π
brew install mkcert
# NOTE:
# If this is your first time using mkcert, you'll need to run it with
# the `-install` flag. This only needs to be done once, and it creates
# a local certificate authority against which we will create our own
# self-signed SSL certificates.
mkcert -install
If this is your first time going through the setup instructions, you will need to make the install.sh
script executable.
chmod +x nginx-reverse-proxy/install.sh
Finally, run the script. π
nginx-reverse-proxy/install.sh
docker compose up --build --no-cache all -d
There are a number of root-level scripts for working with each workspace:
yarn client:base
yarn server:base
yarn shared:base
There are also scripts for seeding your local MongoDB instance.
# Just to make sure that the database container is running
docker compose up mongo -d
yarn server:ncs seed_db
Note:
ncs
stands for 'nest commander script'
Other scripts supported by server:ncs
can be found in the server/src/scripts/commands/
directory.
yarn client:test
yarn server:test
yarn shared:test
connect-four-app
β£ββ π client
β β£ββ π public
β β£ββ π src
β β£ π³ Dockerfile
β β£ π¦ package.json
β β βοΈ tsconfig.json
β£ββ π server
β β£ββ π src
β β£ββ π test
β β£ π³ Dockerfile
β β£ π¦ package.json
β β βοΈ tsconfig.json
β£ββ π shared
β β£ββ π src
β β£ π³ Dockerfile
β β£ π¦ package.json
β β βοΈ tsconfig.json
β£ π³ docker-compose.yaml
β£ π¦ package.json
β£ βοΈ tsconfig.json
β π yarn.lock