Git Product home page Git Product logo

blogs-api's Introduction

💻 Blogs API

Neste projeto foi desenvolvida uma API e um banco de dados para a produção de conteúdo para um blog.

Esta aplicação em Node.js usa o pacote sequelize para fazer um CRUD de posts.

Desenvolvidos endpoints que estarão conectados ao banco de dados seguindo os princípios do REST;

Para fazer um post é necessário o usuário realizar uma autenticação, portanto uma relação entre user e post;

Ao realizar uma postagem é necessário fazer uso da tabela categoria, trabalhando, assim, a relação de posts para categories e de categories para posts.

📋 Tecnologias utilizadas

  • JavaScript
  • Mysql
  • Node.js
  • Express
  • Sequelize

📂 Requisitos Trabalhados

  • - 01 - Crie migrations para as entidades Users, Categories, BlogPosts, PostCategories
  • - 02 - Crie models para as entidades Users, Categories, BlogPosts, PostCategories
  • - 03 - Crie o endpoint POST /login
  • - 04 - Crie o endpoint POST /user
  • - 05 - Crie o endpoint GET /user
  • - 06 - Crie o endpoint GET /user/:id
  • - 07 - Crie o endpoint POST /categories
  • - 08 - Crie o endpoint GET /categories
  • - 09 - Crie o endpoint POST /post
  • - 10 - Crie o endpoint GET /post
  • - 11 - Crie o endpoint PUT /post/:id
  • - 12 - Crie o endpoint DELETE /post/:id
  • - 13 - Crie o endpoint DELETE /user/me
  • - 14 - Crie o endpoint GET /post/search?q=:searchTerm

blogs-api's People

Contributors

lenonrust avatar trybe-tech-ops avatar

Watchers

 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.