Giter VIP home page Giter VIP logo

helpeo's Introduction

Helpeo

Helpeo é um projeto que foi baseado no Ecoleta da rocketseat!

Baixando arquivos iniciais

yarn

Ou

npm install

// Ou use

npm i

Configurando o banco de dados SQLite

/* YARN */

// Criar banco de dados
yarn knex:migrate

// Adicionar Dados Default
yarn knex:seed

/* NPM */

npm run knex:migrate
npm run knex:seed

Utilizando o programa

yarn dev

// ou

npm run dev

Rotas

SignUp and SignIn

Route Method Params Description
/signup Post name email password in body params Create a new user
/signin Post email password in body params Login

Items

Route Method Params Description
/items Get No params Get all itens for charity donation

User

Route Method Params Headers Description
/user/authenticated Get No params Authorization Check authenticated user in web for access Private Router
/user Get No params Authorization Get user data
/user/points Post Params Authorization Create a new point for charity donation
/user/points Get No params Authorization List all user points
/user/point/:id Put Params and point id in params Authorization Update user point
/user/point/:id Delete point id in params Authorization Delete user point

Parâmetros do user/points

title,
whatsapp,
latitude,
longitude,
city,
uf,
address,
neighborhood,
numbering,
items

✏️ Fork esse repositório

Crie uma branch com a sua feature: git checkout -b my-feature

Commit suas mudanças: git commit -m feat: My new feature

Push a sua branch: git push origin my-feature

Criado pelo joaoAzevedoJS ❤️

helpeo's People

Contributors

joaoazevedojs 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.