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

Pending tasks before going live #16

Open
16 of 20 tasks
anandology opened this issue Sep 17, 2022 · 0 comments
Open
16 of 20 tasks

Pending tasks before going live #16

anandology opened this issue Sep 17, 2022 · 0 comments

Comments

@anandology
Copy link
Member

anandology commented Sep 17, 2022

We'll go live with the challenge by noon today.

Here are the pending tasks.

Tasks

  • Task 7: Implement ticket booking flow
  • Task 8: Email conformation on booking
  • Task 9: Login & my trips

Task 7: ticket booking flow

  • add a schema to the table to store the bookings
  • add date to the search form
  • add a new flag flag_bookings
  • add a Book button to the train results when flag_bookings in on
  • web page with booking form
  • add a placeholder book_ticket and get_trips(email) functions to db.py

Task 8: Email confirmation on booking

  • Add sendmail config to config.py
  • Add a notifications.py with send_booking_confirmation_email function, which the user will have to implement
  • Add before_request hook to switch to a test sendmail config. (could this be temporarily implemented in hamr by sending a special HTTP header?)

Task 9: Login & My Trips

  • Add a flag flag_login
  • Add a login link on the top nav
  • implement a login page, that just asks for email and logs you in, set that in the cookie
  • show Hello $email and logout links in the nav after successful login
  • add a my trips link in the top nav on successful login
  • add db.get_trips function
  • implement /account/trips endpoint and a trips template

Other tasks

  • update the Readme of the repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant