/typescript-monorepo-starter

A single repo with Typescript frontend and backend.

Primary LanguageTypeScriptMIT LicenseMIT

Typescript MonoRepo

This is a monorepo using React/Redux/Typescript on the frontend and Hapi/Typescript on the backend.

Dev dependencies

Jake setup

npm install
npx jake --tasks

Database setup

npx jake db:create db:migrate

Creating a new migration

npx jake "db:new-migration[name-of-migration]"

Running the build

npx jake

Building the container

npx jake deployments:app

Running the built container

docker run -p 3000:3000 -e PORT=3000 -it --tty --rm --entrypoint web starter-app