Skip to content

TanmayT134/EZStay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏨 EZStay β€” Full Stack Web Application

EZStay is a full-stack accommodation listing web application designed for tourists to explore stays across different cities. It demonstrates complete frontend–backend–database integration with authentication, admin management, and cloud deployment.

🌐 Live Demo

Frontend: https://ez-stay.vercel.app

Backend API: https://ezstay-backend.onrender.com

✨ Features

πŸ‘€ User

User authentication (Register & Login)

Browse cities

View stays available in each city

View stay details

πŸ§‘β€πŸ’Ό Admin

Add new cities

Add stays under specific cities

πŸ› οΈ Tech Stack

Frontend

React.js

Bootstrap

Axios

React Router DOM

Backend

Node.js

Express.js

JWT Authentication

Database

MySQL

Deployment

Frontend: Vercel

Backend: Render

Database: Railway

πŸ—‚οΈ Project Structure

EZStay/

β”œβ”€β”€ client/ # React frontend

β”‚ β”œβ”€β”€ src/

β”‚ β”œβ”€β”€ public/

β”‚ └── package.json

β”‚

β”œβ”€β”€ server/ # Node.js backend

β”‚ β”œβ”€β”€ controllers/

β”‚ β”œβ”€β”€ routes/

β”‚ β”œβ”€β”€ db/

β”‚ β”œβ”€β”€ index.js

β”‚ └── package.json

β”‚

└── README.md

πŸ” Authentication

JWT-based authentication

Secure login & protected admin routes

Role-based access (User / Admin)

πŸ§ͺ API Endpoints (Sample)

Method Endpoint Description

POST /api/auth/register Register user

POST /api/auth/login Login user

GET /api/cities Get all cities

POST /api/cities Add city (Admin)

GET /api/stays/:cityId Get stays by city

POST /api/stays Add stay (Admin)

πŸš€ Deployment Overview

Backend deployed on Render as a Web Service

MySQL database hosted on Railway

Frontend deployed on Vercel

Backend connected to Railway via public MySQL proxy

Environment variables securely managed in cloud platforms

πŸ“š Learning Outcomes

Built a complete full-stack application

Implemented RESTful APIs

Worked with MySQL relational database

Managed JWT authentication

Handled cloud deployment & networking issues

Understood real-world production debugging

πŸ‘¨β€πŸ’» Author

Tanmay Tawade

⭐ If you like this project, feel free to star the repository!

About

Built a full-stack accommodation listing platform where users can browse stays by city, and admins manage listings through a protected admin panel. Implemented authentication, search and filters, admin CRUD operations with confirmation flows, and focused on clean UX with loaders and error handling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors