BeKind, Rewind is a draft project for a simple web frontend UI of an offline Movie Tracker app I plan to build in the near future. This project serves as a playground for exploring HTMX and Go.
Currently, the app has no backend, and movies are stored in-memory with non-persistent storage. The few movies displayed when you run the app are hardcoded. However, you can edit, delete, and add new movies to the list.
- View a hardcoded list of movies.
- Edit and delete movies.
- Add new movies to the list.
Before running the app, ensure that you have Go version 1.22 or higher installed on your system.
First, install Go if you haven't already. You can download Go from the official website: https://golang.org/dl/.
Clone this repository to your local machine:
git clone https://github.com/markort147/bekind.gitNavigate to the directory where you cloned the repo, then run the following command:
go build ./cmd/bekindrewind/ -o bekindrewindRun the app:
./bekindrewind -config <path-to-your-config-yaml>go install github.com/markort147/bekind/cmd/bekindrewind@latestRun the app:
~/go/bin/bekindrewind -config <path-to-your-config-yaml>Open your browser and go to http://localhost:[PORT] to view the app in action.
For a smoother development experience, I recommend using Air, which provides live reloading. The repository includes a .air.toml configuration file for easy integration with Air.
To use Air:
- Install Air by following the instructions on the official Air GitHub page.
- Run the app with Air:
air .This will automatically reload the application whenever changes are made to the code, enhancing your development workflow.