{"repo":"NausheenFaiyaz/hackathon-book-my-ticket","free":true,"listed":false,"github":"https://github.com/NausheenFaiyaz/hackathon-book-my-ticket","clone":"git clone https://github.com/NausheenFaiyaz/hackathon-book-my-ticket.git","description":"A full-stack movie ticket booking app built with Node.js, Express, PostgreSQL, and JWT auth. Includes register/login, protected seat booking, duplicate-booking prevention, and responsive UI in one deployable codebase.","language":"JavaScript","stars":14,"topics":["backend","database","docker","nodejs","postgresql","bcrypt","cookie-parser","expressjs","jsonwebtoken"],"license":null,"category":"databases-storage","readme_excerpt":"ScreenSaga - Your Seat, Your Story (Auth + Protected Booking + PostgreSQL) A production-style backend-first movie seat booking project built by extending starter code (not from scratch). This project implements registration, login, protected booking endpoints, duplicate-seat prevention, and a responsive frontend in the same repository. The app uses: - Node.js + Express (single service for frontend + backend) - PostgreSQL ( pg ) for data - JWT + HttpOnly cookies for authentication - Transaction-safe seat booking logic --- Live Links - Deployed App: https://screensaga-xtnb.onrender.com/ - YouTube Demo: https://youtu.be/2pEfkxN2UVs?si=cr fiJUjnIdIjT6E - X Post: https://x.com/codeXninjaDev/status/2044314440578019355 - LinkedIn Post: https://www.linkedin.com/feed/update/urn:li:activity:7450082708623638528/ --- Description This project is a hackathon implementation of a simplified Book My Ticket platform. Key goals implemented: - users can register - users can login - only authenticated users can use protected booking APIs - one seat can be booked only once - bookings are associated with the logged-in user - starter legacy endpoints are preserved - frontend and backend run from the same codebase --- Features - User registration with password hashing ( bcrypt ) - User login with JWT access + refresh tokens - Tokens set in HttpOnly cookies for browser flow - Protected routes with verifyJWT middleware - Booking flow backed by SQL transaction + row lock ( FOR UPDATE ) - Duplicate booki","default_branch":null,"files":null,"tree":[],"storefront":"/r/NausheenFaiyaz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NausheenFaiyaz/hackathon-book-my-ticket/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}