-
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
327124b
commit 964d847
Showing
15 changed files
with
7,045 additions
and
1 deletion.
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,3 @@ | ||
.git | ||
pdf2cash_front/node_modules | ||
pdf2cash_front/npm-debug.log |
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,2 @@ | ||
**/node_modules | ||
**/.next |
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 @@ | ||
FROM node:9.6-slim | ||
|
||
WORKDIR /app | ||
|
||
ENV PATH /app/node_modules/.bin:$PATH | ||
|
||
COPY pdf2cash_front/package.json /app/package.json | ||
|
||
RUN npm install | ||
|
||
|
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 +1,41 @@ | ||
# FrontEnd | ||
# PDF2CASHFrontEnd | ||
|
||
Repositório responsável por armazenar o código fonte do microserviço FrontEnd do projeto _PDF2CASH_. | ||
|
||
## Iniciando usando docker | ||
|
||
### Pré-requisitos | ||
|
||
A fim de conseguir iniciar o serviço, os seguintes pacotes são necessários: | ||
|
||
- docker | ||
- docker-compose | ||
|
||
Caso esteja usando uma plataforma linux, verifique na documentação de sua distro, como obter os referidos pacotes. | ||
|
||
### Instalando | ||
|
||
Construa os containers: | ||
```bash | ||
docker-compose build | ||
``` | ||
### Uso | ||
|
||
Execute o compose: | ||
```bash | ||
docker-compose up | ||
``` | ||
|
||
O comando acima irá deixar o container rodando o servidor e escutando pela porta 3000 | ||
|
||
```bash | ||
http://localhost:3000/ | ||
``` | ||
|
||
## Contribuindo | ||
|
||
Por favor leia o nosso [CONTRIBUTING.md](https://github.com/fga-eps-mds/2018.2-PDF2CASH/blob/master/CONTRIBUTING.md) se deseja contribuir com nosso projeto. | ||
|
||
## Licensa | ||
|
||
Esse projeto é licensiado sobre a licensa MIT |
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 @@ | ||
version: '3' | ||
services: | ||
front: | ||
build: . | ||
command: npm run dev | ||
volumes: | ||
- ./pdf2cash_front:/app | ||
- /app/node_modules | ||
ports: | ||
- "3000:3000" | ||
environment: | ||
- NODE_ENV=development | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,3 @@ | ||
{ | ||
"presets": ["next/babel"] | ||
} |
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 @@ | ||
Place reusable react components on this directory then export them when needed. |
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 @@ | ||
module.exports = {}; |
Oops, something went wrong.