pinned-front

command module
v0.0.0-...-b6bebaf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2025 License: MIT Imports: 8 Imported by: 0

README ΒΆ

Pinned Front

Go Report Card GoDoc

A modern, high-performance web application built with Go and Fiber framework, designed to manage guests, employees, places, and menus in a restaurant or hospitality environment.

πŸš€ Features

  • High Performance: Built with Fiber, a fast and efficient web framework
  • Modern Architecture: Clean code structure following domain-driven design principles
  • Security: Built-in CSRF protection and input validation
  • Scalable: Containerized with Docker and Kubernetes support
  • Developer Friendly: Hot-reload support with Air
  • Environment Configuration: Flexible configuration management with environment variables

πŸ› οΈ Tech Stack

  • Backend: Go 1.18+
  • Web Framework: Fiber v2
  • Template Engine: Fiber Template
  • Containerization: Docker & Docker Compose
  • Orchestration: Kubernetes
  • Development: Air for hot-reload
  • Environment: Go-ENV for configuration management

πŸ“‹ Prerequisites

  • Go 1.18 or higher
  • Docker and Docker Compose (for containerized deployment)
  • Make (for using Makefile commands)

πŸš€ Getting Started

  1. Clone the repository:
git clone https://github.com/patricksferraz/pinned-front.git
cd pinned-front
  1. Copy the example environment file:
cp .env.example .env
  1. Run the application:

For development:

make dev

For production:

make build
make run

Using Docker:

docker-compose up

πŸ—οΈ Project Structure

.
β”œβ”€β”€ app/            # Application layer (handlers, routes)
β”œβ”€β”€ config/         # Configuration management
β”œβ”€β”€ domain/         # Domain layer (services, models)
β”œβ”€β”€ utils/          # Utility functions
β”œβ”€β”€ k8s/            # Kubernetes configurations
β”œβ”€β”€ .docker/        # Docker-related files
└── .github/        # GitHub workflows and templates

πŸ”§ Configuration

The application can be configured using environment variables. See .env.example for available options.

πŸ§ͺ Testing

make test

πŸ“¦ Deployment

Docker
docker-compose up -d
Kubernetes
kubectl apply -f k8s/

🀝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘¨β€πŸ’» Author

Patrick Sferraz

πŸ™ Acknowledgments

  • Fiber - Fast and efficient web framework
  • Air - Live reload for Go applications
  • All other open-source projects that made this possible

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
domain

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL