-
Backend: Node.js / Express (served via backend/)
-
Frontend: HTML/CSS/JS with login form (served via frontend/)
-
API Testing: Postman + Newman (CLI)
-
E2E Testing: Cypress (headless + UI)
-
Dockerized execution: (WIP) Backend + Frontend + Test Runner integrated
-
CI/CD pipelines: (WIP )Jenkins / GitHub Actions ready
This project is an example of real-world testing flows: API tests → frontend E2E tests → combined Docker automation.
WebRitual2/
│
├── backend/
│ ├── db.json
│ ├── server.js
│ ├── Dockerfile
│ └── package.json
│
├── frontend/
│ ├── index.html
│ ├── style.css
│ ├── script.js
│ ├── cypress/
│ │ ├── e2e/
│ │ │ └── login.cy.js
│ │ └── cypress.config.js
│ └── Dockerfile
│
├── postman/
│ └── postman_collection.json
│
├── docker-compose.yml
├── package.json ← root test runner (npm run test:all)
└── README.md
cd backend
npm install
npm start
Backend runs on:
http://localhost:3000
cd frontend
npm install
npm start
Frontend runs on:
http://localhost:8080
Import:
postman/postman_collection.json
Run → All requests should return 200 if backend is running.
newman run postman/postman_collection.json
cd frontend
npx cypress open
Select browser → Run login.cy.js.
cd frontend
npx cypress run --browser chrome
Run all tests together At the project root:
npm run test:all
This performs:
-
Newman API tests
-
Cypress headless UI tests