Code Monkey home page Code Monkey logo

services-api's Introduction

Services API

Node CI codecov Mutation Testing Mutation testing badge

About

An API to manage Services Provided to Customers made using the good practices of Software Development.

Getting Started

Installation

You need to install Node.js and Yarn first, Then you can download this repository or clone it running this command in your terminal:

git clone https://github.com/Jeronimo-MZ/services-api.git

Or, if you want to use SSH , clone this repository running:

git clone [email protected]:Jeronimo-MZ/services-api.git

Then install the project dependencies running:

yarn install

Run project

Before running the project you should start a MongoDB server locally. If you want to use a remote MongoDB server, set the MONGO_URL environment variable

Then you can start the development server running the following command:

yarn dev

Or compile the code and run the js code

# compile the code
yarn build
# start server
yarn start

Docs

You can find the api routes documentation at /api/docs route. if you are running in localhost it should be http://localhost:3333/api/docs.

Tests

This project is covered by tests, if you make any changes to the code, you can execute them using the following commands:

# to run Unit Tests
yarn test:unit

# to run Integration Tests
yarn test:integration

# to run all tests
yarn test

# to run all tests with more details
yarn test:verbose

# to run all tests and generate coverage reports
yarn test:ci

You can also run mutation tests using stryker using this command:

yarn test-mutation

WARNING: Mutation tests are much slower than the others and can slow down your computer, i recommend you to close other programs before running them.

Author

馃懁 Jer贸nimo Matavel

馃 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a 猸愶笍 if this project helped you!

馃摑 License

Copyright 漏 2021 Jer贸nimo A. Matavel Jr..
This project is MIT licensed.

Made with 馃挏 by Jer贸nimo Matavel馃殌

services-api's People

Contributors

dependabot[bot] avatar jeronimo-mz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

ushashir

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.