platformatic quick start demo app
pnpm install
pnpm run dev
Platformatic Service in public beta.
pnpm run service
This template comes with two GitHub Actions that handle automatically deploying your app to production environment.
Prior to your first deployment, you'll need to do a few things:
Sign up and log in to Fly
fly auth signup
Create a new app on Fly:
fly apps create platformatic-starter
Create a new GitHub Repository
Add a FLY_API_TOKEN
to your GitHub repo. To do this, go to your user settings on Fly and create a new token, then add it to your repo secrets with the name FLY_API_TOKEN
.
Create a persistent volume for the sqlite database for your app. Run the following:
fly volumes create data --size 1 --app platformatic-starter
Now that every is set up you can commit and push your changes to your repo. Every commit to your main
branch will trigger a deployment to your production environment.
We use GitHub Actions for continuous integration and deployment. Anything that gets into the main
branch will be deployed to production after running tests/build/etc.
This project uses pre-commit to run checks before committing your code. To install it, run:
pre-commit install
👤 Dung Huynh
Give a ⭐️ if this project helped you!