Skip to content

Edgallen/fullstack-todos

Repository files navigation

Fullstack todos

Idea of this project to create the same app on different fullstack framework.

Installation

  1. run docker-compose:
    docker compose -f ./docker-compose.yml -p fullstack-todos up -d
  2. Run install in root folder:
    pnpm install
  3. Cd to desired app (example: apps/next):
    cd apps/next
  4. Run install again:
    pnpm install
  5. 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]
    
  6. In root package.json run script to generate prisma types
     pnpm run generate-types
  7. In root package.json run script to start desired app:
     pnpm run app:next-dev

Rules

  1. Every app will use the same DB with prisma ORM
  2. If it's possible, every app should use tailwind in order to share styles between apps
  3. UI npm packages should be avoided

Roadmap

  • Add Next.js App
  • Add SvelteKit App
  • Deploy and set up ci/cd
  • Add Signal App
  • Add Nuxt App
  • To be added...

About

Same fullstack todo list on different frameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published