Giter Site home page Giter Site logo

dragonball's Introduction

DragonBall inspired API

   __
  |  ""--.--.._                                             __..    ,--.
  |       `.   "-.'""\_...-----..._   ,--. .--..-----.._.""|   |   /   /
  |_   _    \__   ).  \           _/_ |   \|  ||  ..    >  `.  |  /   /
    | | `.   ._)  /|\  \ .-"""":-"   "-.   `  ||  |.'  ,'`. |  |_/_  /
    | |_.'   |   / ""`  \  ===/  ..|..  \     ||      < ""  `.  "  |/__
    `.      .    \ ,--   \-..-\   /"\   /     ||  |>   )--   |    /    |
     |__..-'__||__\   |___\ __.:-.._..-'_|\___||____..-/  |__|--""____/
     

This is a simple API inspired by the manga and anime written by Akira Toryiama (or at least how i remember it to be)

Here are the challenges I set myself to do while making this project:

  1. The entities :

The dragon ball manga was written in a fantasy world where many planets existed, in which a lot of cities were built and a lot of people lived. So there should be at least these three main entities

  • The franchise often presents us with a lot of planets, some of which are blessed with having a set of dragon balls ( for instance, namek and earth);
  • The planets have cities, as Earth has it's North City, West City and Central City ;
  • The people that inhabit every planet may come in different races (as in namek, sayans, earthlings etc). They all have their name and are more often than not frisked for their "power level". Also, as shown several times, everyone can die (and appear with a halo);
  1. What should it do?:
  • The main CRUD tasks for every entity;
  • The soldiers of the Frieza army often wear scouters that can measure someone's power level. So there must be way to filter habitants by their power level ( and also because of that "it's over 9000" meme)
  • When a villan shows up a city (if not more than that) is always destroyed. A @DeleteMapping should be made so that not only the City is removed from the City table, but also created in the DestroyedCity one
  • The villains also kill a lot of people. There must be a method to kill any habitant;
  • When all the dragon balls are gathered in the same place, a dragon can be summoned (but remember The dragon will only be summoned if a Namek asks for it). When the dragon appears, any wish can be grantted. Cities that were once destroyed can come back and people that once were killed be brought back to life. But remember: wishes can only happen if all the conditions are satisfied

Tecnologies:

  • Java 11
  • Maven
  • Spring Boot
  • JPA
  • Hibernate
  • H2
  • Lombok

dragonball's People

Contributors

daruan-rst 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.