Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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