Starter template for my personal projects, works with Nuxt3 + TailwindCSS on the front, Nitro + Drizzle on the back and compatible with most databases.
This project uses devbox to provide a consistent development environment. Make sure you have it installed before continuing.
Once you have devbox installed, run the following commands to get started:
# Enter devbox shell
> devbox shell
# Install package managers and dependencies
> devbox run app:setup
# Init postgres and create dev database
> devbox run db:init
> devbox run db:up
> devbox run db:create
# Run migrations
> nr migration:run
# Start the app
> nr dev
# (Optional) Start Drizzle studio
> nr studio
To get the project running locally, you'll need to start the app and the database:
# Enter devbox shell
> devbox shell
# Start the database
> devbox run db:up
# Start the app
> nr dev
To stop the database, run:
> devbox services stop postgresql
TODO: Add deployment instructions