Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colinespinas/starter
Battery included Nuxt based starter template for my projects. Created to get a great DX, UX and UI as fast as possible.
https://github.com/colinespinas/starter
devbox drizzle-orm nuxt3 radix-vue starter-template stripe tailwind umami-analytics vue
Last synced: 22 days ago
JSON representation
Battery included Nuxt based starter template for my projects. Created to get a great DX, UX and UI as fast as possible.
- Host: GitHub
- URL: https://github.com/colinespinas/starter
- Owner: ColinEspinas
- Created: 2023-07-21T18:32:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-13T19:44:13.000Z (about 2 months ago)
- Last Synced: 2024-09-15T00:08:00.691Z (about 2 months ago)
- Topics: devbox, drizzle-orm, nuxt3, radix-vue, starter-template, stripe, tailwind, umami-analytics, vue
- Language: TypeScript
- Homepage: https://starter-colinespinas.vercel.app/
- Size: 929 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Starter
Battery included Nuxt based starter template for my projects. Created to get a great DX, UX and UI as fast as possible.
## Main Features
- 🛡️ Strongly-typed from database to UI components
- 🔐 Secure authentication system with flexible roles and permissions
- 📈 GDPR & CCPA compliant analytics
- 💸 Payment processing
- 🌍 i18n support## Built with
- [Nuxt](https://nuxt.com/)
- [Tailwind](https://tailwindcss.com/) + [Radix Vue](https://www.radix-vue.com/)
- [Nuxt icon](https://github.com/nuxt/icon) + [Phosphor icons](https://phosphoricons.com/)
- [Drizzle](https://orm.drizzle.team/)
- [Kinde](https://www.kinde.com/)
- [Umami](https://umami.is/)
- [Stripe](https://stripe.com/)
- [Tolgee](https://tolgee.io/)## Setup
This project uses [devbox](https://www.jetpack.io/devbox/docs/) to provide a consistent development environment. Make sure you have it [installed](https://www.jetpack.io/devbox/docs/installing_devbox/) before continuing.
Once you have devbox installed, run the following commands to get started:
```bash
# Enter devbox shell
> devbox shell# Install package managers and dependencies
> pnpm install# Init postgres and create dev database
> devbox run db:init
> devbox run db:up
> devbox run db:create# Generate migrations (needed if you deleted .drizzle to reset the migrations)
> pnpm migration:generate# Run migrations
> pnpm migration:run# Start the app
> pnpm dev# (Optional) Start Drizzle studio
> pnpm studio
```## Development
To get the project running locally, you'll need to start the app and the database:
```bash
# Enter devbox shell
> devbox shell# Start the database
> devbox run db:up# Start the app
> pnpm dev
```To stop the database, run:
```bash
> devbox services stop postgresql
```### Migrations
Using drizzle as an ORM, we have a lot of tools to manage database migrations:
```bash
# Generate new migrations
pnpm migration:generate# Drop existing migrations
pnpm migration:drop# Pull migrations from database
pnpm migration:pull# Run migrations
pnpm migration:run
```## Deployment
TODO: Add deployment instructions