chore: delete backend

Initially, the backend was meant to cache calls to the GitHub API.
However, I decided to just cache them in the sessionStorage of the
visitor’s browser instead.
This commit is contained in:
2023-03-22 11:46:09 +01:00
parent e438e120cb
commit 668e1e2a96
10 changed files with 7 additions and 2120 deletions

View File

@@ -1,5 +1,10 @@
#+title: phundrak.com
#+html: <a href="https://www.gnu.org/software/emacs/"><img src="https://img.shields.io/badge/Emacs-30.0.50-blueviolet.svg?style=flat-square&logo=GNU%20Emacs&logoColor=white" /></a>
#+html: <a href="https://orgmode.org/"><img src="https://img.shields.io/badge/Written%20with-Org%20mode-success?logo=Org&logoColor=white&style=flat-square"/></a>
#+html: <a href="https://v2.vuepress.vuejs.org/"><img src="https://img.shields.io/badge/Framework-Vuepress-42D392?logo=Vue.js&logoColor=white&style=flat-square"/></a>
#+html: <a href="https://conlang.phundrak.com"><img src="https://img.shields.io/badge/dynamic/json?label=Website&query=%24%5B%3A1%5D.status&url=https%3A%2F%2Fdrone.phundrak.com%2Fapi%2Frepos%2Fphundrak%2Fconlang.phundrak.com%2Fbuilds&style=flat-square&logo=buffer" /></a>
* Introduction
This is the repository for my website [[https://phundrak.com][phundrak.com]]. While it is not
yet live on this address, development versions can be found at
@@ -7,13 +12,12 @@ yet live on this address, development versions can be found at
=develop= branch while the latter follows the =master= branch).
* Structure of the project
** Frontend
The frontend is made with [[https://v2.vuepress.vuejs.org/][VuePress]], a Vue-powered static site
This website is made with [[https://v2.vuepress.vuejs.org/][VuePress]], a Vue-powered static site
generator. You can find its Node.JS configuration in the [[file:package.json][package.json]]
file as well as its content and general configuration in the directory
[[file:content/][content]].
*** Installing and running
** Installing and running
To install the NPM dependencies for the project, run one of the
following commands:
#+begin_src shell
@@ -38,18 +42,3 @@ npm run build
#+end_src
The compiled version of the website can then be found in =content/.vuepress/dist=.
** Backend
This is a simple backend server written in Rust, offering a REST API
at the address =https://phundrak.com/api/v1=. It communicates with a
Redis instance in order to cache some queries the frontend makes.
*** Installing and running
The currently preferred way of running the project is through
=docker-compose= using these commands:
#+begin_src shell
docker-compose pull # retrieve the necessary images (optional)
docker-compose build
docker-compose up # add option -d to detach immediately
docker-compose down # to stop the container if you detached it previously
#+end_src