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

https://github.com/rdhawladar/golang-vercel

Golang basic template and deployment with vercel
https://github.com/rdhawladar/golang-vercel

gin-gonic go golang golang-api golang-examples swagger vercel vercel-deployment vercel-serverless-api

Last synced: about 2 months ago
JSON representation

Golang basic template and deployment with vercel

Awesome Lists containing this project

README

        

# golang-vercel
Golang basic template and deployment with vercel serverless environment.

**What Is [Vercel]:** ​Vercel is a cloud platform for static sites and Serverless Functions that fits perfectly with workflow. It enables developers to host websites and web services that deploy instantly, scale automatically, and requires no supervision, all with no configuration.

## Features
- Golang template to start new project
- Deploy in a serverless platform and share in one second
- Implementation of Swagger document
- Example of Gin Gonic Framework

## Project Structure
.
|-- api # This is the default folder for vercel as entrypoint
|-- app # Contain services and features like handler, database etc
|-- docs # Contain swagger files
|-- readme.md # Explains project installation and other informations

## Tools and Technology
- [Golang]
- [Vercel]
- [Node], [NPM]
- [Gin Gonic] Web Framework
- [Swagger 2.0]

## Installation
- Install node and npm using `brew install node`
- Run `npm i -g vercel` and check if vercel installed properly by `vercel --version`
- Run `vercel dev` for development server
- Run `vercel --prod` for production server

**Vercel Production URL**: https://golang-vercel.vercel.app/

[Vercel]:
[Project Link]:
[Golang]:
[Gin Gonic]:
[Swagger 2.0]:
[Node]:
[NPM]:
[NPM]:
[NPM]:
[NPM]: