A full-stack web application for listing and reviewing travel destinations.
WANDERLUST/
├── app.js
├── cloudConfig.js
├── middleware.js
├── package.json
├── schema.js
├── controllers/
│ ├── listings.js
│ ├── reviews.js
│ └── users.js
├── init/
│ ├── data.js
│ └── index.js
├── models/
│ ├── listing.js
│ ├── review.js
│ └── user.js
├── public/
│ ├── css/
│ │ ├── rating.css
│ │ └── style.css
│ └── js/
│ ├── map.js
│ └── script.js
├── routes/
│ ├── listing.js
│ ├── review.js
│ └── user.js
├── TEXT.txt/
│ └── ... (project notes and setup steps)
├── utils/
│ ├── ExpressError.js
│ └── wrapAsync.js
├── views/
│ ├── error.ejs
│ ├── includes/
│ │ ├── flash.ejs
│ │ ├── footer.ejs
│ │ └── navbar.ejs
│ ├── layouts/
│ │ └── boilerplate.ejs
│ ├── listings/
│ │ ├── edit.ejs
│ │ ├── index.ejs
│ │ ├── new.ejs
│ │ └── show.ejs
│ └── users/
│ ├── login.ejs
│ └── signup.ejs
- Clone the repository:
git clone https://github.com/STIWARTs/WANDERLUST.git cd WANDERLUST/WANDERLUST - Install dependencies:
npm install
- Create a
.envfile in the root directory and add your environment variables:CLOUD_NAME=your_cloudinary_cloud_name CLOUD_API_KEY=your_cloudinary_api_key CLOUD_API_SECRET=your_cloudinary_api_secret # Add other environment variables as needed
Start the development server:
npm start
The app will be available at http://localhost:3000 by default.