Giter VIP home page Giter VIP logo

desafio's Introduction

Desafio iRancho

Aguardamos os seus pull requests! Muito Obrigado!

O projeto é o seguinte, criar um CRUD da entidade/tabela pessoa, utilizando as tecnologias que usamos, são elas:

Entender bem:

  • callback functions
  • arrow functions
  • promisses
  • async/await em javascript
  • try/catch
  • .then()/.catch
  • restful
  • ajax

Fazer um CRUD(operações de criar, recuperar, atualizar e deletar) das entidades:

  • pessoa
    • id
    • no_pessoa
    • no_email
    • endereco
    • sexo(char M/F)
    • ic_ativo(boolean)
  • animal (1xN -> Animais de pessoas)
    • id
    • fk_id_pessoa
    • id_fazenda
    • no_animal
    • no_raca
    • sexo(char M/F)
    • vr_peso
    • dt_nascimento
  • animal_lote
    • id
    • no_lote
    • ds_lote
  • animal_x_lote (NxM -> Animais X Lotes)
    • id
    • fk_id_animal
    • fk_id_lote
    • dt_entrada
    • dt_saida
    • dt_ultima_movimentacao
    • ic_bezerro

Utilizando as tecnologias:

  • webpack
  • vuejs
  • bootstrap
  • express
  • sequelize

Entender 100%: https://gist.github.com/marcelomf/70376aeac3f664fffe8529e59ee7b95d

Para o server, seguir:

Para o client, seguir:

Trocar:
$ npx vue init webpack-simple
Por:
$ npx vue init webpack
Rodar:
npm install --save-dev css-loader node-sass sass-loader

Como organizar o código:

  1. Dentro da pasta raiz deste repositório, crie uma pasta com o seu nome de usuário do github e faça todo o projeto lá.
  2. Começar pelo server, e para testar usar o postman ou insomnia.
  3. Ter uma pasta para o client e outra totalmente separada para o server.

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.