Giter Club home page Giter Club logo

bootcamp-desafio11-gorestaurant-mobile's Introduction

Documentation/Documentação

Summary

📝 About

Generated from a template, this application will connect to a fake API, and shows plates of foods created and able to create, read, update and delete theses plates.


Preview

YouTube


🏆 Challenges

  • Put in pratice what I learned in the Rockeseat's Bootcamp GoStack.

💻 Techs

  • React Native
  • React Hooks
  • API REST
  • Typescript
  • Styled-components
  • Axios

💅 Code formatters

  • ESLint
  • Prettier
  • EditorConfig

👇 Clone the repository

  • Open your terminal to write theses lines:
  ## clone repository
  $ git clone https://github.com/danilobandeira29/bootcamp-desafio11-goRestaurant-mobile.git

  ## access project directory
  $ cd bootcamp-desafio11-goRestaurant-mobile

  ## install all dependencies (or you can use 'npm install')
  $ yarn

  ## run the fake api
  $ yarn json-server server.json -p 3333

  ## opens another terminal and inicialize the project (or you can use 'npm start')
  $ yarn start

🔃 API Routes

Route /foods: Returns all foods registered in the API.

Route /foods/:id: Returns a plate of food registered in the API based on the ID.

Route /categories: Returns all categories registered in the API

Route /orders: Returns all orders registered in the API

Route /favorites: Returns all favorite foods registered in the API

🧪 Tests

With the fake api running, run:

$ yarn test


Sumário

📝 Sobre

Gerada de um template, essa será uma aplicação que irá se conectar a uma fake API, e exibir os pratos de comida criados e permitir a criação, remoção e atualização desses pratos.


Demonstração

YouTube


🏆 Desafios

  • Por em prática o que eu aprendi com o Bootcamp da Rockeseat

💻 Tecnologias

  • React Native
  • React Hooks
  • API REST
  • Typescript
  • Styled-components
  • Axios

💅 Formatadores de código

  • ESLint
  • Prettier
  • EditorConfig

👇 Clonar o Projeto

  • Abra o seu terminal para escrever essas linhas:
  ## clonar repositório
  $ git clone https://github.com/danilobandeira29/bootcamp-desafio11-goRestaurant-mobile.git

  ## acessar o diretório do projeto
  $ cd bootcamp-desafio11-goRestaurant-mobile

  ## instalar todas as dependências (ou você pode executar 'npm install')
  $ yarn

  ## executar a fake api
  $ yarn json-server server.json -p 3333

  ## inicializar o projeto (ou você pode executar 'npm start')
  $ yarn start

🔃 Rotas da API

Rota /foods: Retorna todas as comidas cadastradas na API

Rota /foods/:id: Retorna um prato de comida cadastradas na API baseado no id

Rota /categories: Retorna todas as categorias cadastradas na API

Rota /orders: Retorna todas os pedidos que foram cadastrados na API

Rota /favorites: Retorna todas as comidas favoritas que foram cadastrados na API

🧪 Testes

Com a fake api executando, execute o comando

$ yarn test


Developed by/Desenvolvido por👻 Danilo Bandeira

bootcamp-desafio11-gorestaurant-mobile's People

Contributors

danilobandeira29 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.