Skip to content

Latest commit

 

History

History
93 lines (66 loc) · 1.74 KB

README.md

File metadata and controls

93 lines (66 loc) · 1.74 KB

drawing

Table of contents

Screenshots

Desktop screenshot Mobile screenshot

To start

Prerequisites

  • Node > 20 version. You can use NVM to setup a node version manager

  • Package manager

    • PNPM

      npm install -g pnpm
    • NPM

      npm install -g npm@latest
    • YARN

      npm install -g yarn

Installation

If you are going to use a package manager other than "pnpm" run this command before you begin rm -rf node_modules && rm pnpm-lock.yaml

  1. Clone the repository

    git clone https://github.com/alevidals/pms-codetest.git
  2. Install the packages (You can use npm or yarn instead of pnpm if you like)

    pnpm install
  3. Execute the project (You can use npm or yarn instead of pnpm if you like)

    pnpm run dev

Testing

  • Unit tests. (You can use npm or yarn instead of pnpm if you like)

    pnpm run test:unit
  • Integration tests. (You can use npm or yarn instead of pnpm if you like)

    pnpm run test:integration
  • E2E tests. (You can use npm or yarn instead of pnpm if you like)

    pnpm run test:e2e

Docker

  1. Build the container

    docker build -t <tag>
  2. Run the container

    docker run -p 3000:3000 <tag>