Skip to content

viabledata/developer-interview-task

Repository files navigation

UI

Viable Data Tech Task Sample App

Requirements

  • node v18

Index

Form Creator

<a href="link here>How to create a new form component and a form


Getting started

1. Clone this repo


Run locally

2. Install package dependencies

npm install

3. Build development bundle (optional)

npm run build:dev

4. Start the application (optional)

npm start

Run with Docker and NGINX

2. Build the application Docker container

docker build -t this-app .

3. Run the resulting Docker container

docker run -d --name this-app -p 8080:8080 this-app .

Run Cypress tests

Run all the tests on local environment - replace below command with actual mailslurp API key (It executes tests headless mode on Electron Browser)

npm run cypress:run:local -- --env MAIL_API_KEY=<API_KEY> .

Run tests on cypress runner on local environment - replace below command with actual mailslurp API key

npm run cypress:open:local -- --env MAIL_API_KEY=<API_KEY> .

Run all the tests on development environment - replace below command with actual mailslurp API key (It executes tests headless mode on Electron Browser)

npm run cypress:run:dev -- --env MAIL_API_KEY=<API_KEY> .

Run tests on cypress runner on a specific browser on development environment - replace below command with actual mailslurp API key

npm run cypress:open:dev -- --env MAIL_API_KEY=<API_KEY> .

Run regression pack

npm run cypress:run:dev -- --env MAIL_API_KEY=<API_KEY>,TAGS='@regression' .

About

A technical task for our developer interviews

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published