Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyborq/game-table
https://github.com/kyborq/game-table
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kyborq/game-table
- Owner: kyborq
- Created: 2023-10-07T17:52:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-17T14:14:17.000Z (over 1 year ago)
- Last Synced: 2023-10-18T04:04:26.140Z (over 1 year ago)
- Language: Rust
- Homepage: https://game-table-eta.vercel.app
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![image](https://github.com/kyborq/game-table/assets/52314985/76487375-1b46-4d26-b440-bd19fff282af)
# GamePulse
Store and retrieve information about your player state and score
## Backend
0. Install sqlx tools
```
cargo install sqlx-cli --no-default-features --features native-tls,postgres
```1. Database creation from DATABASE_URL
```
sqlx database create
```2. Running migration
Actually there is two ways of doing this
```
sqlx migrate run
```And other way
```
sqlx::migrate!("./migrations").run(&pool).await;
```