vincentntang / tadhacks-2021-team-zero

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NestJS + Vue 3 Monorepo

Setup

yarn install

Dev

Build and run the API

Obtain a .env file with the appropiate settings and put in ./api

cd api
yarn build
yarn start:dev

Open web browser and navigate to swagger ui (defaults to localhost:3000)

Build the Client SDK

First build and run the API, it will write the openapi spec to /api/docs/api-json.json on startup.

cd .
yarn generate-client
cd @app/client
yarn build

Run the Web

First build the Client SDK

Obtain a .env file with the appropiate settings and put in ./web

cd web
yarn dev

Open web browser and navigate to the application (defaults to localhost:8080)

More notes

  1. yarn watch (to run nodemon and rebuild swagger everytime)

About


Languages

Language:TypeScript 71.0%Language:JavaScript 18.3%Language:Python 4.3%Language:Vue 3.1%Language:Shell 1.4%Language:HTML 1.3%Language:CSS 0.5%