Skip to content

yaniv-peretz/full-stack-template

 
 

Repository files navigation

Full Stack Project Template

Stack

  • DB: Postgres
  • Server: Node.js(Express), Prisma
  • Client: Vue stack - Vue 3, Pinia, Element-plus
  • Dev Tools: Typescript, Prettier, Eslint, Docker
  • Test Frameworks: Jest, Playwright
  • Authentication: Basic Authentication
  • Authorization: JSON Web Tokens (JWT)

Init

Run once to set up the development environment.

  1. npm run compose to start a postgres docker (with template database)
  2. npm run init to install client & server dependencies + generate Prisma files.

Development

  1. npm run dev-client hot reload dev server (vite).
  2. npm run dev-server hot reload dev server (nodemon).

Build

  1. npm run docker-build builds the docker image with both server & client. The build is tagged based on package.json name + version keys.
  2. npm run docker-run-locally runs the docker image locally.

Test

  1. npm run type-check type check (compiles) both server & client.
  2. npm run lint lint (eslint) both server & client.
  3. npm run test Runs Jest tests for both server & client.
  4. npm run test-e2e Run Playwright E2E tests (prerequisite: npm run docker-run-locally).

Hint: npm run test-e2e:create creates a new E2E test (prerequisite: npm run docker-run-locally).

About

Super Full Stack template. with Vue + express + trpc + prisma + Jest + Playwright + Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 52.4%
  • Vue 37.9%
  • CSS 6.9%
  • Shell 1.9%
  • HTML 0.9%