Skip to content

Commit

Permalink
Merge pull request #1 from fga-eps-mds/16-estrutura-inicial
Browse files Browse the repository at this point in the history
TS10 - Estrutura Inicial do Frontend
  • Loading branch information
gabiMSilva authored Sep 4, 2020
2 parents 731d550 + 949620e commit 2e241ea
Show file tree
Hide file tree
Showing 30 changed files with 19,702 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REACT_APP_DESENV_SERVER = http://localhost:9000
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"git.ignoreLimitWarning": true,
"editor.rulers": [
100
],
"editor.tabSize": 2,
"files.trimTrailingWhitespace": true,
"editor.autoClosingBrackets": "always",
"editor.codeActionsOnSave": {
"source.fixAll.tslint": true,
"source.fixAll.eslint": true
}
}
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node:13-alpine
WORKDIR /app

COPY package.json /app/package.json
COPY package-lock.json /app/package-lock.json

RUN npm install [email protected] -g --silent
RUN npm install --no-optional

COPY . /app

CMD ["npm", "start"]
35 changes: 34 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,34 @@
# 2020.1-Grupo4-FrontEnd
# Django Girls _**Tutorial**_

Repositório do Front End do projeto [DjangoGirls _Tutorial_](https://github.com/fga-eps-mds/2020.1-Grupo4).

## Executando o projeto

- Instale o [Docker](docs.docker.com/get-docker/) e o [Compose](docs.docker.com/compose/install/#install-compose) no seu computador

- Rode o backend do projeto. Saiba mais [aqui](https://github.com/fga-eps-mds/2020.1-Grupo4-BackEnd)

- Baixe este repositório e entre na pasta baixada

- Se essa é a primeira vez que está rodando o projeto, execute ```docker-compose up --build```

- Se já rodou o projeto antes, execute ```docker-compose up```

- Se você fez os passos acima e não houve nenhum erro, o projeto já está rodando em [localhost:3000](localhost:3000) =D

## Documentação

A documentação desse projeto pode ser acessadas [aqui](https://fga-eps-mds.github.io/2020.1-Grupo4/).

<!-- ## Time
Membro | Nome | GitHub
:----- |:----- | :-----
[<img src="https://www.linkpicture.com/q/49292747.png" width="80">](https://github.com/EduardoPicolo) |Eduardo Pícolo | [@EduardoPicolo](https://github.com/EduardoPicolo) |
[<img src="https://www.linkpicture.com/q/30116525.jpeg" width="80">](https://github.com/estevaoreis25) | Estevão Reis | [@estevaoreis25](https://github.com/estevaoreis25) |
[<img src="https://www.linkpicture.com/q/36926637.jpeg" width="80">](https://github.com/gabiMSilva) | Gabriela Medeiros | [@gabiMSilva](https://github.com/gabiMSilva) |
[<img src="https://www.linkpicture.com/q/31005087.jpeg" width="80">](https://github.com/GeovanaRamos) | Geovana Ramos | [@GeovanaRamos](https://github.com/GeovanaRamos) |
[<img src="https://www.linkpicture.com/q/49578168.png" width="80">](https://github.com/JaimeJuan11) | Jaime Juan | [@JaimeJuan11](https://github.com/JaimeJuan11) |
[<img src="https://www.linkpicture.com/q/48891167.jpeg" width="80">](https://github.com/luucas-melo) | Lucas Melo | [@luucas-melo](https://github.com/luucas-melo) |
[<img src="https://www.linkpicture.com/q/57498006.png" width="80">](https://github.com/peHaick) | Pedro Haick | [@peHaick](https://github.com/peHaick) |
[<img src="https://www.linkpicture.com/q/42697323.jpeg" width="80">](https://github.com/Rocsantos) | Rodrigo Santos | [@Rocsantos](https://github.com/Rocsantos) | -->
21 changes: 21 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: '3.7'
services:
app:
stdin_open: true
build: ./
volumes:
- '.:/app'
- '/app/node_modules'
ports:
- '3000:3000'
environment:
NODE_ENV: development
SERVER_HOST: server
SERVER_PORT: 9000
networks:
- client-server-network

networks:
client-server-network:
external:
name: client-server-network
Loading

0 comments on commit 2e241ea

Please sign in to comment.