Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daniel-le97/my-sidebase-struggle
https://github.com/daniel-le97/my-sidebase-struggle
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/daniel-le97/my-sidebase-struggle
- Owner: daniel-le97
- Created: 2023-01-26T17:37:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T17:34:48.000Z (about 1 year ago)
- Last Synced: 2024-12-09T14:57:53.610Z (about 1 month ago)
- Language: TypeScript
- Size: 860 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# my-sidebase-struggle-app
This is a [sidebase merino](https://sidebase.io/) app created by running `npm create sidebase@latest`. This project uses the following technologies for a great developer- and user-experience:
- [TypeScript](https://www.typescriptlang.org/)
- [Nuxt 3](https://nuxt.com)
- Prisma ORM
- nuxt-auth
- tRPC 10
- Tailwind CSS
- Naive UI
- GitHub Actions based CI## How to get going?
This is a straight-forward setup with minimal templating and scaffolding. The options you selected during the sidebase CLI setup are all here though. Good places to continue reading are:
- [the First Steps documentation](https://sidebase.io/sidebase/usage)
- [our discord](https://discord.gg/auc8eCeGzx)Some tasks you should probably do in the beginning are:
- [ ] replace this generic README with a more specific one
- [ ] install the Vue Volar extension
- [ ] enable [Volar takeover mode](https://nuxt.com/docs/getting-started/installation#prerequisites) to ensure a smooth editor setup
- [ ] Zenstack: Run `npx zenstack generate` to re-generate the client after changing the schema, this will also build routers into server/trpc/routers/generated
- [ ] Prisma: Run `npx prisma db push` to sync the schema to your database after changing the schema
- [ ] Auth: Configure your auth providers to the [NuxtAuthHandler](./server/api/auth/[...].ts)
- [ ] Auth, optional: Enable global protection by setting `enableGlobalAppMiddleware: true` in [your nuxt.config.ts](./nuxt.config.ts). Delete the local middleware in the [protected.vue](./pages/protected.vue) page if you do## additional features
this template uses ZenStack to automatically create trpc routers and procedures### Setup
Make sure to install the dependencies:
```bash
npm install
```### Development Server
Start the development server on http://localhost:3000
```bash
npm run dev
```### Production
Build the application for production:
```bash
npm run build
```Locally preview production build:
```bash
npm run preview
```