Skip to content

Jannchie/hits

Repository files navigation

Hits

Endpoint Badge

Uptime Status Uptime Uptime Uptime Average Response

A Simple Rust Web Server Application that counts the number of hits on any keys.

Based on Axum, SQLx, and Postgres.

Usage

Docker

docker compose up --build

Manual

# install sqlx-cli
cargo install sqlx-cli --no-default-features --features postgres

# create the database and run the migrations
sqlx database create
sqlx migrate run

# run the server
cargo run

Build Docker Image

docker build -t jannchie/hits .

About

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors