Categorygithub.com/Light2Dark/memecatcher
repository
0.0.0-20240609133141-ce5b2520e6c9
Repository: https://github.com/light2dark/memecatcher.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

Meme Fetcher

A website that fetches memes from Reddit, searches through them to match your query and displays them to you.

Installation

  • Clone the repository
  • Install Go and install the dependencies using go mod download
  • Create a .env file in the root of the project from the .env.example file and replace the values with your own
  • Run the server using go run ./cmd/api

Tips to develop locally

Technologies Used

  • HTMX: Frontend library for making AJAX requests
  • Tailwind: For styling
  • Go: All of the logic is written in Go, responses are sent back in HTML (using Templ)
  • AlpineJS: For minor client side interactivity
  • Neon.tech: Cloud Postgres DB

TODO

  • Logging is not working correctly, errors are not being printed
  • I wanted to add explanation field in the db schema, but it will be costly to do so