Skip to content

anthonycorletti/modal-fullstack-example

Repository files navigation

modal-fullstack-example

Run a fullstack example app on Modal.

Usage

A proof-of-concept, fullstack service, fullstack meaning frontend ui and backend api, that runs on Modal.

To get started, first clone this repo

git clone https://github.com/anthonycorletti/modal-fullstack-example.git

Then, follow the contributing guide to install the app.

Once the app is installed, you can run it locally –

Install and build tailwindcss

./scripts/install-tailwind.sh
./scripts/build-tailwind.sh

Then, run the app

./scripts/run-uvicorn.sh

When you're ready to deploy to modal you can run

./scripts/modal-deploy.sh