Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dnyfzr/rusty-backend
🦀 Rust backend API handler & DB
https://github.com/dnyfzr/rusty-backend
github-api rust rust-lang sqlite
Last synced: 3 months ago
JSON representation
🦀 Rust backend API handler & DB
- Host: GitHub
- URL: https://github.com/dnyfzr/rusty-backend
- Owner: DNYFZR
- License: mit
- Created: 2024-10-26T14:41:22.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T12:36:16.000Z (3 months ago)
- Last Synced: 2024-10-29T13:08:29.553Z (3 months ago)
- Topics: github-api, rust, rust-lang, sqlite
- Language: Rust
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
# Rusty Backend
[![CI-Pipeline](https://github.com/DNYFZR/rusty-backend/actions/workflows/test.yaml/badge.svg)](https://github.com/DNYFZR/rusty-backend/actions/workflows/test.yaml)
[![CD-Pipeline](https://github.com/DNYFZR/rusty-backend/actions/workflows/build.yaml/badge.svg)](https://github.com/DNYFZR/rusty-backend/actions/workflows/build.yaml)Side project which runs searches of the Github API and store the results in a NoSQL styled SQLite database.
## API Module
This extracts the top 10 starred repos from the Github API, using the users input as the search term for the API.
## Database Module
This handles updates of the sqlite database `app.db`
The DB contains a single table with two columns :
- name : text primary key
- data : JSON## Deployment
Within the `.github/workflows` directory :
- `test.yaml` : runs testing of the application on changes to the main branch
- `run.yaml` : schedules a run of the modules & updated of the DB on a schedule for a defined range of search terms