Skip to content

About

An interactive online learning platform designed to help students collaborate, manage study sessions, and enhance their learning experience.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🏡 StudyNook - Room Booking Platform

StudyNook is a modern full-stack room booking platform where users can browse available rooms, view detailed information, book rooms, manage bookings, and add their own room listings. The application is built with Next.js, MongoDB, Express.js, and secured using JWT Authentication.


ss

🏡 StudyNook

🚀 Live Demo

🔗 Live Site: https://study-nook-sigma.vercel.app


📸 Project Overview

StudyNook allows users to:

  • Browse available rooms
  • View room details
  • Add new room listings
  • Book rooms
  • Manage personal bookings
  • Cancel bookings
  • Secure authentication and authorization
  • Responsive design for all devices

✨ Features

🔐 Authentication & Security

  • Better Auth Authentication
  • JWT Token Verification
  • Protected Routes
  • Secure API Endpoints
  • Session Management

🏠 Room Management

  • Add New Room
  • Update Room Information
  • View Room Details
  • Featured Room Section

📅 Booking System

  • Book Available Rooms
  • View Personal Bookings
  • Cancel Existing Bookings
  • Booking Date Management

🎨 User Interface

  • Fully Responsive Design
  • Modern UI with Hero UI
  • Smooth Animations using Framer Motion
  • Loading States
  • Custom Error Pages

🛠️ Technologies Used

Frontend

  • Next.js
  • React.js
  • Tailwind CSS
  • Hero UI
  • Framer Motion
  • React Icons

Backend

  • Node.js
  • Express.js
  • MongoDB
  • JWT Authentication

Authentication

  • Better Auth
  • JWT Security

Database

  • MongoDB Atlas

📂 Project Structure

src
│
├── app
│   ├── (auth)
│   │   ├── login
│   │   ├── register
│   │   └── profile
│   │
│   ├── (main)
│   │   ├── rooms
│   │   ├── add-room
│   │   └── my-bookings
│   │
│   ├── api
│   ├── components
│   ├── layout.jsx
│   └── page.js
│
├── lib
│   ├── auth.js
│   └── auth-client.js
│
└── middleware/proxy.js

🔒 Security Implementation

JWT Authentication

  • Token generation after login
  • Protected API routes
  • Middleware verification
  • Unauthorized access prevention

Better Auth

  • Secure session handling
  • Authentication management
  • User profile management

👨‍💻 Author

Mezba-Morsalin

GitHub: https://github.com/Mezba-Morsalin

LinkedIn: https://linkedin.com/in/mezba-morsalin


📄 License

This project is licensed under the MIT License.

About

An interactive online learning platform designed to help students collaborate, manage study sessions, and enhance their learning experience.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages