jakubferenc / modern-stack

Personal modern stack monorepo with Backend and Frontend, continually updated

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue 3 + TypeScript + Vite + GraphQL + Express + VeeValidate

Intro

This is a modest repo for testing modern tech stack built on vite, vue3, graphql, typescript with postgresql database.

Docker installation

  • docker build . -t modern-stack-server
  • docker-compose up
  • docker exec -it modern-stack-server /bin/bash

Vue 3

The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

About

Personal modern stack monorepo with Backend and Frontend, continually updated


Languages

Language:Vue 55.9%Language:TypeScript 36.5%Language:CSS 2.8%Language:PLpgSQL 1.8%Language:Dockerfile 1.2%Language:HTML 0.8%Language:JavaScript 0.6%Language:Shell 0.4%