https://github.com/krzysztofrewak/browary
Visited breweries summary microapp
https://github.com/krzysztofrewak/browary
breweries map
Last synced: 5 months ago
JSON representation
Visited breweries summary microapp
- Host: GitHub
- URL: https://github.com/krzysztofrewak/browary
- Owner: krzysztofrewak
- Created: 2020-01-05T15:42:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2026-01-22T10:11:26.000Z (5 months ago)
- Last Synced: 2026-01-23T00:59:32.132Z (5 months ago)
- Topics: breweries, map
- Language: PHP
- Homepage: http://browary.rewak.pl/
- Size: 19.3 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Browary
**Browary** is a simple application for building an interactive map with visited breweries. It uses custom static API generator written in PHP to deliver a blazing fast backend.
### Screenshots

> General view

> Visited country summary page

> Statistics page
## Usage
Clone this repository and set up environment configuration in `.env` file:
```
git clone https://github.com/krzysztofrewak/browary
cd browary
cp .env.example .env
```
Run containerized environment:
```
docker compose up -d
```
Install frontend dependencies and build frontend:
```
docker compose exec node npm install
docker compose exec node npm run build
```
Install backend dependencies and build static API endpoints:
```
docker compose exec php composer install
docker compose exec php composer build
```
Application should be available under `localhost:8037` or other port if you changed `EXTERNAL_WEBSERVER_PORT` value in `.env` file.
### Development
Run frontend in development mode:
```
docker compose exec node npm run serve
```
### Deployment
There is a GitHub Actions workflow to deploy build application on GitHub Pages. You can also copypaste build `public` directory to your webserver.