Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ningenme/geeq

frontend and backend for geeq webapp
https://github.com/ningenme/geeq

axum nextjs ningenme-project openapi react rust-lang typescript

Last synced: 19 days ago
JSON representation

frontend and backend for geeq webapp

Awesome Lists containing this project

README

        

# geeq

## openapi generate
```shell
openapi-generator generate -i ./openapi.yaml -g typescript-axios -o ./frontend/components/generated
openapi-generator generate -i ./openapi.yaml -g rust-axum -p packageName=generated -o ./backend/generated
```

## sqlx prepare
```
cargo sqlx prepare --workspace --database-url "mysql://${NINGENME_MYSQL_GEEQ_USER_USERNAME}:${NINGENME_MYSQL_GEEQ_USER_PASSWORD}@${NINGENME_MYSQL_HOST}:${NINGENME_MYSQL_PORT}/geeq"
```

## backend start
```shell
# local
ENV=local cargo run -p api
```

## fronend start
```shell
# local
npm run dev
```