Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Darren,
Added backend support for the pharmacy tab.
Mainly added new endpoints and models to support as necessary
Also btw, Idk why the db is dockerized, so idk how to push new changes to the db lol. I put the insert commands for the table inside the setup.sql file (the three tables that are uncommented), so youll prolly need to go and manually insert them
Can just type: psql -U jieqiboh -d patients -h localhost -p 5432
The the password is postgres
Then can just copy the command to insert the tables
Also, Idk why the compiled binary is being used, so I didnt compile my code into the binary. I think it makes more sense to compile once at the end than compiling every time, cuz that makes testing kinda slow (unlesss Im missing something)
So anyway till then please run the backend using the command: go run main.go, instead of ./sothea-backend