/todos

Primary LanguageTypeScriptMIT LicenseMIT

Todos

Running in dev mode

For front-end

cd web
yarn
yarn dev

For back-end

cd server
docker compose up # Start db services for development
yarn
yarn watch # Watch for typescript file changes

On another tab:

yarn dev

Running in production

yarn build
cd server
cp .env.example .env

Set the env variables in .env. Then:

NODE_ENV=production yarn start

Or, with Docker - set the env variables in the Dockerfile and run:

docker build -t todos .
docker run -p 8080:8080 todos