Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create API to Get Event Records #43

Open
Ugo-X opened this issue Jan 22, 2025 · 9 comments
Open

Create API to Get Event Records #43

Ugo-X opened this issue Jan 22, 2025 · 9 comments
Assignees
Labels
good first issue Good for newcomers NON-REWARDING These issues are not rewarded ODBoost

Comments

@Ugo-X
Copy link
Contributor

Ugo-X commented Jan 22, 2025

Description:
Develop an API endpoint to retrieve stored event records, allowing users to view upcoming events and past events they have registered for.

Requirements:

  • Implement a GET API route to fetch event records from the database.
  • Support filtering by event categories, date range, and user participation.
  • Optimize query performance for large datasets.
  • Return structured JSON responses with relevant event details.

Acceptance Criteria:

  • Users can retrieve event records based on filters.
  • Performance and scalability considerations are met.
  • The API returns appropriate status codes and messages.

ETA 48 hours

@Ugo-X Ugo-X added good first issue Good for newcomers NON-REWARDING These issues are not rewarded ODBoost labels Jan 22, 2025
@Elite-tch
Copy link
Contributor

Can I handle this task?

@jancris100
Copy link

Hey! I'm Jan.
Member of Dojo Coding. I have contributed before to other projects like:

• Dojo
Can I work on this issue?

@abdegenius
Copy link

Mind if I try this one?

@Emmanex01
Copy link

Could I take on this issue?
I'm Emmanuel Tochukwu, frontend and smart contract developer. I have experience building projects using JavaScript, Cairo, Tailwindcss, Typescript and Nextjs. If given this issue, I will deliver as soon as possible.

@13x54n
Copy link

13x54n commented Jan 22, 2025

Could I try solving this?

@Macnelson9
Copy link

Hey there! I’m Uche, a frontend developer with a solid grasp of backend principles, particularly when it comes to API design and performance optimization.

For this task, I’d approach it as follows:

Implement a GET API route to retrieve event records from the database, ensuring it supports filtering by event categories, date range, and user participation.

Optimize the query to handle large datasets efficiently, potentially using techniques like pagination, indexing, and caching to ensure scalability and performance.

Structure the JSON response to include relevant event details, such as the event name, date, category, and user registration status, ensuring the data is clear and organized.

Handle status codes correctly, ensuring users receive meaningful responses, like 200 OK for success, 404 Not Found if no events match the filter, and 500 Internal Server Error for any unforeseen issues.

Ensure the API is built to scale as the event dataset grows, keeping performance in mind.

I’m confident I can deliver a solid API that meets all the requirements and delivers a great experience for users.

ETA: 24 HOURS

Looking forward to taking on this task!

@Ibinola
Copy link
Contributor

Ibinola commented Jan 23, 2025

Could I grab this task?

@hoangkianh
Copy link
Contributor

Can I take this issue?

@Ugo-X
Copy link
Contributor Author

Ugo-X commented Jan 23, 2025

@Ibinola assigned, please join the Telegram group; https://t.me/explorebeyondzerocheck
You have 48 hours, good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers NON-REWARDING These issues are not rewarded ODBoost
Projects
None yet
Development

No branches or pull requests

9 participants