{"repo":"Darlley/saas-admin","free":true,"listed":false,"github":"https://github.com/Darlley/saas-admin","clone":"git clone https://github.com/Darlley/saas-admin.git","description":"Template para micro-saas","language":"TypeScript","stars":14,"topics":["authjs","next-auth","nextjs","prisma-orm","resend","shadcn-ui","stripe"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"SAAS ADMIN SETUP Setup the project 1. Rename .env-examples to .env 2. Run pnpm install to install the dependencies 3. Run docker compose up -d or (setup a Supabase new project) to start the database [!NOTE] Open database in http://localhost:8080/ with Adminer Container - Set PostgreSQL to System - Set postgres to Server - Set postgres to User - Set postgres to Password - Set postgres to Database 4. Run pnpm prisma db push to setup the database 5. Run pnpm prisma generate to generate the Prisma client 6. Run npx auth secret to generate the secret key for the authentication 7. Copy the secret key and paste in the .env file 8. Run pnpm dev to start the application Setup the Stripe 1. Go to https://stripe.com/br 2. Create a new account 3. Get the API keys (Publishable key and Secret key) 4. Paste the API keys in the .env file Setup the Auth [!NOTE] Até o momento a autenticação está configurada com credenciais de acesso (email + password), se quiser configurar com outros métodos, como Google, GitHub, etc, basta gerar o secret key e configurar no .env - GitHub - Google Ajuda e tutoriais 1. Next Auth V5 - Advanced Guide (2024) (Code With Antonio) 2. [Micro-SaaS na Prática: Setup com Next.js 14, Shadcn UI e Autenticação com Next Auth [+ Bônus]](https://youtu.be/Lvxpl0bwYf8) (Vibe Dev) 1. Crie uma nova conta 2. Faça login [!NOTE] Após a criação da conta você pode verificar que haverá um novo cliente para o seu email no Dashboard do Stripe. Principais funcionalidades implementadas: Fea","default_branch":null,"files":null,"tree":[],"storefront":"/r/Darlley","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Darlley/saas-admin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}