Skip to content

12Kishan/SpringBoot-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Train Ticket Booking Application

This is a web application for booking train tickets built with Spring Boot for the backend, React.js for the frontend, and Tailwind CSS for styling.

Features

User

  • Users can register and login.
  • Users can search for trains and book tickets.
  • Users can view their booked tickets.
  • Users cannot cancel tickets once booked.

Admin

  • Admin can login.
  • Admin can add new trains.
  • Admin can remove trains.
  • Admin can edit train details.
  • Admin can view all bookings.

Technologies Used

  • Spring Boot: Java-based framework for the backend.
  • React.js: JavaScript library for building user interfaces.
  • Tailwind CSS: Utility-first CSS framework for styling.
  • MySQL: Relational database management system.

Database Setup

  1. Install MySQL if not already installed. Refer to MySQL Installation Guide for instructions.

  2. Create a new database named fsd.

  3. Update the database configuration in the application.properties file located in the backend/src/main/resources directory:

spring.datasource.url=jdbc:mysql://localhost:3306/fsd
spring.datasource.username=your_mysql_username
spring.datasource.password=your_mysql_password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages