β
@mapbox/mapbox-sdk ^0.15.0
βΒ Β
β
cloudinary: ^1.36.1
βΒ Β
β
passport: ^0.6.0
βΒ Β
β
multer: ^1.4.5-lts.1
βΒ Β
β
express: ^4.18.2
βΒ Β
β
mongoose: ^6.9.2
βΒ Β
β
path: ^0.12.7
βΒ Β
β
joi: ^17.9.1
βΒ Β
β
ejs: ^3.1.9
βΒ Β
β
sanitize-html: ^2.10.0
βΒ Β
β
express-mongo-sanitize: ^2.2.0
βΒ Β
Landing Page | Home Page |
---|---|
Hotel Detail | Reward Section |
---|---|
New Hotel Page | Edit Hotel Page |
---|---|
Register Page | Login Page |
---|---|
- β¬οΈFetch latest source code from master branch.
[khushal@arch]$ git clone https://github.com/Khushal-ag/TripHive.git
[khushal@arch]$ cd TripHive
- πCreate .env file & add your own CONFIGS
SESSION_SECRET = <Your_session_secret>
MONGO_URI = <Your_database_url>
PORT = <Port_number>
CLOUDINARY_CLOUD_NAME = <Your_cloud_name>
CLOUDINARY_API_KEY = <Your_api_key>
CLOUDINARY_SECRET = <Your_secret>
MAPBOX_TOKEN = <Your_Mapbox_Token>
- πRun the Website using π»Command Line ( yarn should be installed ) :
[khushal@arch TripHive]$ yarn
[khushal@arch TripHive]$ yarn start
.
βββ cloudinary
β βββ index.js
βββ CODE_OF_CONDUCT.md
βββ controllers
β βββ hotels.js
β βββ reviews.js
β βββ shop.js
β βββ users.js
βββ index.js
βββ LICENSE
βββ models
β βββ hotel.js
β βββ review.js
β βββ user.js
βββ package.json
βββ yarn.lock
βββ public
β βββ assets
β βββ javascripts
β β βββ clusterMap.js
β β βββ showMap.js
β β βββ validateForm.js
β βββ stylesheets
β βββ home.css
β βββ map.css
β βββ nav.css
β βββ pageNotFound.css
β βββ shop.css
β βββ stars.css
βββ README.md
βββ routes
β βββ hotelRoutes.js
β βββ reviewRoutes.js
β βββ shopRoutes.js
β βββ userRoutes.js
βββ schemas.js
βββ utils
β βββ catchAsync.js
β βββ expressError.js
β βββ middlewares.js
βββ vercel.json
βββ views
βββ error.ejs
βββ home.ejs
βββ hotel
β βββ edit.ejs
β βββ index.ejs
β βββ new.ejs
β βββ show.ejs
βββ layouts
β βββ boilerplate.ejs
βββ pageNotFound.ejs
βββ partials
β βββ flash.ejs
β βββ footer.ejs
β βββ navbar.ejs
β βββ stars.ejs
βββ shop
β βββ index.ejs
βββ user
βββ login.ejs
βββ register.ejs
Note: It may take up to 24h for the contrib.rocks plugin to update because it's refreshed once a day.