This is a Vite + Vanilla TS project that serves as template for the Neon Auth integration
- Vanilla TS app with Vite, TypeScript and Tailwind CSS
- User authentication powered by Stack Auth
- Ready-to-deploy configuration for Vercel, Netlify, and Render
- Neon account
- Node.js 18+ installed locally
- Create a new Neon project or use an existing one
- Navigate into Neon Auth
- Click "Connect" and go through the OAuth flow until your Neon Auth integration is set
-
Install dependencies:
npm install
-
Create
.env.local
file and copy the variables from the Neon Auth dashboard:# Stack Auth VITE_STACK_PROJECT_ID= VITE_STACK_PUBLISHABLE_CLIENT_KEY=
-
Run the development server:
npm run dev
Open http://localhost:5173 with your browser to see the result.
Contributions are welcome! Please feel free to submit a Pull Request.