Skip to content

mimolivesales/mimo-app-vtex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Mimo API - Apps

Sumary

Description

A Mimo Live Sales API for satellite apps that allows login, password reset via Cognito and the list of lives of the logged user.

Prerequisites

  • NodeJS for application
    • (the specific version is in the .tool-version file)
  • Docker for database

Getting Started

Install and Config env

  • Run the installation commands in the terminal:
npm install
  • Create an .env file based on the .env.example and ask someone on team for the necessary variable values.

Urls

  • Link /docs : Open swagger to test API
  • POST /auth/login : To login
  • POST /auth/recovery : Request recovery password
  • POST /auth/reset : Reset password with code
  • GET /lives : List all lives of the logged user
  • POST /contact : Send message to mimo

Commands

For local env

  • To run application
npm run start:dev
  • To run tests
npm run test:dev
  • To generate docs
npm run start:doc

For cloud env

  • Run Test in application
npm run test
  • Run Lint in application
npm run lint
  • Build application
npm run build
  • To run application after build
npm run start:prod

Generic env

  • To sync the Prisma with the database
npm run db:sync

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published