Skip to content

Add features to the API #198

Description

@bluzi

Currently, all the API can do is to search an exact name/alias in the database and return its meaning and translations.
We need more features, such as:

  • Search (/search/:term) - Should return a list of matches by a partial term (Search in both aliases/names)
  • Get translation (/:name/:language) - Should return the translation of :name in :language

Anything else you can think of :)

You can easily run the API just by cloning the repo and run npm install && npm start, then you should be able to browse to http://localhost:3000 and see the API is running.
Your clone will connect to the actual production database, however the user supplied there is only able to select, and is limited by its number of queries per hour.

If you need help or have any ideas, feel free to comment here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions