diff --git a/Makefile b/Makefile index ed0b765..e801c43 100644 --- a/Makefile +++ b/Makefile @@ -13,13 +13,13 @@ help: @echo .PHONY: help -## backend-server: Build and run the backend from source -backend-server: +## backend: Build and run the backend from source +backend: @cd backend && go run . .PHONY: server -## frontend-server: Build and run the frontend from source -frontend-server: +## frontend: Build and run the frontend from source +frontend: @npx vue-cli-service serve .PHONY: server diff --git a/README.md b/README.md index 4599f78..60df876 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,21 @@ # rfd-fyi -## Dev +This repository provides a simple, less-distracting overlay for hot deals posted on https://forums.redflagdeals.com. + +The frontend is made with Vue 3 and the backend is written in Go. The backend exists for caching purposes; to prevent excessive requests to RedFlagDeals itself. + +It is hosted at [rfd.fyi](https://rfd.fyi). + +## Local Development + +To get up and running locally: in one pane/tab, run: + +```sh +make backend +``` + +In another pane/tab, run: ```sh make frontend -make backend ``` diff --git a/src/theme.css b/src/theme.css index c50b4b0..dcd8165 100644 --- a/src/theme.css +++ b/src/theme.css @@ -4,6 +4,13 @@ body { background-color: black; + max-width: 100%; +} + +html { + background-color: #282828; /**/ + color: #ebdbb2; /**/ + min-width: 100%; } .thead { @@ -163,10 +170,6 @@ h6 { font-family: "PT Sans Narrow", sans-serif; font-weight: 700; } -html { - background-color: #282828; /**/ - color: #ebdbb2; /**/ -} body { background-color: #3c3836; /**/ margin: 0 auto;