Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ramonbecker/projectjdbcexample
https://github.com/ramonbecker/projectjdbcexample
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ramonbecker/projectjdbcexample
- Owner: RamonBecker
- Created: 2021-09-11T19:07:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-27T00:09:28.000Z (over 3 years ago)
- Last Synced: 2024-06-26T15:00:41.026Z (6 months ago)
- Language: Java
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ProjectJDBCExample
# Sales Management
## :information_source: InformationIn the project, only the BACK-END part of the application was developed. A departmental and vendor CRUD was also developed using JDBC with the MSYQL database.
## ⚠️ Prerequisite
[![Java Badge](https://img.shields.io/badge/Java-ED8B00?style=for-the-badge&logo=java&logoColor=white)](https://www.oracle.com/br/java/technologies/javase-downloads.html) >= 11![Mysql Badge](https://img.shields.io/badge/MySQL-00000F?style=for-the-badge&logo=mysql&logoColor=white)
## :rocket: Installation
To install the project you must install mysql on your machine.
## ⚙️ Installing MySQL
Enter the following commands in the terminal.
```
sudo apt update
sudo apt install mysql-server```
### Configuring MySQLFor new installations, you will want to run the security script that is included. This changes some of the less secure default options for things like root logins and example users. Enter the command below.
```
sudo mysql_secure_installation
```
This will take you through a series of prompts where you can make some changes to the security options of your MySQL installation. The first prompt will ask you if you want to configure the Validate Password Plugin, which can be used to test the strength of your MySQL password. Regardless of your choice, the next prompt will be to set the password for the MySQL root user. Sign in and then confirm a secure password of your choice.From there, you can press Y and then ENTER to accept the default answers for all subsequent questions. This will remove some anonymous users and the test database, disable remote login for root, and load all of these new rules so that MySQL immediately respects the changes you made.
### Testing MySQL
To see if MYSQL is running, type the following command.
```
systemctl status mysql.service
```If MySQL is not running, you can start it with the following command.
```
sudo systemctl start mysqlNow try to connect your root user to MySQL.
```
mysql -u root -p### Create the database in MySQL
```
CREATE DATABASE coursejdbc
```Before running the script to create the tables, check the properties file and change the user and password for your configuration. And then run the following script:
```
https://drive.google.com/file/d/1ZuXEOee1Yd11YPIG74tTjhGbkMLUL9sv/view?usp=sharing
```![](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black)
```
git clone https://github.com/RamonBecker/ProjectJDBCExample.git
```![](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white)
```
git clone https://github.com/RamonBecker/ProjectJDBCExample.git
or install github https://desktop.github.com/
```## :zap: Technologies
- Java
- JDBC
- MYSQL## :memo: Developed features
- [x] the user can register a department;
- [x] the user can delete a department;
- [x] the user can edit a department;
- [x] the user can list the departments;- [x] the user can register a seller;
- [x] the user can delete a seller;
- [x] the user can edit a seller;
- [x] the user can list the sellers.## :technologist: Author
By Ramon Becker 👋🏽 Get in touch!
[](https://github.com/RamonBecker) [](https://www.linkedin.com/in/https://www.linkedin.com/in/ramon-becker-da-silva-96b81b141//)
![Gmail Badge](https://img.shields.io/badge/[email protected]?style=flat-square&logo=Gmail&logoColor=white&link=mailto:[email protected])