Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Database Connection Code #15

Open
nfloersch opened this issue Feb 23, 2021 · 0 comments
Open

Implement Database Connection Code #15

nfloersch opened this issue Feb 23, 2021 · 0 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@nfloersch
Copy link
Contributor

All of the mock functions for various endpoints will eventually need to actually do CRUD stuff with a database.

So we need some code that will implement linking to the database from service/API.

We will probably use the pg library: https://github.com/brianc/node-postgres

However if whoever takes on this task wants to use a different NPM package / lib to connect, no problem, as long as it is current and supported with good documentation.

Details for the actual database are available from leadership... there is an existing Heroku PostGreSQL database waiting for this connection to happen.

I suggest starting with an existing working Mock function (/contacts) and implementing code that works into that, then abstracting back out from there.

@nfloersch nfloersch added the help wanted Extra attention is needed label Feb 23, 2021
@nfloersch nfloersch self-assigned this Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant