Skip to content

three-consulting/epoc-frontend

Repository files navigation

Welcome to the Epoc frontend

Run yarn install to install all dependencies (we're assuming you've got yarn installed already).

To generate types from the backend, be sure that you've got the backend running locally and run yarn types. This will generate types for you to the types folder in lib/types/api.ts file.

Run app in dev mode

Requirements:

  • Working secrets
  • Heroku CLI with correct access rights
  • docker installed (compose is included in latest versions)

To run the app with containerized backend and db locally, run yarn dev-local (starts local frontend, backend and db).

To run the app with separate backend, run yarn dev-local-frontend (starts only frontend).

To run the app using the backend deployed in heroku, run yarn dev-heroku.