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

https://github.com/dnyfzr/rs-backend

🦀 automated api handler & database
https://github.com/dnyfzr/rs-backend

backend rest-api rust sqlite-database

Last synced: about 1 year ago
JSON representation

🦀 automated api handler & database

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