https://github.com/anthonycorletti/modal-fullstack-example
Run a fullstack example app on Modal.
https://github.com/anthonycorletti/modal-fullstack-example
fastapi html htmx jinja2 modal python tailwindcss
Last synced: 3 months ago
JSON representation
Run a fullstack example app on Modal.
- Host: GitHub
- URL: https://github.com/anthonycorletti/modal-fullstack-example
- Owner: anthonycorletti
- License: mit
- Created: 2022-11-29T20:59:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-29T21:58:44.000Z (over 3 years ago)
- Last Synced: 2026-01-03T16:32:44.411Z (6 months ago)
- Topics: fastapi, html, htmx, jinja2, modal, python, tailwindcss
- Language: CSS
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# modal-fullstack-example
Run a fullstack example app on [Modal](https://modal.com).
## Usage
A proof-of-concept, fullstack service, fullstack meaning frontend ui and backend api, that runs on [Modal](https://modal.com).
To get started, first clone this repo
```bash
git clone https://github.com/anthonycorletti/modal-fullstack-example.git
```
Then, follow the [contributing guide](./CONTRIBUTING.md) to install the app.
Once the app is installed, you can run it locally –
Install and build tailwindcss
```sh
./scripts/install-tailwind.sh
./scripts/build-tailwind.sh
```
Then, run the app
```sh
./scripts/run-uvicorn.sh
```
When you're ready to deploy to modal you can run
```sh
./scripts/modal-deploy.sh
```