This project contains a React frontend and a Node.js backend.
git clone https://github.com/metalukask/QA-interview-task
- Docker installed
-
build application
docker compose build
-
run application
docker compose up -d
-
stop application (once finished)
docker compose down
- Node.js (v14 or higher)
- npm (v6 or higher)
- Navigate to the
/server
directory:cd server
- Install dependencies:
npm install
- Start the backend server:
The server will run at
npm start
http://localhost:8000
.
- Navigate to the
/client
directory:cd client
- Install dependencies:
npm install
- Start the React app:
The React app will run at
npm start
http://localhost:3000
.
- Username:
admin
- Password:
admin321
After logging in, you will be redirected to the homepage, where you can navigate to other pages.
- POST /login: Authenticate the user and return a JWT token.
- GET /home: Protected route, only accessible with a valid JWT token.
- If the React app is not connecting to the backend, ensure that both the frontend and backend are running simultaneously.
- Make sure the backend is running on port
8000
, and the frontend is on port3000
.
- Web Application Created by QA Engineer Using AI.
This website was developed as part of an assignment for conducting QA Engineer interviews. The website was created by a QA Engineer using Artificial Intelligence (AI) tools to simulate a real-world web application for interview purposes. The purpose of this project is to demonstrate practical examples of how QA Engineers can use Cypress for UI testing, API testing, and automation, as well as to evaluate candidates' skills in writing and executing automated test cases.
Note: The AI-generated content, including code and components, is intended for educational, testing, and development purposes.
This project is licensed under the MIT License.