-
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
Showing
2 changed files
with
58 additions
and
18 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,21 @@ | ||
# Generate a secret using: `openssl rand -hex 32`` | ||
NUXT_SECRET=MY-SECRET | ||
|
||
# Needed for production | ||
# | ||
# Must be in the form: | ||
# - example.org | ||
# - domain.example.org | ||
# | ||
# For more info, please check: | ||
# https://sidebase.io/nuxt-auth/resources/errors#auth_no_origin | ||
AUTH_ORIGIN=localhost:3000 | ||
|
||
# Auth0 credentials | ||
# | ||
# In your Auth0 dashboard: Application > Basic Information > Domain | ||
AUTH0_ISSUER=https://YOUR-DOMAIN.us.auth0.com | ||
# In your Auth0 dashboard: Application > Basic Information > Client ID | ||
AUTH0_CLIENT_ID=YOUR-CLIENT-ID | ||
# In your Auth0 dashboard: Application > Basic Information > Client Secret | ||
AUTH0_CLIENT_SECRET=YOUR-CLIENT-SECRET |
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 |
---|---|---|
@@ -1,35 +1,54 @@ | ||
# Findicadores | ||
|
||
Disponível em: [findicadores.com.br](https://findicadores.com.br) | ||
Website using data from [Fintz][1] | ||
|
||
## Sobre o site | ||
## About | ||
|
||
Busque uma ação e acesse rapidamente: | ||
Currently, you can access the following information using the website: | ||
|
||
- indicadores | ||
- resultado | ||
- cotação | ||
- gráficos de cada um desses | ||
- Indexes | ||
- Results | ||
- Ticker prices | ||
- Graphs for all of the above | ||
|
||
### Exemplo com PETR4 | ||
### Examples | ||
|
||
General data: | ||
|
||
Dados gerais | ||
![PETR4.png](src/assets/PETR4.png) | ||
|
||
Gráfico Histórico (só clicar no indicador) | ||
Historical graph (click on index) | ||
|
||
![PETR4.png](src/assets/PETR4_LPA.png) | ||
|
||
## Rodar local | ||
## Development | ||
|
||
Install dependencies using: | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
In order to run the application locally, you will need to copy the example | ||
`.env` file and replace the values with your own: | ||
|
||
```bash | ||
cp -v .env.example .env | ||
``` | ||
|
||
### Instalar | ||
Finally, you can run the development server using: | ||
|
||
`npm install` | ||
```bash | ||
npm run dev | ||
``` | ||
|
||
### Rodar | ||
## Deploy | ||
|
||
`npm run dev` | ||
We deploy to [Vercel][2]. So you just need to run: | ||
|
||
### Deployar | ||
```bash | ||
npx vercel | ||
``` | ||
|
||
`npm run build` | ||
`npm run deploy` // script customizado do pacote gh-pages | ||
[1]: https://fintz.com.br | ||
[2]: https://vercel.com |