Add features to the API
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 217
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Clone the repository, run npm install && npm start, and inspect the existing API routes and database access. Implement the specified partial-name search and name-language translation endpoints, then verify they return the requested matches and translations while respecting the production database query limits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100