#1030: feat: backend for challenges

Issue #1030 by Aadithya-J
feat: backend for challenges Pull Request Details Description Implemented backend which fetches challenge from quine quests. according to issue 836 Type of PR - [x] Feature enhancement Summary -added controller to fetch challenge from quine using axios -setup routes and mongoose model for the challenge -setup index.js to update db and sync regularly for the challenges Screenshots (if applicable) <img width="862" alt="Screenshot 2024-06-11 at 9 24 48 PM" src="https://github.com/digitomize/digitomize/assets/147314019/9b4f1c98-f1d0-4240-82de-cc7a5c3341d7"> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> Summary by CodeRabbit - New Features - Introduced functionality to fetch, update, and sync challenges from MongoDB and an external API. - Added route for fetching a list of challenges and returning it as JSON. - Implemented a MongoDB schema for challenges with necessary fields and validations. - Enhancements - Improved error handling for challenge data retrieval and synchronization processes. - Integrations - Integrated new functions to update and sync challenges, and set up challenge routes for handling requests in both production and development environments. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server