Book of Neptune (bookofneptune.io) is a catalogue for aquarium fish and a helpful guide to help aquarists along their fish keeping journey.
Now that the data is mostly captured I am looking for more efficient ways to utilise it. The database design could be considered complex due to the complexity of filtering the data.
In essence there is a table or collection for fish. Each of these fish can have what is called an attribute, or multiple, for example their ideal water temperature. The attributes are in a separate table, where the values of these attributes are stored against an attribute type. The attribute types are lastly in their own table as well. This structure allows me to create many attributes for many fish, and control each attribute by a preset type.
For this project I need you to write a utility library that allows me to fetch fish based on these attributes. In other words, I want to be able to filter fish based on their water preferences as an example. This is a simple example, but there will be a lot more complexity:
– Each fish has a calculated value called Neptune’s Score which is based on several attitudes with weights. This has already been written, but I need the ability to filter by Neptune score.
– Values like difficulty range from 1 to 5, where 1 is very easy. I need to be able to filter by ‘Beginner’ fish as an example, which is any fish that has a value of 1 or 2. It will essentially be an algorithm that needs to be designed, and I will supply you with the logic for this algorithm
– Because of how Directus structures data, it might be better to cache the 500 fish and do the required mathematical calculations on the full data set, or alternatively, use multiple API calls to filter down the information
– I need help implementing sign in for NextJS Auth with Directus. I want to implement sign in with FB and Google alongside standard credential based auth
– I need a wrapper that allows me to create pages that are for certain roles only
I will explain any more details required and can have a call to discuss the requirements in more detail. The first thing I want to get done is the auth.
Hourly Range: $15.00-$25.00
Posted On: March 01, 2024 12:25 UTC
Category: Full Stack Development
Skills:Next.js, Full-Stack Development, JavaScript, React, Web Development, Web Application
Country: South Africa
click to apply
Powered by WPeMatico
