- SSR
- Authentication with cookies
- Backed by Prisma and postgres
- Authorizing resource access
- Locale handling with SSR
- UI components via shadcnui
You can deploy this to Fly. You just have to run fly deploy --remote-only
. This template already has a Github action that does that for you, you just need to setup a FLY_API_TOKEN
for your Github repo.
To run the app locally, make sure your project's local dependencies are installed:
npm i
Afterward, start the development server like so:
npm run dev
Open up http://localhost:3000 and you should be ready to go!
This template repo has playwright
setup with react-testing-library
utilities. You can see some example tests on the repo itself.
It loads up .env.test
file config, so it uses a different database and a different dev server port for the E2E tests.
All tests are run in sync by a single worker so we can safely reset the database before each test starts.
Before running npm run dev test
for the first time, make sure to run these commands:
npx playwright install
npx playwright install-deps