Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruslanguns/rus
https://github.com/ruslanguns/rus
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ruslanguns/rus
- Owner: ruslanguns
- Created: 2021-02-02T22:23:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T17:25:39.000Z (11 months ago)
- Last Synced: 2024-05-28T17:08:21.400Z (6 months ago)
- Language: TypeScript
- Size: 392 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
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
Start the database server (add `-d` to run it in the background):
```shell
docker-compose up
```Copy the `.env.example` file to `.env`:
```shell
cp .env.example .env
```Create the database schema:
```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/web/core/data-access/src/graphql`.
After updating the queries you can re-generate the SDK:
```shell
yarn sdk:web
```Or run it in watch mode
```shell
yarn sdk:web:watch
```# 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
Web: web
```