Skip to content

alan-nascimento/meli-product-finder-api

Repository files navigation

MELI - Product Finder API

Build Status Coverage Status Known Vulnerabilities MIT License

Description

This project is a BFF for this Frontend.

Prerequisites

$ git >= v2.x
$ npm >= v6.x
$ nodejs >= v10.x

Installation and Getting Started

  1. Clone this repository:
$ git clone https://github.com/alan-nascimento/meli-product-finder-api.git
  1. Install dependencies:
$ npm install
  1. Create an .env file in the root folder and set the environment variables following the .env.example file.

  2. Start the local server:

$ npm run dev

Running unit testing

  1. Open a new terminal execute:
$ npm run test
  1. Run the following command to collect coverage report:
$ npm run test:ci

Running Linter

  1. Run the following command at the terminal:
$ npm run lint

Production Build

  1. Run the following command:
$ npm run build
  1. The build result will be avaiable at the dist folder.

Libraries and Tools

Author & Version Control

Developed by Alan Nascimento - Github - Published in October of 2020.