Skip to content

Commit b0fd72b

Browse files
946605: Need to implement UI team suggested changes in hotel booking application
1 parent f103de1 commit b0fd72b

File tree

10 files changed

+73
-93
lines changed

10 files changed

+73
-93
lines changed

Hotel-booking-App/.gitignore

+23-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
1-
.npmrc
2-
.vscode/
3-
node_modules/
4-
src/**/*.js
5-
dist/
6-
styles/*.*
7-
!styles/index.css
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

Hotel-booking-App/.npmignore

-9
This file was deleted.

Hotel-booking-App/Jenkinsfile

-39
This file was deleted.

Hotel-booking-App/README.md

+49-22
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,53 @@
1-
# Hotel booking application using Syncfusion React DataGrid
1+
# Hotel booking application using Syncfusion React Grid
22
While looking for a secure and comfortable hotel stay that fits your budget, preferred amenities, desired location, and high user reviews, this article explores how Syncfusion React Grid can display a comprehensive list of hotels and their rooms, along with facilities, user reviews, and costs. Additionally, Syncfusion React Grid offers filtering options based on budget, amenities, location, and user reviews, making the booking process more efficient and user-friendly.
33

4-
This demo will show you how to utilize the Syncfusion Data Grid to display the lists of hotels, facilities, costs, locations, and user reviews. Also, how to provide the option to select the hostel based on available hotel rooms on the selected check and checkout date with budget-wise and facilities and user review. With our step-by-step guide, you can easily set up and configure the data grid to meet your specific needs.
4+
This demo will show you how to utilize the Syncfusion Data Grid to display the lists of hotels and it facility and cost and locations and user reviews. Also, how to provide the option to select the hostel based on available hotel rooms on the selected check and checkout date with budget-wise and facilities and user review. With our step-by-step guide, you'll be able to easily set up and configure the data grid to meet your specific needs.
5+
6+
7+
![Hotelbooking App](img/hotel-app.gif)
8+
9+
## Target Audience
10+
- Accountants and Bookkeepers
11+
- Construction Companies
12+
- Property Management Companies
13+
- Medical Practice
14+
- Educational Institutions
15+
- Event Management Companies
16+
- Software Development Firms
17+
- Transportation and Logistics Companies
18+
- Manufacturing Companies
19+
- Travel Agencies
20+
- Insurance Agencies
21+
- Real Estate Agencies
22+
- Hospitality Businesses
23+
- Fitness Centers and Gyms
24+
- Consulting Firms
25+
- Photography Studios
26+
27+
## Prerequisites
28+
- We have developed this app by using the [node.js 16.0](https://legacy.reactjs.org/blog/2017/09/26/react-v16.0.html).
29+
- If you have not previously installed the React packages or if you have installed a version of node.js older than Node 16 on your machine, you can run the following command to install them.
30+
```sh
31+
npm install -g create-react-app
32+
33+
```
34+
## Run the sample
35+
To execute the following command in your command prompt.
36+
```sh
37+
npm start
38+
```
39+
## Common errors
40+
41+
| Error | Try to solution |
42+
|----------|----------|
43+
| Module not found: Can't resolve 'module' | This indicates that the required module is either not installed properly or is missing. Therefore, we recommend ensuring that all dependency modules are installed correctly by executing either the npm install or yarn install command after deleting the package.lock.json file. |
44+
| npm ERR! ENOENT: no such file or directory | This error suggests that the specified directory or file is not available on your machine, or permission for execution was denied. To resolve this, ensure that the file exists and that proper permissions are enabled for accessing the file or directory. |
45+
|npm ERR! Failed at the [email protected] start script| This error occurred due to a problem with the start script defined in your package.json file. It's important to validate the start script and execute it correctly set up to run your application. Additionally, ensure that all dependencies are installed properly or not. |
46+
|npm ERR! EADDRINUSE: Address already in use | This error indicates the port number already used. So, you can choose another port or stop the existing running application. |
47+
|npm ERR! Invalid package.json| This error indicates any syntax issue occurred in your package.json. to ensure all the syntax properly. |
48+
49+
## Reference of Syncfusion Grid
50+
[Demo](https://ej2.syncfusion.com/react/demos/#/material3/grid/overview), <br/>
51+
[Documentation](https://ej2.syncfusion.com/react/documentation/grid/getting-started).
552

6-
![Hotelbooking App](images/hotel-app.gif)
7-
8-
* To install all dependent packages, use the below command.
9-
10-
```
11-
npm install
12-
```
13-
* If Angular CLI is not installed into your machine, please use the below command to install Angular CLI.
14-
15-
```
16-
npm install -g @angular/[email protected]
17-
```
18-
19-
### Run
20-
21-
To run the sample, use the below command
22-
23-
```
24-
ng serve
25-
```
2653

Hotel-booking-App/config.json

-3
This file was deleted.

Hotel-booking-App/favicon.ico

-6.42 KB
Binary file not shown.

Hotel-booking-App/gulpfile.js

-1
This file was deleted.

Hotel-booking-App/license

-10
This file was deleted.

Hotel-booking-App/webpack.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ module.exports = {
3333
},
3434
plugins: [
3535
new HtmlWebpackPlugin({
36-
template: "index.html",
37-
favicon: "favicon.ico"
36+
template: "index.html"
3837
}),
3938
new MiniCssExtractPlugin({
4039
filename: "index.css",

0 commit comments

Comments
 (0)