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

Module That Handle Database API #6

Open
@threeal

Description

@threeal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions