Skip to content

Commit d51d795

Browse files
authored
Merge pull request #11 from richhh7g/develop
Staging
2 parents 1660e37 + 5755922 commit d51d795

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+7973
-0
lines changed

.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
NEXT_PUBLIC_API_URL=http://localhost:3333/api/v1

.eslintrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

.gitignore

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
.yarn/install-state.gz
8+
9+
# testing
10+
/coverage
11+
12+
# next.js
13+
/.next/
14+
/out/
15+
16+
# production
17+
/build
18+
19+
# misc
20+
.DS_Store
21+
*.pem
22+
23+
# debug
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
28+
# local env files
29+
.env*.local
30+
.env
31+
32+
# vercel
33+
.vercel
34+
35+
# typescript
36+
*.tsbuildinfo
37+
next-env.d.ts

README.md

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Term Monitor | Frontend
2+
3+
<p align="center">
4+
<a href="https://www.term-monitor.shop/" target="_blank">
5+
<img src="https://term-monitor.s3.amazonaws.com/monitor.png" alt="Term Alarms" height="150" width=325"/>
6+
</a>
7+
</p>
8+
9+
## Descrição
10+
11+
Este projeto e o frontend do Term Monitor, uma ferramenta de monitoramento de termos de marca para sites concorrentes que são patrocinados usando Google Ads.
12+
13+
## Requisitos
14+
15+
| Ferramenta | Versão | Descrição
16+
| - | - | -
17+
| `NodeJS` | `>= v18.20.4` | Versão [superior](https://nodejs.org/en/download/) ou [igual](https://nodejs.org/en/download/current/) a `18.20.4`.
18+
| `Typescript` | `>= v5.0.0` | Versão [superior](https://github.com/Microsoft/TypeScript/releases) ou [igual](https://github.com/Microsoft/TypeScript/releases/tag/v5.0.0) a `5.0.0`.
19+
20+
## Como usar e configurar o projeto
21+
22+
### Variáveis de Ambiente
23+
24+
Crie um arquivo `.env` com as configurações necessárias. Você pode usar o arquivo de exemplo `.env.example` como referência.
25+
26+
```bash
27+
cp .env .env.local
28+
```
29+
30+
### Executando Localmente
31+
32+
#### Ambiente de desenvolvimento
33+
34+
Para iniciar o servidor em modo de desenvolvimento, use o comando:
35+
36+
```bash
37+
npm run dev
38+
```
39+
40+
#### Ambiente de Produção
41+
42+
Para iniciar o servidor em modo de produção, siga os passos abaixo:
43+
44+
1. Primeiro, transpile o código usando o comando:
45+
46+
```bash
47+
npm run build
48+
```
49+
50+
2. Em seguida, inicie o servidor usando o comando:
51+
52+
```bash
53+
npm run start
54+
```

next.config.mjs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {};
3+
4+
export default nextConfig;

0 commit comments

Comments
 (0)