Skip to content

Releases: claudineisbezerra/natours-full

v1.1.0-alpha-docker

13 Dec 19:25
Compare
Choose a tag to compare

Dockerize app

  • Start using docker as DEV environment
  • Added Dockerfile.dev and docker-compose.dev.yaml
  • Setup remote debugging support
  • Add Debug using nodemon package and node inspect drive

v1.0.0-alpha

13 Dec 18:55
Compare
Choose a tag to compare

New pages and authentication functionalities

  • Start using express.raw()
  • Implement restriction that users can only review (Create/Update/Delete) a tour that they have actually booked
  • Implement nested booking routes: /tours/:id/bookings and /users/:id/bookings
  • Improve tour dates: add a participants and a soldOut field to each date
    A date then becomes like an instance of the tour
    Then, when a user books, they need to select one of the dates
    A new booking will increase the number of participants in the date, until it is booked out (participants > maxGroupSize).
    So, when a user wants to book, you need to check if tour on the selected date is still available
  • Implement advanced authentication features:
    Confirm user email
    Keep users logged in with refresh tokens
    Two-factor authentication
  • Implement a sign up form, similar to the login form
  • Create verification endpoint to activate account
  • On the tour detail page, if a user has taken a tour, allow them add a review directly on the website. (Implement a form for this)
    On the tour detail page, allow user to book for only not booked dates
    On the tour detail page, allow user to review already booked tours and update existing reviews
    Show new Tour date format. Show only the tour dates booked by the user
  • Hide the entire booking section on the tour detail page if current user has already booked the tour
    Also prevent duplicate bookings on the model
    Booked tour been presented by date
  • Implement “like tour” functionality, with favourite tour page