README PT-BR
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.
Certifique-se de que tem os seguintes softwares instalados na sua máquina antes de prosseguir:
- Node.js
- npm (Node Package Manager)
- Git
- Abra seu terminal.
- Clone o repositório do projeto executando o seguinte comando:
git clone https://github.com/andradeviniicius/vuejs-form-builder.git
- Mude para o diretório do projeto executando o seguinte comando:
cd vuejs-form-builder
- Instale as dependencias com o comando abaixo:
npm install
or
yarn install
Para executar o projeto localmente, siga estes passos:
-
Certifique-se de que se encontra no diretório do projeto no seu terminal.
-
Inicie o servidor de desenvolvimento executando o seguinte comando:
npm run dev
ou
yarn run dev
- Abra o seu navegador Web e navegue até
http://localhost:3000para acessar a aplicação.
Se pretender visualizar os testes integrados utilizando o Cypress, siga estes passos adicionais:
-
Certifique-se de que tem as dependências do projeto instaladas, executando
npm install(se ainda não o tiver feito). -
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. -
Execute o seguinte comando para abrir o Cypress Test Runner:
npx cypress open
- 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
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.
Make sure you have the following software installed on your machine before proceeding:
- Node.js
- npm (Node Package Manager)
- Git
- Open your terminal.
- Clone the project repository by running the following command:
git clone https://github.com/andradeviniicius/vuejs-form-builder.git
- Change to the project directory by running the following command:
cd vuejs-form-builder
- Install the dependencies with the command below:
npm install
or
yarn install
To run the project locally, follow these steps:
-
Make sure you are in the project directory in your terminal.
-
Start the development server by running the following command:
npm run dev
or
yarn run dev
- Open your web browser and navigate to
http://localhost:3000to access the application.
If you want to view the integrated tests using Cypress, follow these additional steps:
-
Make sure you have the project dependencies installed by running
npm install(if you haven't already). -
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. -
Run the following command to open the Cypress Test Runner:
npx cypress open
- 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