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
- Host: GitHub
- URL: https://github.com/rdhawladar/golang-vercel
- Owner: rdhawladar
- License: mit
- Created: 2022-10-06T14:57:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T18:21:54.000Z (over 2 years ago)
- Last Synced: 2025-04-30T03:09:46.983Z (about 2 months ago)
- Topics: gin-gonic, go, golang, golang-api, golang-examples, swagger, vercel, vercel-deployment, vercel-serverless-api
- Language: HTML
- Homepage:
- Size: 31.3 KB
- Stars: 18
- Watchers: 1
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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]: