All Templates / Authentication
Better Auth
A ready to use auth server! Secure by default and extremely configurable.
Redis
bitnami/redis:7.2.5
Just deployed
/bitnami
Postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/var/lib/postgresql/data
Better-Auth Server
kadumedim/better-auth-starter
Just deployed
A simple but production-ready authentication server that gives you complete control over your user data. This template provides email/password authentication with Redis session storage and a clean API, all powered by Hono.js and Bun. For complete documentation, visit Better Auth Docs.
After deployment, your auth server will be accessible at your Railway-provided URL. Use the following endpoints:
GET /health
- Check the health of the serverGET /api/auth/reference
- Scalar docs for all of the OpenAPI endpointsGET /api/auth/sign-out
- Logout a userPOST /api/auth/sign-up/email
- Register a new user{
"name": "",
"email": "",
"password": "",
"callbackURL": ""
}
POST /api/auth/sign-in/email
- Login a user{
"email": "",
"password": "",
"callbackURL": "",
"rememberMe": ""
}
Connect your frontend using the Better Auth client library and point it to your new auth server or use your own http client.
Template Content
Redis
bitnami/redis:7.2.5Better-Auth Server
kadumedim/better-auth-starterDetails
Carlos Medim's Projects
Created on Mar 16, 2025
24 total projects
7 active projects
100% success on recent deploys
TypeScript
Authentication
More templates in this category
Keycloak
Keycloak template with keywind theme + apple and discord providers
beuz's Projects
469
Authorizer
Open-source authentication and authorization solution for your business.
Lakhan Samani's Projects
597