Code Monkey home page Code Monkey logo

hibernate-cinema's Introduction

hibernate-cinema Build Status

Project purpose

This is a simple REST service with authentication for ticket booking.

You can register and login. While authenticated you can use several user services. Also, there are specific controllers to manage data available only for admin.

User can complete order and add tickets to shopping cart. Admin can add new movies, movie sessions and cinema halls.

Project Structure

  • Java 11
  • Maven
  • Hibernate
  • Spring
  • Spring Security
  • Maven checkstyle plugin
  • Lombok

For developer

  1. Open the project in your IDE.

  2. Add Java SDK 11 or above.

  3. Configure Tomcat:

  4. MySQL

    • install MySQL server
    • configure db.properties
    • connect to MySQL server
    • execute CREATE SCHEMA `cinema` DEFAULT CHARACTER SET utf8"
  5. Run the project.

  6. For testing download Postman or analogue.

  7. For authorization, you must add a new header, where Authorization is key and Basic email :password is value, where email:password must be encoded to Base64 format.

There are test data that you can use. There’s already registered USER and ADMIN:

You can change these test data in InjectDataController.

Author

Oleksandr Husenko

hibernate-cinema's People

Contributors

vztot avatar

Watchers

 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.