Vinayaka Travels
Planning a trip to Varanasi?
Book a cab in Varanasi with us for the lowest fare and most efficient car hire and taxi service. Hire us to visit Kashi Vishwanath, Ganga Aarti, Sarnath Darshan and many more places inside as well as near Varanasi and take your touring experience to another level.
Technology Used
- Bootstrap 4.x
- ReactJS
- Nodejs
- Expressjs
Using React hooks to improve the app performance
- React Hooks are the way to use stateful functions inside a functional component. Functional components are components written as a function, so they take some input (props) and return a react element.
- More information https://reactjs.org/docs/hooks-intro.html
- Using React Hooks will improve the performance of our project as it uses memorization techniques to avoid re-rendering of the component.
Quick Start 🚀
Install server dependencies
npm install
Install client dependencies
cd client npm install
Run both Express & React from root
npm run dev
Build for production
cd client npm run build
Test production before deploy.
After running a build in the client point_up_2, cd into the root of the project.
And run..
NODE_ENV=production node app.js Check in browser on http://localhost:8080/