GithubHelp home page GithubHelp logo

sindhukashyap / cmpe275 Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 236 KB

Created a backend application to store a game player’s details including sponsors and opponents.Relationships between players, sponsors and opponents is stored and managed through local MySQL database and Hibernate. Rest APIs are written using Java and Spring Boot. Technologies used: Java, Spring Boot, REST, MySQL, Hibernate.

Java 100.00%

cmpe275's Introduction

##Basic

This application was built as part of the coursework for Enterprise Application Development course at San Jose State University. A set of REST APIs are built to manage entities and relationships in a mini gaming website.

##Usage

There are two primary types of entities: Players and Sponsors. They have the following relationships and constraints:

  1. Opponents: if two players play against each other, they are opponents. The opponent relationship is s​ymmetric in that is Alice is an opponent of Bob, then Bob is also an opponent of Alice. A player can have zero or more opponent players.
  2. Sponsors: a player can optionally be sponsored by an external sponsor. D​ifferent players can have the s​ame​ sponsor.
  3. The firstname, lastname, and email fields are required for any player. Emails have to be u​nique​ across players.
  4. The name field is r​equired​ for any Sponsor, and does n​ot​ need to be unique.

##Features The application supports the following APIs:

  1. Create a player
  2. Get a player
  3. Update a player
  4. Delete a player
  5. Create a Sponsor
  6. Get a Sponsor
  7. Update a Sponsor
  8. Delete a Sponsor
  9. Add an opponent
  10. Delete an opponent

##Implementation details :

  1. Spring boot is used to build and run the REST APIs and Chrome plugin POSTMAN for testing the API URLs and viewing the json outputs.
  2. Local instance of MYSQL database and Hibernate ORM Mapping using XMLs is used to store the persistent data.

##Tools

  1. Eclipse with Spring Boot plug-in
  2. mysql Workbench to execute queries
  3. Postman REST Client for testing the REST APIs

cmpe275's People

Contributors

sindhukashyap avatar

Stargazers

Amrita Mukhopadhyay avatar

Watchers

James Cloos avatar Swathi Bala 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.