Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
pgThiago committed Aug 14, 2020
1 parent fa30a9f commit 6dd79c4
Show file tree
Hide file tree
Showing 7 changed files with 187 additions and 11 deletions.
73 changes: 72 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,72 @@
# Rocketseat-Omnistack-10
<h1 align="center">
<img alt="DevRadar" title="#delicinha" src=".github/devradar.svg" width="250px" />
</h1>

<h4 align="center">
🚀 OmniStack Week 10.0
</h4>
<p align="center">
<img alt="GitHub language count" src="https://img.shields.io/github/languages/count/Rocketseat/semana-omnistack-10">

<img alt="Repository size" src="https://img.shields.io/github/repo-size/Rocketseat/semana-omnistack-10">

<a href="https://github.com/Rocketseat/semana-omnistack-10/commits/master">
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Rocketseat/semana-omnistack-10">
</a>

<a href="https://github.com/Rocketseat/semana-omnistack-10/issues">
<img alt="Repository issues" src="https://img.shields.io/github/issues/Rocketseat/semana-omnistack-10">
</a>

<img alt="License" src="https://img.shields.io/badge/license-MIT-brightgreen">
</p>

<p align="center">
<a href="#rocket-tecnologias">Technologies</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#-projeto">Project</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#-layout">Layout</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#-como-contribuir">How to contribute</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#memo-licença">License</a>
</p>

<br>

<p align="center">
<img alt="Frontend" src=".github/devradar.png" width="100%">
</p>

## :rocket: Technologies

This project was developed with the following technologies:

- [Node.js](https://nodejs.org/en/)
- [React](https://reactjs.org)
- [React Native](https://facebook.github.io/react-native/)
- [Expo](https://expo.io/)

## 💻 Project

DevRadar is a project that aims to connect developers close to you who work with the same technologies.

## 🔖 Layout

You can download the project layout in `.sketch` format through [this link](https://rocketseat-cdn.s3-sa-east-1.amazonaws.com/semana-omnistack/aircnc.sketch).

In order to open the file in `.sketch` format in any operating system you can use this tool: [Zeplin](https://zeplin.io).

## 🤔 How to contribute

- Make a fork of this repository;
- Make branch with your feature's name: git checkout -b my-feature;
- Make a commit on your changes: git commit -m 'feat: My new feature';
- Make a push for your branch: git push origin my-feature.

After the merge of your pull request is done, you can delete your branch.

## :memo: License

This project is under MIT license. Check the file [LICENSE](LICENSE.md) for more details.

---

Made with ♥ by Rocketseat :wave: [Join us!](https://discordapp.com/invite/gCRAFhc)
10 changes: 7 additions & 3 deletions mobile/app.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"expo": {
"name": "mobile",
"slug": "mobile",
"name": "DevRadar",
"slug": "DevRadar",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
"backgroundColor": "#000000"
},
"updates": {
"fallbackToCacheTimeout": 0
Expand All @@ -21,6 +21,10 @@
},
"web": {
"favicon": "./assets/favicon.png"
},
"android": {
"package": "com.rocketseat.devradar",
"versionCode": 1
}
}
}
Binary file removed mobile/assets/favicon.png
Binary file not shown.
Binary file modified mobile/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified mobile/assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions mobile/debug.log
Original file line number Diff line number Diff line change
Expand Up @@ -322,3 +322,57 @@
[0719/235253.047:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0719/235253.047:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0719/235253.047:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.306:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.357:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.357:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.357:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.358:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.358:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.358:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.358:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.358:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.358:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.359:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.359:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.359:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.359:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.359:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.360:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.360:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.360:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.360:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.360:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.360:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.360:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.361:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.361:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.361:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.361:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042548.361:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.067:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.068:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.068:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.069:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.069:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.069:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.069:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.069:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.070:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.070:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.070:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.070:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.070:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.070:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.070:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.071:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.071:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.071:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.071:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.071:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.071:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.071:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.072:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.072:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.072:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.072:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0802/042941.072:ERROR:crash_report_database_win.cc(469)] failed to stat report
61 changes: 54 additions & 7 deletions web/src/App.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,58 @@
import React from 'react';
import React, { useState, useEffect } from 'react';

import Routes from './components/routes';
import './App.css';
import './global.css';
import './Sidebar.css';
import './Main.css';

import api from './services/api';

import DevItem from './components/DevItem';
import DevForm from './components/DevForm';
import UpdateTechs from './components/UpdateTechs';

function App() {

const [ devs, setDevs ] = useState([]);

useEffect(() => {
async function loadDevs(){
const response = await api.get('/devs')
setDevs(response.data);
}
loadDevs();
}, []);

async function handleAddDev(data){

const response = await api.post('/devs', data);

setDevs([...devs, response.data]);
}


return (
<div id="app">
<aside>
<strong>Cadastrar</strong>
<DevForm onSubmit={handleAddDev}/>
</aside>

<main>

<ul>
{
devs.map(dev => (
<DevItem key={dev._id} dev={dev} />
))
}
</ul>

</main>

</div>
);

function App(){
return (
<Routes />
)
}

export default App;
export default App;

0 comments on commit 6dd79c4

Please sign in to comment.