Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Module That Handle Database API #6

Open
threeal opened this issue Feb 25, 2021 · 0 comments
Open

Module That Handle Database API #6

threeal opened this issue Feb 25, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@threeal
Copy link
Member

threeal commented Feb 25, 2021

Create a new module that handle the database for threeal-bot as an API using mongoose (to handle communication with the MongoDB server), GraphQL.js (to simplify query from client), and probably Redux (to handle state management).

Currently the API hasn't been exists, but behaviors in threeal-bot are accessing and modifying the database directly using mongoose instead of using an API. Thus, when others modules want to acces or modify the database (like viewer app), it would need to do it just like what the behaviors in threeal-bot do. So, to avoid code duplication and to simplify the data query, it would be be better create an API that handle the database for threeal-bot.

@threeal threeal added the good first issue Good for newcomers label Feb 25, 2021
@threeal threeal changed the title Component for Database API Component that handle Database API Feb 26, 2021
@threeal threeal changed the title Component that handle Database API Component That handle Database API Feb 26, 2021
@threeal threeal changed the title Component That handle Database API Component That Handle Database API Feb 26, 2021
@threeal threeal changed the title Component That Handle Database API Module That Handle Database API Feb 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant