kochie / guardian-server

Server for communicating with guardian hosts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move to mongoDB

kochie opened this issue · comments

MongoDB is better suited as a key value store and should be used instead of PostgreSQL.

  • Add Mongo to docker-compose.
  • Write methods in library to connect to database.
  • Create API to save/retrieve data in database.
  • Create data structs in Go to represent database.