Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matheusbanqueiro/sistema-academico


https://github.com/matheusbanqueiro/sistema-academico

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

# Sistema Java Code INSTITUTE 🏫

This project uses lot of stuff as:

📌 [Tailwind](https://tailwindcss.com/)
📌 [Apache Tomcat 9.0](https://tomcat.apache.org/)
📌 [MySQL](https://www.mysql.com/)
📌 [MySQL Workbench](https://www.mysql.com/products/workbench/)
📌 [Eclipse](https://eclipseide.org/)
📌 [Java](https://docs.oracle.com/en/java/)

You need this script to in your database:
```
CREATE DATABASE IF NOT EXIST academico;

CREATE TABLE IF NOT EXIST aluno (
ra INT PRIMARY KEY,
nome VARCHAR(255),
email VARCHAR(255),
endereco VARCHAR(255),
periodo VARCHAR(50),
datanascimento DATE
);
CREATE TABLE IF NOT EXIST usuarios (
id INT AUTO INCREMENT PRIMARY KEY,
login VARCHAR(255),
senha INT
);
INSERT INTO usuarios (login,senha) VALUES ('matheus@javacode', '032004');
```
Enter the ConnectionFactory and put your mysql login and password:
```
String login = "root";
String senha = "Matheus@2004";
String url = "jdbc:mysql://localhost:3306/academico";

return DriverManager.getConnection(url, login, senha);
```