Skip to content

Commit

Permalink
Added development info
Browse files Browse the repository at this point in the history
  • Loading branch information
meyer1994 committed Apr 13, 2024
1 parent d768741 commit 0ea04a6
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 18 deletions.
21 changes: 21 additions & 0 deletions .env.example
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
55 changes: 37 additions & 18 deletions README.md
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

0 comments on commit 0ea04a6

Please sign in to comment.