Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robsantossilva/semanaomnistack11
Projeto Be The Hero, desenvolvido durante a Omnistack da Rocketseat
https://github.com/robsantossilva/semanaomnistack11
expo expressjs nodejs omnistack-da-rocketseat projeto react-native reactjs semana-omnistack-11
Last synced: about 1 month ago
JSON representation
Projeto Be The Hero, desenvolvido durante a Omnistack da Rocketseat
- Host: GitHub
- URL: https://github.com/robsantossilva/semanaomnistack11
- Owner: robsantossilva
- Created: 2020-03-23T14:16:36.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T08:52:58.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T10:19:23.903Z (almost 2 years ago)
- Topics: expo, expressjs, nodejs, omnistack-da-rocketseat, projeto, react-native, reactjs, semana-omnistack-11
- Language: JavaScript
- Homepage:
- Size: 8.93 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Semana Omnistack 11
Projeto Be The Hero sendo desenvolvido durante a Omnistack da Rocketseat
## Iniciando o Backend
```bash
cd backend
npm install
npm start
```### Métodos da API Rest
| Método | Estrutura | Ação | Parâmetros | Retorno |
| ----------- | ------------------- | ------------------------------------- | ------------------- | ------------- |
| [GET] | `/ongs` | Lista todas as ONGs | **Nenhum** | JSON |
| [POST] | `/ongs` | Cadastra uma nova ONG | Body{ name, email, whatsapp, city, uf } | JSON |
| [GET] | `/incidents` | Lista todos os casos cadastrados | **Nenhum** | JSON |
| [POST] | `/incidents` | Cadastra um novo caso | Body{ title, description, value }
Header{Authorization:ong_id} | JSON |
| [DELETE] | `/incidents/:id` | Deleta um caso | Params{incident_id} | JSON |
| [POST] | `/sessions` | Login | Body{ id } | JSON |
| [GET] | `/profile` | Lista Casos por ONG | Header{Authorization:ong_id} | JSON |## Iniciando o Frontend
```bash
cd frontend
npm install
npm start
```
Vejá mais informações sobre o [frontend/README.md](./frontend)## Iniciando o Aplicativo
É necessário ter o [expo-cli](https://github.com/expo/expo-cli) instalado em sua maquina
```bash
npm install -g expo-cli
``````bash
cd mobile
npm install
npm start
```
Vejá mais informações sobre o [mobile/README.md](./mobile)