jaktestowac
rolnopol
JavaScript

🌱 Rolnopol - Application for learning and practicing test automation of GUI and API

Last updated Jul 9, 2026
66
Stars
5
Forks
1
Issues
+4
Stars/day
Attention Score
54
Language breakdown
No language data available.
β–Έ Files click to expand
README

🌱 Rolnopol - Introduction

Rolnopol

[!TIP]
πŸ’‘ Choose your language:
>
- πŸ‡¬πŸ‡§ English
- πŸ‡΅πŸ‡± Polski

A realistic farming management application designed for test automation practice. Features a GUI, REST API, intentional bugs, and real-world scenarios for practicing automation and testing techniques.

  • πŸ“Š Express.js API with role-based access and rate limiting
  • πŸ—„οΈ JSON database for easy test data control
  • πŸ› Intentional bugs & edge cases for debugging practice
  • πŸ§ͺ Complex workflows (financial, resource, authorization)
[!NOTE]
πŸ—οΈ Curious how it all fits together? See ARCHITECTURE.md for component, request-flow, auth, WebSocket, and Farm Defence diagrams (rendered with Mermaid).

Table of Contents

Quick Start

Requirements

Get Running in 3 Steps

git clone https://github.com/jaktestowac/rolnopol.git
cd rolnopol
npm i && npm run start

App is available at: http://localhost:3000

πŸ’‘ Startup Scripts: For convenience, use start.bat (Windows), ./start.ps1 (PowerShell), ./start.sh (Linux/macOS). See START_SCRIPTS.md for details.

Demo Credentials

For testing and demonstration purposes, the application includes several pre-configured demo users:

| Email | Password | | ---------------------------- | -------------- | | demo@example.com | demo123 | | test@example.com | brownPass123 | | john.doe@example.com | johndoe123 | | jane.smith@example.com | janesmith456 | | developer@example.com | dev123456 | | emptyuser@rolnopol.demo.pl | demoPass123 |

Note: These are demo credentials for local development and testing only. Passwords are stored in plain text for easier testing and account management.

Swagger UI

API documentation is available at: http://localhost:3000/api-docs

Deployment

Instructions how to deploy presented service to various free hosting sites.

Deploy on Local

Requirements:

- tested on node.js v22 and v24

First use

Steps:

  • Open the project root directory in cmd/terminal
  • Clone the repository using git clone ...
- this is the preferred way to use this application
  • Run npm i
- to install modules (don't use node.js global packages!)
  • Run npm run start
- to start 🌱 Rolnopol

The application will be available at http://localhost:3000

Startup Scripts

For convenience, the project includes several scripts to start the application in different environments. These scripts automatically navigate to the project root and keep the terminal window open if the application stops or crashes.

  • Windows (CMD): Run start.bat
  • PowerShell: Run .\start.ps1
  • Linux/macOS (Bash): Run ./start.sh
  • Linux/macOS (Zsh): Run ./start.zsh
For more details, see START_SCRIPTS.md.

Update version

If You are using zip package

Steps:

  • Download zipped repository
  • Unzip and replace Your local instance of 🌱 Rolnopol
  • Run npm i in root directory
- to install new modules
  • Run npm run start
- to start 🌱 Rolnopol

If You are using cloned repository

Steps:

  • Open the project root directory in cmd/terminal
  • Pull latest changes using git pull
  • Run npm i
- to install new modules
  • Run npm run start
- to start 🌱 Rolnopol

Update version if You have any changes (e.g. in database)

One possibility is to reset all Your local changes and pull new version.Using this method You will lose all Your local changes and data!

Steps:

  • Open the project root directory in cmd/terminal
  • Reset local changes and pull latest changes using:
git reset --hard HEAD
   git pull
  • Run npm i
- to install new modules
  • Run npm run start
- to start 🌱 Rolnopol

Deploy to Render

Render - a popular Heroku-like PaaS with a free tier and a β€œDeploy to Render” button for one-click deploys.

  • Create free account on: https://dashboard.render.com/register
  • After successful registration hit the button:
Deploy to Render
  • name your app
  • hit Apply
  • wait a while and click link to project Rolnopol
  • click link to open app (under project name and repository)
  • enjoy 750 free hours of service per month
When deploying the 🌱 Rolnopol application on Render, please be aware that the application may not function fully due to the limitations of the Render platform. However, we are making every effort to ensure the highest possible compatibility.

Deploy using Docker image

This method can be used:

  • locally
  • in CI/CD services (GitHub Actions, GitLab CI etc.)

Prerequisites:

On local environment:

  • latest Docker is installed

Running

Just run following command to get latest image:

docker run -p 3000:3000 -d jaktestowac/rolnopol

or specific version:

docker run -p 3000:3000 -d jaktestowac/rolnopol:1.0.24

Application should be running under http://localhost:3000/

Images are available at: πŸ‹ https://hub.docker.com/r/jaktestowac/rolnopol

Happy Automation!

We hope you'll have a great time testing and automating this application!

The challenges and features included are designed to help you grow your testing skills while having fun.

If you have any ideas for improvements or encounter any issues, please don't hesitate to open an issue on our GitHub repository.

Your feedback helps make 🌱 Rolnopol better for everyone!

πŸ“’ Looking forward to your contributions and happy testing!

πŸ” Back to top

πŸ“ž Contact & Support

Feel free to reach out to us:


πŸ“š Learning Resources

We have gathered a collection of resources to help you learn and master Playwright, both in Polish and English. Whether you're a beginner or an advanced user, these resources will help you enhance your skills and knowledge.

πŸ‡΅πŸ‡± Polish Resources

πŸ‡¬πŸ‡§ English Resources

AI_Testers

AI Testers Logo

Gain an edge by combining AI knowledge with the most popular tools in the IT market. We'll show you how to accelerate with AI and build a professional test automation framework. πŸ˜‰


Happy testing and automation! πŸš€

jaktestowac.pl Team β€οΈπŸ’š

PS. For more resources and updates, follow us on our website and GitHub.


Built with β€οΈπŸ’š for the Playwright and test automation community

πŸ”— More in this category

Β© 2026 GitRepoTrend Β· jaktestowac/rolnopol Β· Updated daily from GitHub