├── .env ├── .gitignore ├── README.md ├── Vercel.json ├── package-lock.json ├── package.json ├── public ├── favicon.ico ├── index.css ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── server.js └── src ├── App.js ├── CSS ├── Corosal.css ├── HomeIcon.css ├── checkbox.css ├── menu.css ├── search.css ├── signin.css ├── signup.css └── team.css ├── Routes.js ├── admin ├── AddCategory.js ├── AddProduct.js ├── ManageCategory.js ├── ManageProducts.js ├── Orders.js ├── UpdateProduct.js ├── apiAdmin.js └── updateCategory.js ├── auth ├── AdminRoute.js ├── PrivateRoute.js └── index.js ├── config.js ├── core ├── About.js ├── Card.js ├── Cart.js ├── Checkbox.js ├── Checkout.js ├── Contact.js ├── Corosal.js ├── Footer1.js ├── FooterPage.js ├── Galleryimg.js ├── GalleryimgHome.js ├── Home.js ├── HomeIcon.js ├── Layout.js ├── Menu.js ├── Photos.js ├── Product.js ├── RadioBox.js ├── Search.js ├── Shop.js ├── ShowImage.js ├── StarRating.js ├── Team.js ├── apiCore.js ├── cartHelpers.js └── fixedPrices.js ├── image ├── about.jpg ├── about.png ├── desk.jpg ├── login │ ├── avatar.png │ ├── background.jpg │ └── side.jpg ├── resort1.jpg ├── resort2.jpg ├── resort3.jpg ├── resort4.jpg ├── resort5.jpg ├── resort6.jpg ├── signin.jpg ├── signup │ ├── background.jpg │ ├── bg2.jpeg │ └── signup.jpg └── team │ ├── bg.jpeg │ ├── img-top1.jpeg │ ├── img-top2.jpeg │ ├── img-top3.jpeg │ ├── img1.jpeg │ ├── img2.jpeg │ └── img3.jpeg ├── index.js ├── styles.css └── user ├── AdminDashboard.js ├── Profile.js ├── Signin.js ├── Signup.js ├── UserDashboard.js └── apiUser.js /.env: -------------------------------------------------------------------------------- 1 | REACT_APP_API_URL=http://localhost:5000/api/ -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 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 | .env 21 | 22 | npm-debug.log* 23 | yarn-debug.log* 24 | yarn-error.log* 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # **Project Name : - TravelYaari** 2 | 3 |  4 |  5 |  6 |  7 |  8 |  9 |  10 |  11 | 12 | This Project is live at --------> **[https://travelyaari.herokuapp.com](https://travelyaari.herokuapp.com)** 13 | 14 | 15 |

78 | 
79 | 
80 | 
81 |
82 |
83 |
84 | ### How to run the project 🚀:
85 |
86 | 1. Open the `Terminal`.
87 | 2. Clone the repository by entering `$ git clone https://github.com/shsarv/TravelYaari-react.git `.
88 | 3. Ensure that `NodeJS` and `npm` are installed on the system.
89 | 4. change the diectory to repository name using `$ cd TravelYaari-react`.
90 | 4. Create a `.env` file and write `REACT_APP_API_URL='your backend api url'`. look for backend of the project [here](https://github.com/shsarv/TravelYaari-api).
91 | 5. install the dependencies by executing the follwing command: `$ npm install` or `$ npm install --openssl-legacy-provide` for base support.
92 | 6. To run the React project. execute `$npm start`. and it will point to the `localhost` server with the port `3000`.
93 | 8. Enter the `IP Address: http://localhost:3000` on a web browser and use the application. make sure that your backend api is running.
94 |
95 |
96 | --------------------
97 | ## Help
98 |
99 | ### Solution in case of any conflicts.
100 |
101 | 1. Try to downgrade node version to 17 or 14.
102 | 2. install dependencies with `$ npm install --openssl-legacy-provide`.
103 | 3. you may get some error while installing the dependencies, Look it to the CMD and search for specific issues on Stackoverflow.
104 | 4. In case of any further issue, Raise an issue on github.
105 |
106 | -----------------------------
107 |
108 | ### Dependencies Sarvesh Kumar Sharma 🖋 📖💻 |
117 | Sachi Tripathi 💻 |
118 | Satyam Kumar Jha 💻 |
119 |