Open ghost opened 3 years ago
Hey! This one looks fun, I'd love to help with it. Any recommendation for running the project locally?
thanks @ferueda please bear with me a day or two and I will try to put this together. it should be pretty straightforward I just have to create some database fixtures and migration scripts
@ferueda I have just added a setup guide with a minimal set of database fixtures so it's easy to run the app locally https://github.com/golang-cafe/golang.cafe/commit/0cce17821213d39e80ab9929da0f814bf3977a84
If you have any issues please let me know. You might need Docker installed and a recent Go installation.
@pizzatarian thanks! I'll let you know how it goes
Looks like this isssue can be closed.
currently all database logic resides inside a single file called database.go - we would want to have a better maintained structure by using repository pattern. for each object category we would have a repository that abstracts away the database layer. for example
current structure has
pkg
folderwe could have a structure like the following
this will make the project much easier to maintain