Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nxpm/stack-v4190
https://github.com/nxpm/stack-v4190
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nxpm/stack-v4190
- Owner: nxpm
- Created: 2021-03-23T23:18:16.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-23T23:22:19.000Z (almost 4 years ago)
- Last Synced: 2023-03-08T03:32:25.614Z (almost 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 452 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web
This project was generated using [@nxpm/stack](https://github.com/nxpm/stack) which is based on [Nx](https://nx.dev).
# 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.
```shell
yarn setup
```# Development server
Start Api
```shell
yarn dev:api
```Start Web
```shell
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:
```shell
yarn build:sdk
```Or run it in watch mode
```shell
yarn dev:sdk
```# Building the project
You can build both apps into a production build:
```shell
yarn build
```After that, you can run the production app:
```shell
yarn start
```Build Api
```shell
yarn build:api
```Build Web
```shell
yarn build:web
```# Components
```markdown
Api: api
Web: web
```