Skip to content

Latest commit

 

History

History
89 lines (58 loc) · 1.1 KB

README.md

File metadata and controls

89 lines (58 loc) · 1.1 KB

Web

This project was generated using @nxpm/stack which is based on Nx.

Setup

Start the database server (add -d to run it in the background):

docker-compose up

Copy the .env.example file to .env:

cp .env.example .env

Create the database schema:

yarn setup

Development server

Start Api

yarn dev:api

Start Web

yarn dev:web

Generate GraphQL SDK

The queries for the GraphQL SDK are stored in libs/web/core/data-access/src/graphql.

After updating the queries you can re-generate the SDK:

yarn sdk:web

Or run it in watch mode

yarn sdk:web:watch

Building the project

You can build both apps into a production build:

yarn build

After that, you can run the production app:

yarn start

Build Api

yarn build:api

Build Web

yarn build:web

Components

Api: api
Web: web
Web: web