About Aphyx GO framework
Warning
This framework is still in alpha testing. We're frequently pushing updates and overhaul so your current version might
be outdated. Please check back often for updates.
Aphyx GO framework is a lightweight and efficient API development framework written in Go. It utilizes popular libraries
like GORM for ORM, FX for Dependency Injection, and Fiber for HTTP handling. Our goal is to provide a well-rounded and
easy for beginner REST API framework that allows developers to quickly and easily create web apps in go.
- ORM via GORM
- Dependency Injection via FX
- HTTP Library via Fiber
- Model and Seeder Definition - all made from scratch
- Niceties: helper functions, routing
- CLI tools for migration, creating boilerplate, etc.
First party modules
Utilize our first party modules to write less boilerplate code and focus on your business logic.
- auth-module Provides an easy-to-use authentication module (WIP)
Documentation
Work in progress
Getting Started
- Clone repository from https://github.com/aphyx-framework/framework
- Rename the module name in the
go.mod
to be aligned with your project
- Copy
.example.config.toml
and name it config.toml
in the root folder
- Change the app name, port
- Create a 32-character long key with
go run main.go createkey
- Optionally enable features like database, auth, caching
- Run the app via
go run entrypoint.go
Contributing
We welcome and appreciate any contributions to Aphyx Framework! To contribute, please follow these steps:
- Fork the repository
- Create a new branch for your changes
- Make your changes and commit them
- Open a pull request. Please make sure to include a description of your changes and why you think they should be
merged. If you're fixing a bug, please include steps to reproduce the bug.
- Wait for your pull request to be reviewed and merged (currently only @rama-adi can merge pull requests)
Please note that we do not have a code of conduct yet, but we expect all contributors to be respectful and professional.
License
Apache License 2.0