About

This website is a light version of my web app for text notes. The backend is written in Rust and uses a PostgreSQL database.

This frontend supports some markdown. You can try it out by going to /notes/light/showcase/.

The idea behind this particular frontend was to make it with the most minimal stack. I wanted a static layout with easy customizability of the base URL and the backend URL. So including a build step was necessary.

I decided on using Vite. Apart from Vite and a linter there are no dependencies in this project. The website is built as a set of static assets and is served with Nginx as one of the docker services behind Traefik.

Each page of this app is written as a separate index.html file in an appropriate directory, which is hilarious. Even thought they all share the same JavaScript code from one main.js file, I would never advise anyone to write the same layout eight separate times, it is not fun.

By the way, you can also visit andyrift.ru, which is not written in such a stupid way.