Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 1.03 KB

README.md

File metadata and controls

78 lines (50 loc) · 1.03 KB

Web

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

Setup

After download this project, you first need to run the setup.

Make sure to have Docker running, it will use docker-compose to start the database server.

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/shared/util/sdk/src/graphql.

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

yarn build:sdk

Or run it in watch mode

yarn dev:sdk

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