Destination Discovery
Browse Srilankan destinations through a responsive public interface with destination cards and individual detail pages.
Project Case Study / 2026
Full-Stack Destination Discovery Application
A full-stack travel discovery platform featuring Srilankan destinations, live weather information, and secure administrative management.
Srilanka Destination Explorer is a full-stack web application that allows visitors to discover travel destinations across Srilanka and view current weather information for each location.
The application combines a responsive Next.js frontend with a NestJS REST API and MongoDB database. It also includes a protected administration dashboard for managing destination information.
This project provided practical experience with modular backend architecture, document databases, third-party API integration, authentication, and deploying interconnected services.
Browse Srilankan destinations through a responsive public interface with destination cards and individual detail pages.
Display current temperature, humidity, wind speed, and weather conditions using the Open-Meteo Weather API.
Secure administrator login and logout using JWT authentication, bcrypt password hashing, and HTTP-only cookies.
Protected administration dashboard supporting destination creation, viewing, editing, and deletion.
NestJS REST endpoints with validation, error handling, and MongoDB persistence through Mongoose.
Frontend, backend, and database services deployed separately using Railway.
The main technologies and responsibilities across the application layers.
Next.js, React, TypeScript, and Tailwind CSS for the public website and administration interface.
Next.js same-origin API proxy forwarding frontend requests to the separately deployed NestJS backend.
NestJS application organized into controllers, services, and modules with RESTful API endpoints.
MongoDB with Mongoose for storing and managing destination information.
JWT authentication with bcrypt password hashing, HTTP-only cookies, and protected administrator endpoints.
Backend integration with Open-Meteo for retrieving current weather conditions using destination coordinates.
Separate frontend, backend, and MongoDB services hosted through Railway.
Authentication worked locally but encountered cross-origin cookie issues when the frontend and backend were deployed as separate services. Implementing a Next.js same-origin API proxy allowed browser requests to use the frontend origin while forwarding API calls to NestJS, resolving the production authentication issue.
Integrated Open-Meteo through the NestJS backend using destination coordinates, keeping external API integration separate from frontend presentation logic.
Structured RESTful endpoints using NestJS controllers, services, and modules while implementing MongoDB persistence, input validation, and error handling.
Configured and deployed interconnected frontend, backend, and database services on Railway, including environment configuration and production testing.