Note
On free account on Render, it takes down the instance in every 15 minutes of inactivity so you may face very high initial load time or api delays as mentioned here.
A web platform that offers a convenient solution for travelers seeking accommodations near popular tourist destinations. Users can easily discover and book suitable lodging options based on their preferences.
- React
- MongoDB
- Express.js
- Cloudinary
- jsonwebtoken
- TailwindCSS
- React Hook Form
- Zod
- Redux
- TypeScript
- Render
- Functionality to delete trip.
- Add pagination to listings.
Follow these steps to set up the project locally on your machine.
Prerequisites
Make sure you have the following installed on your machine:
Cloning the Repository
git clone https://github.com/TayyabAsghar/Place-Finder.git
cd place-finder
Installation
Install the project dependencies using single npm command in root folder:
npm run deps
or individually to move to client
and server
folder and run:
npm i
After that refer to README.md to each folder to setup environment variables and run project locally.
Deployment
- Create an account on Render.
- Create a new project.
- Overwrite the
install
,build
andstart
commands if necessary. - Deploy the web.
- Update the environment variables
REACT_APP_API_URL
,CLIENT_BASE_URL
andhomepage
inclient/package.json
. - Redeploy the web with new environment variables.