Skip to content

nxpm/stack-v4200

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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