-
-
Notifications
You must be signed in to change notification settings - Fork 144
Full Stack Development
Alex Ball edited this page Oct 31, 2022
·
1 revision
We use Docker and Docker Compose V2 to run the app locally using containers. To build and run the full app with a snapshot of the dev database:
yarn compose up --build- Firebase emulators run functions code and a local Firestore instance, seeded with a snapshot of the development environment
- A Typesense container runs local search
- A Next.js container builds and serves the frontend with hot-reload
- A Typescript container watches the functions directory and rebuilds on save
-
yarn typesense-admin -e local consolestarts a node console with aclientglobal for the local environment. -
yarn firebase-admin -e local consolestarts a node console withfirebase,db,auth,admin, andapi(MA Legislature API) globals for the local environment.