A boutique-style listings app for curated stays built with Express, EJS, and MongoDB.
- MVC architecture with controllers, routes, models, and views
- Authenticated listing creation and owner-only editing/deleting
- Custom design system and responsive UI
- Validation middleware for listings and reviews
flowchart LR
A[Request] --> B[Routes]
B --> C[Controllers]
C --> D[Models]
D --> C
C --> E[Views]
E --> F[Response]
- Install dependencies:
npm install
- Copy environment variables:
cp .env.example .env
- Update
.envwith your credentials. - Start MongoDB locally or provide a cluster URI.
- Run the app:
node index.js
- Open http://localhost:8080
PORTMONGO_URLSESSION_SECRETCOOKIE_SECRET
- Start the server.
- Go to
/login. - Log in with your user.
- Create a new listing.
- Edit or delete your own listings from the listing page.
- Leave reviews on listing detail pages.
Ayush Chakraborty — theayushchakraborty@gmail.com