Closed edwardisintou closed 4 months ago
Events database now is implemented using SQLAlchemy on branch Security, but it violates with other functions in app.py (e.g, login_required), browse-events function is also affected, and still migration is required to be added
update: bugs have been fixed, date and migration are waiting to be done after merge trial into main, browse events now works well
migration, duplicated events problems are to be done
Duplicate Events appears to be handled by Event_id primary key in app.py
when user post new event with the same event title (or create account with same username), it should flash message about it
update: only migration is to be done
has been completed!
User Story: As a user, I want to be able to post my event on the platform, so that I can communicate my needs to others and receive responses from the community.
Task 1: Design the layout and structure of the event posting form. Task 2: Implement HTML and CSS for the event posting form, including input fields for relevant information such as type of sports, number of players needed, and skill level required, etc. Task 3: Add backend functionality to handle event submission, including validation of user input and storing events in the database. Task 4: Implement logic to associate events with user accounts if users are required to be logged in. Task 5: Test the event posting functionality to ensure that events can be successfully submitted and displayed on the platform. Task 6: Add appropriate error handling and feedback messages for users during the event submission process. Task 7: Ensure that the event posting form is responsive and accessible across different devices and screen sizes.