DEV Community

Cover image for Meet GoCondor a new Golang web framework based on Gin
harranali
harranali

Posted on • Updated on

Meet GoCondor a new Golang web framework based on Gin

Introduction

GoCondor is a Golang web framework for building apis, it aims to simplify the development experience for go developers with a development experience similar to Laravel, the framework has almost all the features of modern web frameworks, here is a list of the supported features:

  • Routing
  • Middlewares
  • Data Validation
  • Databases ORM (GORM integrated)
  • Events
  • Emails
  • JWT tokens
  • Cache (Redis)
  • HTTPS (TLS)

Architecture

GoCondor adopts an architecture similar to MVC, all routes are defined in a single file routes.go and the handling functions for these routes are defined in the directory handlers.

Handlers

Handlers in GoCondor are simply functions that gets executed when a request is received at the crosponding route

Installation

GoCondor can be installed via GoCondor's CLI tool named Gaffer, to install Gaffer you can simply run the following command

go install github.com/gocondor/gaffer@latest
Enter fullscreen mode Exit fullscreen mode

To create a new project you can simply use Gaffer by run the follwoing command

gaffer new [project-name] [project-remote-repository]
Enter fullscreen mode Exit fullscreen mode

where:
project-name is the name of your project. remote-repository is the remote repository that will host the project, usually github.com is used.
Here is an example:

gaffer new myapp github.com/gocondor/myapp
Enter fullscreen mode Exit fullscreen mode

Running the project in the development mode

You can run the project in the live reloading mode for development using Gaffer by simply navigating to the project directory and running the following command

gaffer run:dev
Enter fullscreen mode Exit fullscreen mode

Getting started

To get started with GoCondor you can check the get started docs

Top comments (0)