Skip to content

kkpan11/pokebattler-fight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notice!

Pokebattler is no longer running off of this code base. There is significant database integration and user login code that I do not want to try and maintain a no database implementation anymore. Perhaps in the future if there is enough interest I can opensource a version that uses api endpoints instead of direct database integrations but its a lot of work and to my knowledge, not many people are using this code base. Please feel free to contact me for more details if you are interested.

Spring Boot based Pokebattler.com Fight back end server

Pokebattler is powered by this open source server. Licensing is MIT which basically means you can do whatever you want with it. I would of course appreciation attribution and links to the site but its totally up to you.

This server is a spring-boot application with the jax-rs setup, see com.pokebattler.fight.resources for all supported urls.

Run the application locally from the console

  1. mvn spring-boot:run
  2. curl https://localhost:8080/moves to make sure it works

Run the application locally in Eclipse

  1. Import this project directory under File->Import->Maven->Existing Maven project
  2. Right click on project -> Run as->Maven generate sources
  3. src/main/java -> com.pokebattler.fight, Right click on JerseyApplication, run/debug as Java Application

Deploy the application to google cloud

  1. mvn clean package gcloud:stage
  2. cd target\appengine-staging
  3. gcloud app deploy
  4. Visit https://YOUR_PROJECT.appspot.com.

About

Pokebattler.com back end fight server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.6%
  • Python 0.4%