Giter Site home page Giter Site logo

anikhofficial / project-angular---spring-boot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7.74 MB

This is a full-stack Tour Booking Application built using Angular 18 for the front-end, Spring Boot 3.3.0 for the back-end, and MySQL for the database. The application allows users to book tours, manage locations, schedules, and prices. It includes CRUD operations for all entities involved in the booking process.

Java 8.01% CSS 4.76% JavaScript 12.79% PHP 0.01% SCSS 34.31% TypeScript 10.57% HTML 29.54%
ang mys spri

project-angular---spring-boot's Introduction

Tour Booking Application

Overview

This is a full-stack Tour Booking Application built using Angular 18 for the front-end, Spring Boot 3.3.0 for the back-end, and MySQL for the database. The application allows users to book tours, manage locations, schedules, and prices. It includes CRUD operations for all entities involved in the booking process.

Features

  • User Authentication: Secure login and registration.
  • Tour Management: Create, read, update, and delete tour information.
  • Location Management: Manage locations for tours.
  • Schedule Management: Set and manage tour schedules.
  • Pricing: Define and manage tour pricing.
  • Booking System: Allow users to book tours and view their bookings.
  • Responsive Design: Works on both desktop and mobile devices.

Technologies Used

  • Front-end: Angular 18
  • Back-end: Spring Boot 3.3.0
  • Database: MySQL
  • Other Tools: Maven, Hibernate, JWT for authentication, Angular Material for UI components

Getting Started

Prerequisites

  • Node.js and npm installed
  • Angular CLI installed
  • Java JDK 17
  • Maven
  • MySQL server

Installation

Backend (Spring Boot)

  1. Clone the repository:

    git clone https://github.com/your-username/tour-booking-app.git
    cd tour-booking-app/backend
  2. Configure MySQL database: Update the application.properties file with your MySQL database credentials.

    spring.datasource.url=jdbc:mysql://localhost:3306/tour_booking
    spring.datasource.username=root
    spring.datasource.password=yourpassword
    spring.jpa.hibernate.ddl-auto=update
  3. Build and run the application:

    mvn clean install
    mvn spring-boot:run

Frontend (Angular)

  1. Navigate to the front-end directory:

    cd ../frontend
  2. Install dependencies:

    npm install
  3. Run the Angular development server:

    ng serve
  4. Open your browser and navigate to http://localhost:4200.

Usage

  1. Register a new user or log in with existing credentials.
  2. Create and manage tours, locations, schedules, and prices.
  3. Book a tour and view booking details.

Project Structure

Backend

  • /src/main/java/com/example/tourbooking: Contains the main application code.
  • /src/main/resources: Contains configuration files.

Frontend

  • /src/app: Contains Angular components, services, and modules.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -am 'Add YourFeature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Create a new Pull Request.

Contact

For any questions or suggestions, please contact us at [email protected]

Acknowledgements

  • Thanks to the developers of Angular, Spring Boot, and MySQL for their amazing tools and frameworks.

project-angular---spring-boot's People

Contributors

anikhofficial avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.