Coder Social home page Coder Social logo

devcula / travel_webapp Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 4.0 36.73 MB

A full stack web application built from scratch to replicate travel websites and book trains, flights, hotels, bus and cabs. Technology stack includes AngularJS, Java, Hibernate and MySql.

License: MIT License

CSS 15.07% HTML 30.45% JavaScript 12.75% Java 41.74%
hibernate sql sql-script hotel database java booking travel online angularjs javascript css

travel_webapp's Introduction

travel_book_webapp

A AngularJS, Java, Hibernate based web application trying to implement an online travel booking platform from scratch without using any pre-existing booking api

#A full fledged web app which can be used to book flights, trains, bus, cabs and hotel. With simple and smooth interface, this application is designed to provide users with best of the features.

#Features like dynamic pricing, rating and reviewing hotels are also provided to the users for complete clarity.

#This app doesn't use any pre-existing api's and contains it's own scripts and api's for generating its entire database and accessing it.

#All the codes and scripts are written from scratch to implement an original online booking platform.

#The Frontend is based on HTML, CSS, JavaScript, Jquery, BootStrap and AngularJS while the backend is built using Java, Hibernate framework and MySql database.

#Restful Api's were created to connect both ends.

################TO RUN THE PROJECT##################

  1. Start the MySql server installed on your system.

  2. Create a database with any name to store the dummy data.

  3. Run the sql script User_TableScript.sql placed in src/com/devcula/resources.

  4. Run the data.sql script in the same database. It's also present in src/com/devcula/resources.

  5. Update the connection url in hibernate.cfg.xml file located in src/com/devcula/resources according to your sql server settings and your database name.

  6. Update the same connection url in getConnectionString() method of Factory class present in src/com/devcula/resources.

  7. Update your database credentials i.e. username and password into hibernate.cfg.xml file and also in getDbUsername() and getDbPassword() methods of factory class.

  8. After successfully completing above steps, run the DataInit class as a standalone java program. DataInit class is also present in src/com/devcula/resources.

  9. Once all the steps are completed, host the project on a web server like Apache Tomcat or IBM Websphere and run index.html present in WebContent folder.

NOTE: If on launching index.html, you get "Website Under maintenance", it means one of more steps failed to execute. I didn't have time to create admin panel so if anyone is interested to contribute, they are more than welcome. Just ping me.

For any help, mail me at [email protected].

travel_webapp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.