Giter Site home page Giter Site logo

blogs-api's Introduction

Blogs-api

TypeScript

Dependencies

    "change-case": "4.1.2",
    "eslint-config-trybe-backend": "2.1.0",
    "frisby": "2.1.2",
    "jest": "26.0.1",
    "jest-each": "28.0.1",
    "nodemon": "2.0.22",
    "sequelize-cli": "6.2.0",
    "sequelize-jest-helpers-trybe": "1.0.0",
    "supertest": "4.0.2",
    "wait-on": "6.0.1"

Project Description

In this project, you will develop an API and a database for generating content for a blog!

You are required to create a Node.js application using the Sequelize package to perform CRUD operations on posts.

You should develop endpoints that are connected to your database, following the principles of REST.

To create a post, both a user and login are necessary, which means you will work on establishing the relationship between users and posts.

The utilization of categories for posts will also be necessary. This involves working on the relationship between posts and categories, as well as between categories and posts.

Use Project

  • Start Docker
docker-compose up -d --build
  • Access container Docker
docker exec -it blogs_api bash
  • Install dependencies in container
npm install
  • Create DB and Tables
npm run prestart

-Insert Seeds

npm run seed

Alt text

blogs-api's People

Contributors

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