0% found this document useful (0 votes)
187 views

Laravel Task

The document outlines a task to build a hotel rate search system with 3 steps: 1) Create a hotel CRUD for admins, 2) Add hotel rate functionality for admins, and 3) Build a search form for users. Step 1 involves creating a form for hotel details. Step 2 adds creating, editing, and deleting rate ranges. Step 3 builds a search form for users to input dates and guest details to display applicable rates. The instructions provide details on each step and emphasize honesty, best practices, and a 3-4 day deadline for submission.

Uploaded by

Jayesh Popat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
187 views

Laravel Task

The document outlines a task to build a hotel rate search system with 3 steps: 1) Create a hotel CRUD for admins, 2) Add hotel rate functionality for admins, and 3) Build a search form for users. Step 1 involves creating a form for hotel details. Step 2 adds creating, editing, and deleting rate ranges. Step 3 builds a search form for users to input dates and guest details to display applicable rates. The instructions provide details on each step and emphasize honesty, best practices, and a 3-4 day deadline for submission.

Uploaded by

Jayesh Popat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Laravel Interview Task Details

Task Summary
Task Name: Hotel Rate System
Step 1: Hotel CRUD [ for admin ]
Step 2: Hotel Rates [ for admin ]
Step 3: Hotel Rates Search Part [ for user ]
Instructions

Task Summary

We are going to build a simple rate display system for hotel since we are going to work on a project which is based on travel domain.

You will make a simple admin interface to enter hotel details + rates
Simple search form for user to enter details to get rates.
Make a DB factory for 2-3 hotels data + rates
You can use bootstrap or tailwind for styling purpose.

Task Name: Hotel Rate System

Step 1: Hotel CRUD [ for admin ]

Create a simple form with fields

Hotel Name [type: text field ] [ required ]


Hotel Stars [type: dropdown, values 3,4,5,7 star ] [ required ]
Hotel Address [ textarea ] [ optional ]

Step 2: Hotel Rates [ for admin ]

Hotel can have multiple rates based on dates. For example

Date Range Rate for Adult per night [ USD ] Rate for child per night [ USD ]

1st april to 15th may 30 10

16th May to 31st October 35 15

1st November to 31st Dec 45 25

1st Jan to 31st March 20 5

We would like to do these operations as Admin

Save new rates [ date ranges should not overlap ]


Edit existing rates
Delete any date range rates

Step 3: Hotel Rates Search Part [ for user ]

Make a simple form where user enters

Check in date
Checkout date
No of adults
No of children
Submit button

All the fields are required.

Upon entering these fields, display hotel rates.

Created in 2021 by Anglara Digital Solutions.


Logic to apply here

We need to calculate rates for the dates entered by the user


We need to show rates in this manner
Per Adult Rate
Per Children Rate
Total

All right, thats it. Please follow these instructions so it makes it easier to check your submission.

This is a very important step, try to bring your A game. Please don’t take this lightly.

Wish you all the best and we hope you crack it and we see you in next round.

Instructions

Use any time tracker software or record your screen while coding. For example tools like these
https://chrome.google.com/webstore/detail/screen-recorder/hniebljpgcogalllopnjokppmgbhaden?hl=en
https://chrome.google.com/webstore/detail/screencastify-screen-vide/mmeijimgabbpbgpdklnllpncmdofkcpn?hl=en
Inform us how much time it took you to finish each step [ this is for our ref only ]
Ship entire code to github public repo.
If you dont have a github profile, sign up and ship there.
Demo data should be saved in DB when we run php artisan db:seed
The entire solution should be made using laravel version 7+
We expect you to finish this task honestly, because this code we will use for assessment and for tech interview as well, so its
IMP you code yourself and understand each line you wrote.
We expect you will follow best coding practise and present your best knowledge.
Date to Submit: Within 3-4 days from the day you receive this document.
If you have any query, don’t worry we are here to help. You can reach to dhaval@anglara.com

Created in 2021 by Anglara Digital Solutions.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy