(Instructions written within a Linux environment!)
- First run
yarn
and install all dependencies in each project:monorepo-example-api
,monorepo-example-www
andshared
- Build our local dependencies first by running
yarn build
in theshared
project. - Create an OAuth GitHub application to get a
client_id
and aclient_secret
to use in the next step. - Make a file called
.env
based off of the.env-template
file in themonorepo-example-api
project (use your new app's client info from the previous step!) The.env
file is ignored by git and should not be checked in. - Run
yarn start:dev
in themonorepo-example-api
project. - (In another terminal) run
yarn start
in themonorepo-example-www
project. - Visit
http://localhost:4200
in your browser. - Sign into your application via GitHub and see the 'Sign In' button turn to a 'Sign Out' button.