This repository contains a remix starter kit + deployment to render.
This starter kit includes a full DB, user-registration, and authentication.
- node >=14
- docker and docker-compose
- framework: remix
- deployment/hosting: render
- DB: postgres
- ORM and migrations: prisma
- styles: tailwindcss
- UI components: daisy ui
- environment variables: dotenv
- local dependencies: docker +
docker-compose
Run npm install
.
Copy .env.example
to .env
:
cp .env.example .env
From your terminal:
npm run dev
This starts your app in development mode, rebuilding assets on file changes.
This project uses an "Infrastructure as Code" approach, and the deployment configuration is defined in the render.yaml
file at the root of the project.
See Render's IaC documentation for more.
To deploy this app, follow the directions to connect your render.yaml
to your render account:
- Fork this repository
- Optionally update the
name
of your service in therender.yaml
file - Open the render dasbhoard, Click Blueprints in the navigation sidebar.
- Click the New Blueprint Instance button.
- Select your forked repository
Once selected, you’ll see a list of the changes that will be applied based on the contents of render.yaml. If there’s an issue with the file you’ll see an error message. If everything looks good, click Apply to create the resources defined in your file.
Both an application server and a database should be created.
Once the deployment is complete, you should be able to open up your application in the public URL provided by render.