Submitted by: Kev
This web app is designed for Gen Z thrill-seekers where users can post challenges and other users can accept these challenges by clicking the โBetโ button. It incorporates all four CRUD operations allowing users to create, read, update, and delete challenges. Additionally, it tracks the number of bets on each challenge and updates these in real-time.
Time spent: 4 hours 45 minutes spent in total
The following required functionality is completed:
- A create form allows users to submit new challenges.
- All submitted challenges can be read on the homepage.
- A challenge can be updated once it has been submitted.
- A challenge can be deleted once it has been submitted.
The following stretch features are implemented:
- The app keeps track of the bet count for each challenge and updates this count in the database when the Bet button is clicked.
- The site displays the total number of users who have accepted each challenge.
- List anything else that you added to improve the site's functionality!
Here's a walkthrough of implemented user stories:
GIF created with Kap for macOS.
One of the main challenges encountered was ensuring the bet count updated correctly on rapid user interactions. This required careful management of state and database transactions to ensure data integrity and responsiveness.
Copyright [2023] [Kev]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.