DeclanB1 / Agile-Web-Development

1 stars 1 forks source link

Post an Event #18

Closed edwardisintou closed 4 months ago

edwardisintou commented 5 months ago

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.

edwardisintou commented 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

edwardisintou commented 4 months ago

update: bugs have been fixed, date and migration are waiting to be done after merge trial into main, browse events now works well

edwardisintou commented 4 months ago

migration, duplicated events problems are to be done

lauhart commented 4 months ago

Duplicate Events appears to be handled by Event_id primary key in app.py

Screenshot 2024-05-15 at 7 03 17 pm
edwardisintou commented 4 months ago

when user post new event with the same event title (or create account with same username), it should flash message about it

edwardisintou commented 4 months ago

update: only migration is to be done

edwardisintou commented 4 months ago

has been completed!