Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nimblehq/gin-templates

Our optimized Gin templates used in our projects
https://github.com/nimblehq/gin-templates

gin go golang

Last synced: about 1 month ago
JSON representation

Our optimized Gin templates used in our projects

Awesome Lists containing this project

README

        


Nimble logo


Gin Templates

---

Our templates offer a rich boilerplate to jump start Go [Gin-based](https://github.com/gin-gonic/gin) application development.

Check this [wiki](https://github.com/nimblehq/gin-templates/wiki/Directories) for more information about the template structure.

## Get Started

### Prerequisite

- [Python interpreter](https://docs.python.org/3/using/index.html)
- Cookiecutter
- Mac: `brew install cookiecutter`
- Debian/Ubuntu: `sudo apt-get install cookiecutter`
- Go version >= 1.20

## Usage

- Download **latest** version of gin-templates.

```sh
go get github.com/nimblehq/gin-templates
```

- Build the binary file.

```sh
go build -o $GOPATH/bin/nimble-gin github.com/nimblehq/gin-templates
```

- Create the project using gin-templates. Note that the **main** branch is being used by default. Refer to [this wiki page](https://github.com/nimblehq/gin-templates/wiki/Commands) for instructions on how to use a different branch.

```sh
nimble-gin create
```

- Follow the instructions in the terminal.

- Your new application is created 🎉 .

## Test

```sh
make test
```

## Development

- Build the command with

```sh
go build -o
```

- Run the build file follow by the `create` command and the prompt to create a Go project should appear

```sh
create
```

## License

This project is Copyright (c) 2014 and onwards Nimble. It is free software,
and may be redistributed under the terms specified in the [LICENSE] file.

[license]: /LICENSE

## About

![Nimble](https://assets.nimblehq.co/logo/dark/logo-dark-text-160.png)

This project is maintained and funded by Nimble.

We love open source and do our part in sharing our work with the community!
See [our other projects][community] or [hire our team][hire] to help build your product.

[community]: https://github.com/nimblehq
[hire]: https://nimblehq.co/