Giter Site home page Giter Site logo

rimiti / mongo-rest-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 180 KB

Dockerized REST API example which uses Mongo, Aclify, Express, Pagination, JWT, Celebrate...

Home Page: https://dimsolution.com

JavaScript 89.84% Dockerfile 4.96% Shell 5.20%
express jwt acl mongoose mongodb supertest tests jest docker docker-compose

mongo-rest-api's Introduction

mongo-rest-api

Build Status codecov

Description

Simple Dockerized API which uses Mongo, Aclify, Express, Pagination, JWT, Celebrate...

Pre-requirements

  • Docker
  • Docker Compose

How to use it?

Tests

All tests are dockerized.

$ yarn docker:run:test

Development environment

Development environment is dockerized too.

$ yarn docker:run:development

Accessing

http://127.0.0.1:3000

Scripts

Run using yarn <script> command.

lint                    - Eslint + prettier check.
lint:fix                - Eslint + prettier auto fixing.
test                    - Run tests with coverage.
build                   - Compile source files.
build:watch             - Interactive watch mode, compile sources on change.
docker:wait             - Wait until stack will be ready.
docker:run:development  - Runs development environment.
docker:run:test         - Runs tests.
docker:init:development - Initialize development environment.
docker:init:test        - Initialize test environment.

mongo-rest-api's People

Contributors

rimiti avatar

Stargazers

 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.