Giter Club home page Giter Club logo

hotelzilla-api's Issues

Add CORS

Hi @keroloussamy, @Lucas-Masaba

Please could you help add origin permission in cors for our Front-end app, while connecting to the registration endpoint I receive this error:
image

[2pt]-BE- Add new room

Make a create endpoint to add a new hotel just if the user is an Admin.

Note: Make sure that the "Add item" and "Delete item" links are accessible only by users who are admins.

[4pt]-FE- Add hotel

Add an 'Add hotel' page that Adds a new hotel on the front-end app.

Note: Make sure that the "Add item" and "Delete item" links are accessible only by users who are admins.

[4pt]-FE- "Reserve" form

Add a "Reserve" form page that adds a new reservation on the front-end app.

To reserve an appointment, the user has to select a date and city (username and selected item are autofilled).
Use the design based on the "Book a vespa test-ride" and add all necessary inputs.
The user can also access the "Reserve" page from the navigation panel. In that case only username is autofilled.

[2pt]-BE- Create Reserve form endpoint

Add a create endpoint that adds a new reservation request.

To reserve an appointment, the user has to select a date and city (username and selected item are autofilled).
Use the design based on the "Book a vespa test-ride" and add all necessary inputs.
The user can also access the "Reserve" page from the navigation panel. In that case only username is autofilled.

[2pt]-BE- Remove hotel

Make a remove endpoint to remove the hotel just if the user is an Admin.

Note: Make sure that the "Add item" and "Delete item" links are accessible only by users who are admins.

[4pt]-FE- Remove hotel

Add a 'Remove hotel' page that removes the hotel on the front-end app.

Note: Make sure that the "Add item" and "Delete item" links are accessible only by users who are admins.

[4pt]-FE- Details page

Add the "Details page" that displays the details for a specific hotel on the front-end app.

In the details page, the user can click the "Reserve" button (in the design you can see the "Configure" button - please replace it with the "Reserve" button).

pic

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.