π οΈBuilding from Source
β¬οΈ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.