/pokemon-team

Pokemon Manager Team to apply concepts of CRUD with Java.

Primary LanguageJavaMIT LicenseMIT

Pokemon Team Manager

Version-1.0 Status-Unfinished Lincense

A CRUD Pokemon Manager Team project to apply concepts learned in Programming Paradigms at UFMA using Java language.

πŸ‡ΊπŸ‡ΈEnglish Β· πŸ‡§πŸ‡·Portuguese

πŸ—‚ Table of Contents

πŸ“– About The Project

This project was created during Programming Paradigms classes at UFMA. The ideia of Pokemon Team Manager is to create your own pokemon team and sees its attack and defense power.

🎨 Layout

Version 2.0

This is the Register Page

01

Register a new Pokemon

02

When the user don't fill a field, it opens a alert popup message:

04

When the user register a new pokemon successfully, it opens a popup success message:

03

Confirm exit system message popup:

05

Version 2.5

Home screen

06

List pokemons screen

08

Delete by ID popup

09

πŸ’» Technologies

✨ Features

  • Register Screen
  • List Screen
  • Edit/Update/Delete Screen
  • Create team Screen

🧱 Installation

🚧 Prerequisites

Clone this project repository:

$ git clone git@github.com:3salles/pokemon-team.git

#Enter in `Pokemon Team Manager` folder:

$ cd pokemon-team

🚨 If you don't have git in your machine, you can install it here.

πŸ’„ Front-end

Open gui folder and run:

javac Home.java
java Home

And enjoy the app!! πŸ˜†

πŸ—„οΈ Back-end

In db/JdbcConnection.java archive, change the following lines to its own user and password database:

	// Connect to localhost db
	private static final String url = "jdbc:postgresql://localhost/pokemon";
	private  static final String user = "postgres";
	private static final String password = "root";

Run db/JdbcConnection.java archive to connect to PostgreSQL database.

javac JdbcConnection.java
java JdbcConnection

To create Pokemon table, run db/CreateTable.java archive:

javac CreateTable.java
java CreateTable

🚨 OPTIONAL: To insert, list and delete pokemon, just remove comments in insert area and run the view\Main.javaarchive:

javac Main.java
java Main

πŸ“„ License

This project uses MIT lincense.

πŸ‘©β€πŸ’» Author

Github LinkendIn Gmail

Developed with πŸ’œ by Beatriz Salles