An open API service indexing awesome lists of open source software.

https://github.com/zolppy/counter

Simple counter for testing some concepts of Next.js and frontend development.
https://github.com/zolppy/counter

counter jest nextjs react-testing-library reactjs rtl

Last synced: 2 months ago
JSON representation

Simple counter for testing some concepts of Next.js and frontend development.

Awesome Lists containing this project

README

          

# Counter

![Next](https://img.shields.io/badge/NEXT-15.2.2-red?style=for-the-badge)
![React](https://img.shields.io/badge/REACT-19.0.0-indigo?style=for-the-badge)
![Tailwind CSS]()
![TypeScript](https://img.shields.io/badge/TYPESCRIPT-5.0.0-brown?style=for-the-badge)
![Tailwind Merge]()
![Jest](https://img.shields.io/badge/JEST-29.7.0-orange?style=for-the-badge)
![React Testing Library]()
![Status](https://img.shields.io/badge/STATUS-FINISHED-green?style=for-the-badge)
![License](https://img.shields.io/badge/LICENSE-MIT-yellow?style=for-the-badge)

Simple counter for testing some concepts of Next.js and frontend development.

## Features

- Responsive design;
- Consistent design;
- Increment counter;
- Decrement counter;
- Reset counter.

## Technologies

- Next.js;
- Tailwind CSS;
- React
- TypeScript;
- Docker.

## Demo

You can access the page here.

## How to run

### By docker

Run the following command on a console:

```bash
docker compose up -d
```

After some time, open `http://localhost:3000` on a browser tab.

### By npm/yarn

Run the following commands on a console:

```bash
git clone git@github.com:zolppy/counter.git
cd interior-design
npm install # or "yarn"
npm run dev # or "yarn dev"
```

After that, open `http://localhost:3000` on a browser tab.

## Screenshots

![01](https://github.com/user-attachments/assets/df3b99bb-edf9-430f-9eab-3f33dc807f6b)

## Credits

None.