diff --git a/README.md b/README.md
index 0282529ed..dfc0842a5 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,8 @@
-# PAINEL DE SALAS
-
-
-![](frontend/public/view.png)
-
+
PAINEL DE SALAS
+
+
+
A PROPOSTA DESSA APLICAÇÃO É TORNAR SIMPLES A IDENTIFICAÇÃO DAS EMPRESAS PRESENTES EM EMPREENDIMENTOS QUE SÃO COMERCIAIS
@@ -43,11 +42,57 @@ Acesse a interface do seu banco mysql http://`seuendereçoip`/phpmyadmin/
Copie o conteúdo do arquivo `PAINEL/provisioning.sql`, cole e execute
-# AUTENTICAÇÃO INICIAL
+### AUTENTICAÇÃO INICIAL
`Username`: admin
+
`Password`: admin
+### SKETCHES
+
+#### WEB
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+### MOBILE
+
+
+
+
+`apk:` [address](https://exp-shell-app-assets.s3.us-west-1.amazonaws.com/android/%40jadson179/Painel-5aad65f531a9401dbcda37fd677efc24-signed.apk)
+
+# CONTRIBUIDORES
+
+
+
+
+
+
![](frontend/public/logo.png)
diff --git a/RELEASES.md b/RELEASES.md
index b277e5e6e..6c16ace72 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -33,4 +33,9 @@ a ação irá duplicar o usuário administrador e assim o servidor irá para de
* Estilizado as informação de horário, cotação do dolar
* `BUG`: Problema de servidor crachando.
* Adicionado campo para acesso a segunda view do painel, na página admnistração.
-* Ajustado a interface para ser responsiva
\ No newline at end of file
+* Ajustado a interface para ser responsiva
+
+
+## VERSÃO 1.0.4
+
+* Criado aplicativo mobile
diff --git a/backend/migrate/Schemas.js b/backend/migrate/Schemas.js
index 6c966d38a..88d4e69ba 100644
--- a/backend/migrate/Schemas.js
+++ b/backend/migrate/Schemas.js
@@ -1,4 +1,5 @@
-const connection = require('../database/connection')
+const mysql = require('mysql2')
+const database = require('../database/connection')
async function SchemaUsers () {
const sql = `
@@ -8,9 +9,10 @@ async function SchemaUsers () {
UserPassword VARCHAR(255) NOT NULL,
UserType VARCHAR(255) NOT NULL);`
- await connection.promise().query(sql);
- await connection.promise().query("INSERT INTO Users (UserName, UserPassword, UserType ) VALUES ('admin','admin','administrator');");
-
+ const connection = await mysql.createConnection(database)
+ await connection.promise().execute(sql)
+ await connection.promise().execute("INSERT INTO Users (UserName, UserPassword, UserType ) VALUES ('admin','admin','administrator');")
+ connection.end();
}
async function SchemaRooms() {
@@ -21,8 +23,9 @@ async function SchemaRooms() {
NameImage VARCHAR(100)
);
`
-
+ const connection = await mysql.createConnection(database)
await connection.promise().query(sql);
+ connection.end();
}
async function SchemaFloors() {
@@ -34,8 +37,9 @@ async function SchemaFloors() {
FOREIGN KEY(RoomsID) REFERENCES Rooms(RoomsID)ON DELETE CASCADE ON UPDATE CASCADE
);
`
-
+ const connection = await mysql.createConnection(database)
await connection.promise().query(sql);
+ connection.end();
}
diff --git a/frontend/public/admin-mobile.png b/frontend/public/admin-mobile.png
new file mode 100644
index 000000000..cc82b1a23
Binary files /dev/null and b/frontend/public/admin-mobile.png differ
diff --git a/frontend/public/admin-web.png b/frontend/public/admin-web.png
new file mode 100644
index 000000000..8becfaae0
Binary files /dev/null and b/frontend/public/admin-web.png differ
diff --git a/frontend/public/admin.png b/frontend/public/admin.png
deleted file mode 100644
index e4a1e00ef..000000000
Binary files a/frontend/public/admin.png and /dev/null differ
diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico
index a11777cc4..46ef36cf9 100644
Binary files a/frontend/public/favicon.ico and b/frontend/public/favicon.ico differ
diff --git a/frontend/public/index.html b/frontend/public/index.html
index aa069f27c..78a54376b 100644
--- a/frontend/public/index.html
+++ b/frontend/public/index.html
@@ -10,34 +10,12 @@
content="Web site created using create-react-app"
/>
-
-
- React App
+ Painel de Salas
You need to enable JavaScript to run this app.
-