feat(backend): add initial backend

Backend as is can query GitHub for the information that will be
necessary later on in the frontend's pages. It does not cache this
information yet though.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
This commit is contained in:
2023-02-04 12:51:14 +01:00
parent 8413181750
commit 7f217641f0
10 changed files with 2749 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM rust:alpine
WORKDIR /app
COPY Cargo.toml /app/Cargo.toml
COPY Cargo.lock /app/Cargo.lock
COPY src /app/src
RUN cargo build --release
RUN cargo install --path .
ENTRYPOINT [ "phuncache" ]