Idea of this project to create the same app on different fullstack framework.
- run docker-compose:
docker compose -f ./docker-compose.yml -p fullstack-todos up -d
- Run install in root folder:
pnpm install
- Cd to desired app (example: apps/next):
cd apps/next
- Run install again:
pnpm install
- Add .env in root folder (generate your own jwt-secret: https://www.javainuse.com/jwtgenerator):
DATABASE_URL="postgres://myuser:mypassword@localhost:5432/testing-db" JWT_SECRET=[insert your jwt-secret here]
- In root package.json run script to generate prisma types
pnpm run generate-types
- In root package.json run script to start desired app:
pnpm run app:next-dev
- Every app will use the same DB with prisma ORM
- If it's possible, every app should use tailwind in order to share styles between apps
- UI npm packages should be avoided
- Add Next.js App
- Add SvelteKit App
- Deploy and set up ci/cd
- Add Signal App
- Add Nuxt App
- To be added...