Skip to content

Build your own form editing piece by piece using this app

dadedeandrade/vuejs-form-builder

Repository files navigation

README PT-BR

ExpressForms

Este é um projeto Vue que fornece um simples construtor de formulários.

Abaixo você pode seguir as instrucoes para rodar o projeto e executar testes integrados usando o Cypress. Siga as etapas abaixo para começar.

Pré-requisitos

Certifique-se de que tem os seguintes softwares instalados na sua máquina antes de prosseguir:

  • Node.js
  • npm (Node Package Manager)
  • Git

Instalação e configuração

  1. Abra seu terminal.
  2. Clone o repositório do projeto executando o seguinte comando:
git clone https://github.com/andradeviniicius/vuejs-form-builder.git
  1. Mude para o diretório do projeto executando o seguinte comando:
cd vuejs-form-builder
  1. Instale as dependencias com o comando abaixo:
npm install 

or

yarn install

Visualizando o projeto

Para executar o projeto localmente, siga estes passos:

  1. Certifique-se de que se encontra no diretório do projeto no seu terminal.

  2. Inicie o servidor de desenvolvimento executando o seguinte comando:

npm run dev

ou

yarn run dev
  1. Abra o seu navegador Web e navegue até http://localhost:3000 para acessar a aplicação.

Testes Integrados (Cypress)

Se pretender visualizar os testes integrados utilizando o Cypress, siga estes passos adicionais:

  1. Certifique-se de que tem as dependências do projeto instaladas, executando npm install (se ainda não o tiver feito).

  2. Abra seu terminal e navegue até o diretório do projeto, se ainda não estiver lá. Nota: Certifique-se de que a aplicação já está em execução (npm run dev) antes de executar os testes.

  3. Execute o seguinte comando para abrir o Cypress Test Runner:

npx cypress open
  1. O Cypress Test Runner será iniciado, apresentando uma lista de testes disponíveis. Clique num deles para executar os testes.

Feshow! Agora você deve ter o ExpressForms configurado em sua máquina local e pode executá-lo, bem como realizar testes integrados usando o Cypress. Sinta-se à vontade para explorar e modificar o projeto conforme a necessidade

README EN-US

ExpressForms

This is a Vue project that provides a simple form builder.

Below you can follow the instructions to run the project and execute integrated tests using Cypress. Follow the steps below to get started.

Prerequisites

Make sure you have the following software installed on your machine before proceeding:

  • Node.js
  • npm (Node Package Manager)
  • Git

Installation and configuration

  1. Open your terminal.
  2. Clone the project repository by running the following command:
git clone https://github.com/andradeviniicius/vuejs-form-builder.git
  1. Change to the project directory by running the following command:
cd vuejs-form-builder
  1. Install the dependencies with the command below:
npm install 

or

yarn install

Viewing the project

To run the project locally, follow these steps:

  1. Make sure you are in the project directory in your terminal.

  2. Start the development server by running the following command:

npm run dev

or

yarn run dev
  1. Open your web browser and navigate to http://localhost:3000 to access the application.

Integrated Tests (Cypress)

If you want to view the integrated tests using Cypress, follow these additional steps:

  1. Make sure you have the project dependencies installed by running npm install (if you haven't already).

  2. Open your terminal and navigate to the project directory, if it isn't already there. Note: Make sure the application is already running (npm run dev) before running the tests.

  3. Run the following command to open the Cypress Test Runner:

npx cypress open
  1. The Cypress Test Runner will start, displaying a list of available tests. Click on one of them to run the tests.

Nice! You should now have ExpressForms set up on your local machine and can run it, as well as perform integrated tests using Cypress. Feel free to explore and modify the project as needed

About

Build your own form editing piece by piece using this app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages