Hacker GitHub

← All repos

rehacktive/caffeine

View on GitHub ↗ ★ 1,173 Go

A basic REST service for JSON data - enough for prototyping and MVPs!

4 mentions on Hacker News by 3 people: 1 story, 3 comments · first 2021-11-16 · latest 2023-05-27

Mentions per year 4 mentions · busiest year 2021 (3)
20082026
  1. Did something similar in the past: https://github.com/rehacktive/caffeine
  2. Yes, don't do this: https://github.com/rehacktive/caffeine/blob/master/database/... "INSERT INTO %v (id, data) VALUES('%v','%v') ON CONFLICT (id) DO UPDATE SET data = '%v'" Use prepared statements and parameters passed to the db driver,…
  3. Nice to see that the interface for the DB was separated out: https://github.com/rehacktive/caffeine/blob/master/service/s... It's not "MVP" fashion but even for only one implementation making these interfaces is critical IMO. That said, if…
  4. ▲ 206
    Show HN: Caffeine – Minimum viable back end for prototyping
    story by aw4y · 2021-11-16 · 76 comments