Giter Club home page Giter Club logo

biblioteca-nodejs-api's Introduction

API NodeJS

API Biblioteca | Nodejs

languages-count languages-top repo-size last-commit

Sistema de reservas para bibliotecas otimizarem o tempo entre Usuário & Livro.


GET http://localhost:3333/docs

Docs app

Importe todas as rotas no seu Insomnia.

Baixar projeto e instalar dependências:

$ git clone [email protected]:caioagiani/biblioteca-nodejs-api.git

$ cd biblioteca-nodejs-api

$ yarn install

Configurar variáveis ambiente:

$ cp .env.example .env

Iniciar padrão:

$ yarn dev

# Ou iniciar com docker 🐳
$ docker-compose up
Start app

Testes

$ docker-compose run --rm api npm test

Starting db ... done

> [email protected] test /usr/src/app
> NODE_ENV=test jest --setupFiles dotenv/config --detectOpenHandles --forceExit

 PASS  __tests__/booking.test.js
 PASS  __tests__/book.test.js
 PASS  __tests__/user.test.js

Test Suites: 3 passed, 3 total
Tests:       15 passed, 15 total
Snapshots:   0 total
Time:        8.558 s
Ran all test suites.

Contato

biblioteca-nodejs-api's People

Contributors

caioagiani avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

biblioteca-nodejs-api's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency supertest to v6.3.4
  • chore(deps): update dependency eslint to v7.32.0
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update actions/setup-node action to v4
  • chore(deps): update dependency eslint to v9
  • chore(deps): update dependency eslint-config-prettier to v9
  • chore(deps): update dependency eslint-plugin-prettier to v5
  • chore(deps): update dependency nodemon to v3
  • chore(deps): update dependency prettier to v3
  • chore(deps): update dependency supertest to v7
  • chore(deps): update mongo docker tag to v7
  • chore(deps): update node docker tag to v20
  • fix(deps): update dependency swagger-ui-express to v5
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

docker-compose
docker-compose.yml
  • mongo 6.0
  • node 19
github-actions
.github/workflows/lint.yml
  • actions/checkout v3
  • actions/setup-node v3
  • icrawl/action-eslint v1
npm
package.json
  • cors ^2.8.5
  • express ^4.17.1
  • express-group-routes ^1.1.0
  • mongoose 5.12.13
  • swagger-jsdoc 6.0.0
  • swagger-ui-express ^4.1.6
  • @sucrase/jest-plugin 2.2.0
  • dotenv 16.0.3
  • eslint 7.25.0
  • eslint-config-airbnb-base 14.2.1
  • eslint-config-prettier 8.5.0
  • eslint-plugin-import 2.22.1
  • eslint-plugin-import-helpers 1.3.1
  • eslint-plugin-prettier 4.2.1
  • jest 27.0.4
  • nodemon 2.0.20
  • prettier 2.8.1
  • sucrase 3.18.1
  • supertest 6.3.3

  • Check this box to trigger a request for Renovate to run again on this repository

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.