-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc36d68
commit 5a58812
Showing
85 changed files
with
730 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bun 1.1.20 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# =============================== | ||
# = SPRING | ||
# =============================== | ||
spring.application.name=Streampix | ||
spring.servlet.multipart.enabled=true | ||
spring.servlet.multipart.max-file-size=20MB | ||
spring.servlet.multipart.max-request-size=20MB | ||
|
||
spring.data.redis.host=localhost | ||
spring.data.redis.port=6379 | ||
|
||
# =============================== | ||
# = DATA SOURCE | ||
# =============================== | ||
|
||
spring.datasource.url=jdbc:postgresql://localhost:5432/streampix_spring | ||
spring.datasource.username=curumin | ||
spring.datasource.password=curumin | ||
spring.datasource.driver-class-name=org.postgresql.Driver | ||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect | ||
spring.jpa.hibernate.ddl-auto=update | ||
|
||
# =============================== | ||
# = Configuracoes extras | ||
# =============================== | ||
streampix.security.jwt.secret-key=sznHxC++V/ODy/2ZcXvONiF1y+x72rBp7V+ndLKuhjw= | ||
streampix.security.jwt.expiration=30 | ||
streampix.security.jwt.refresh-token.expiration=30 | ||
|
||
streampix.tam.max.pdf.mb=20 | ||
streampix.tam.max.img.mb=20 | ||
|
||
efipay.rota-base.homologacao=https://pix-h.api.efipay.com.br | ||
efipay.rota-base.producao=https://pix.api.efipay.com.br | ||
efipay.path.certificado.homologacao=/opt/certs/homologacao-537948-cert_qoruja_efi_hom.p12 | ||
efipay.path.certificado.producao= | ||
efipay.keys.client_id.homologacao=Client_Id_535996bdfdaf69abd8604481738f323c82eb17d4 | ||
efipay.keys.client_id.producao= | ||
efipay.keys.secret.homologacao=Client_Secret_d0ad6f186e6520c64546fcf6bc830dbf9291fb9f | ||
efipay.keys.secret.producao= | ||
efipay.pix.chave-aleatoria=27ec7222-8212-418a-b48d-2b2187a45aca | ||
|
||
efipay.credential.client_id=Client_Id_535996bdfdaf69abd8604481738f323c82eb17d4 | ||
efipay.credential.client_secret=Client_Secret_d0ad6f186e6520c64546fcf6bc830dbf9291fb9f | ||
efipay.credential.certificate=/opt/certs/homologacao-537948-cert_qoruja_efi_hom.p12 | ||
efipay.credential.sandbox=true | ||
efipay.credential.debug=false |
Binary file added
BIN
+932 Bytes
app/backend/target/classes/br/com/streampix/app/ServletInitializer.class
Binary file not shown.
Binary file added
BIN
+756 Bytes
app/backend/target/classes/br/com/streampix/app/StreampixApplication.class
Binary file not shown.
Binary file added
BIN
+2.57 KB
app/backend/target/classes/br/com/streampix/app/controllers/AuthController.class
Binary file not shown.
Binary file added
BIN
+1.79 KB
app/backend/target/classes/br/com/streampix/app/models/records/AuthResponseJson.class
Binary file not shown.
Binary file added
BIN
+1.6 KB
app/backend/target/classes/br/com/streampix/app/models/records/LoginJson.class
Binary file not shown.
Binary file added
BIN
+1.89 KB
app/backend/target/classes/br/com/streampix/app/models/records/RegisterJson.class
Binary file not shown.
Binary file added
BIN
+2.92 KB
app/backend/target/classes/br/com/streampix/app/models/tokens/Token$TokenBuilder.class
Binary file not shown.
Binary file added
BIN
+5.34 KB
app/backend/target/classes/br/com/streampix/app/models/tokens/Token.class
Binary file not shown.
Binary file added
BIN
+1.14 KB
app/backend/target/classes/br/com/streampix/app/models/tokens/TokenType.class
Binary file not shown.
Binary file added
BIN
+2.31 KB
app/backend/target/classes/br/com/streampix/app/models/users/Usuario$UsuarioBuilder.class
Binary file not shown.
Binary file added
BIN
+5.01 KB
app/backend/target/classes/br/com/streampix/app/models/users/Usuario.class
Binary file not shown.
Binary file added
BIN
+1.01 KB
app/backend/target/classes/br/com/streampix/app/repositories/TokenRepository.class
Binary file not shown.
Binary file added
BIN
+707 Bytes
app/backend/target/classes/br/com/streampix/app/repositories/UsuarioRepository.class
Binary file not shown.
Binary file added
BIN
+5.39 KB
app/backend/target/classes/br/com/streampix/app/security/ApiConfiguration.class
Binary file not shown.
Binary file added
BIN
+2.21 KB
app/backend/target/classes/br/com/streampix/app/security/ApplicationAuditAware.class
Binary file not shown.
Binary file added
BIN
+4.6 KB
app/backend/target/classes/br/com/streampix/app/security/ApplicationConfig.class
Binary file not shown.
Binary file added
BIN
+6.4 KB
app/backend/target/classes/br/com/streampix/app/security/JwtAuthenticationFilter.class
Binary file not shown.
Binary file added
BIN
+5.99 KB
app/backend/target/classes/br/com/streampix/app/security/JwtService.class
Binary file not shown.
Binary file added
BIN
+10.4 KB
app/backend/target/classes/br/com/streampix/app/services/AuthService.class
Binary file not shown.
Binary file added
BIN
+1.3 KB
app/backend/target/classes/br/com/streampix/app/services/UsuarioLogadoService.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* eslint-env node */ | ||
module.exports = { | ||
root: true, | ||
'extends': [ | ||
'plugin:vue/vue3-essential', | ||
'eslint:recommended' | ||
], | ||
parserOptions: { | ||
ecmaVersion: 'latest' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
|
||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
*.tsbuildinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"Vue.volar", | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# frontend | ||
|
||
This template should help get you started developing with Vue 3 in Vite. | ||
|
||
## Recommended IDE Setup | ||
|
||
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur). | ||
|
||
## Customize configuration | ||
|
||
See [Vite Configuration Reference](https://vitejs.dev/config/). | ||
|
||
## Project Setup | ||
|
||
```sh | ||
bun install | ||
``` | ||
|
||
### Compile and Hot-Reload for Development | ||
|
||
```sh | ||
bun dev | ||
``` | ||
|
||
### Compile and Minify for Production | ||
|
||
```sh | ||
bun build | ||
``` | ||
|
||
### Lint with [ESLint](https://eslint.org/) | ||
|
||
```sh | ||
bun lint | ||
``` |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<link rel="icon" href="/favicon.ico"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Vite App</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"paths": { | ||
"@/*": ["./src/*"] | ||
} | ||
}, | ||
"exclude": ["node_modules", "dist"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "frontend", | ||
"version": "0.0.0", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore" | ||
}, | ||
"dependencies": { | ||
"vue": "^3.4.29", | ||
"vue-router": "^4.3.3" | ||
}, | ||
"devDependencies": { | ||
"@vitejs/plugin-vue": "^5.0.5", | ||
"eslint": "^8.57.0", | ||
"eslint-plugin-vue": "^9.23.0", | ||
"vite": "^5.3.1", | ||
"vite-plugin-vue-devtools": "^7.3.1" | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<script setup> | ||
import { RouterLink, RouterView } from 'vue-router' | ||
import HelloWorld from './components/HelloWorld.vue' | ||
</script> | ||
|
||
<template> | ||
<header> | ||
<img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" /> | ||
|
||
<div class="wrapper"> | ||
<HelloWorld msg="You did it!" /> | ||
|
||
<nav> | ||
<RouterLink to="/">Home</RouterLink> | ||
<RouterLink to="/about">About</RouterLink> | ||
</nav> | ||
</div> | ||
</header> | ||
|
||
<RouterView /> | ||
</template> | ||
|
||
<style scoped> | ||
header { | ||
line-height: 1.5; | ||
max-height: 100vh; | ||
} | ||
.logo { | ||
display: block; | ||
margin: 0 auto 2rem; | ||
} | ||
nav { | ||
width: 100%; | ||
font-size: 12px; | ||
text-align: center; | ||
margin-top: 2rem; | ||
} | ||
nav a.router-link-exact-active { | ||
color: var(--color-text); | ||
} | ||
nav a.router-link-exact-active:hover { | ||
background-color: transparent; | ||
} | ||
nav a { | ||
display: inline-block; | ||
padding: 0 1rem; | ||
border-left: 1px solid var(--color-border); | ||
} | ||
nav a:first-of-type { | ||
border: 0; | ||
} | ||
@media (min-width: 1024px) { | ||
header { | ||
display: flex; | ||
place-items: center; | ||
padding-right: calc(var(--section-gap) / 2); | ||
} | ||
.logo { | ||
margin: 0 2rem 0 0; | ||
} | ||
header .wrapper { | ||
display: flex; | ||
place-items: flex-start; | ||
flex-wrap: wrap; | ||
} | ||
nav { | ||
text-align: left; | ||
margin-left: -1rem; | ||
font-size: 1rem; | ||
padding: 1rem 0; | ||
margin-top: 1rem; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/* color palette from <https://github.com/vuejs/theme> */ | ||
:root { | ||
--vt-c-white: #ffffff; | ||
--vt-c-white-soft: #f8f8f8; | ||
--vt-c-white-mute: #f2f2f2; | ||
|
||
--vt-c-black: #181818; | ||
--vt-c-black-soft: #222222; | ||
--vt-c-black-mute: #282828; | ||
|
||
--vt-c-indigo: #2c3e50; | ||
|
||
--vt-c-divider-light-1: rgba(60, 60, 60, 0.29); | ||
--vt-c-divider-light-2: rgba(60, 60, 60, 0.12); | ||
--vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); | ||
--vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); | ||
|
||
--vt-c-text-light-1: var(--vt-c-indigo); | ||
--vt-c-text-light-2: rgba(60, 60, 60, 0.66); | ||
--vt-c-text-dark-1: var(--vt-c-white); | ||
--vt-c-text-dark-2: rgba(235, 235, 235, 0.64); | ||
} | ||
|
||
/* semantic color variables for this project */ | ||
:root { | ||
--color-background: var(--vt-c-white); | ||
--color-background-soft: var(--vt-c-white-soft); | ||
--color-background-mute: var(--vt-c-white-mute); | ||
|
||
--color-border: var(--vt-c-divider-light-2); | ||
--color-border-hover: var(--vt-c-divider-light-1); | ||
|
||
--color-heading: var(--vt-c-text-light-1); | ||
--color-text: var(--vt-c-text-light-1); | ||
|
||
--section-gap: 160px; | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--color-background: var(--vt-c-black); | ||
--color-background-soft: var(--vt-c-black-soft); | ||
--color-background-mute: var(--vt-c-black-mute); | ||
|
||
--color-border: var(--vt-c-divider-dark-2); | ||
--color-border-hover: var(--vt-c-divider-dark-1); | ||
|
||
--color-heading: var(--vt-c-text-dark-1); | ||
--color-text: var(--vt-c-text-dark-2); | ||
} | ||
} | ||
|
||
*, | ||
*::before, | ||
*::after { | ||
box-sizing: border-box; | ||
margin: 0; | ||
font-weight: normal; | ||
} | ||
|
||
body { | ||
min-height: 100vh; | ||
color: var(--color-text); | ||
background: var(--color-background); | ||
transition: | ||
color 0.5s, | ||
background-color 0.5s; | ||
line-height: 1.6; | ||
font-family: | ||
Inter, | ||
-apple-system, | ||
BlinkMacSystemFont, | ||
'Segoe UI', | ||
Roboto, | ||
Oxygen, | ||
Ubuntu, | ||
Cantarell, | ||
'Fira Sans', | ||
'Droid Sans', | ||
'Helvetica Neue', | ||
sans-serif; | ||
font-size: 15px; | ||
text-rendering: optimizeLegibility; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.