Skip to content

BFF en NodeJS para el Test Práctico de MercadoLibre

Notifications You must be signed in to change notification settings

lautit/meli-bff

Repository files navigation

MercadoLibre BFF NodeJS

Get Started

Get started developing...

# install deps
yarn install

# run in development mode
yarn run dev

# run tests
yarn run test

Run It

Run in development mode:

Runs the application is development mode. Should not be used in production

yarn run dev

or debug it

yarn run dev:debug

Run in production mode:

Compiles the application and starts it in production production mode.

yarn run compile
yarn start

Test It

Run the Mocha unit tests

yarn test

or debug them

yarn run test:debug

Try It

  • Open you're browser to http://localhost:8080
  • Invoke the /spec endpoint
    curl http://localhost:8080/api/v1/spec

Debug It

Debug the server:

yarn run dev:debug

Debug Tests

yarn run test:debug

Debug with VSCode

Add these contents to your .vscode/launch.json file

Lint It

View airbnb linter output

yarn run lint

Fix all airbnb linter errors

yarn run lint

Deploy It

Deploy to CloudFoundry

cf push meli-bff

About

BFF en NodeJS para el Test Práctico de MercadoLibre

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published