https://github.com/gowth6m/student-halls-backend
Serverless backend for Student Halls written in Go. Uses Gin Gonic, MongoDB and Vercel cloud functions.
https://github.com/gowth6m/student-halls-backend
gin-gonic golang mongodb serverless student-halls vercel
Last synced: 2 months ago
JSON representation
Serverless backend for Student Halls written in Go. Uses Gin Gonic, MongoDB and Vercel cloud functions.
- Host: GitHub
- URL: https://github.com/gowth6m/student-halls-backend
- Owner: gowth6m
- Created: 2024-05-02T00:43:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T00:29:47.000Z (about 2 years ago)
- Last Synced: 2026-02-06T12:27:32.346Z (5 months ago)
- Topics: gin-gonic, golang, mongodb, serverless, student-halls, vercel
- Language: Go
- Homepage: https://api.student-halls.com
- Size: 52.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Student Halls Backend
## Description
This is a backend for the Student Halls project. It is a RESTful API that allows users to create, read, update, and delete data from a MongoDB. The architecture is a serverless appraoch using Vercel's serverless functions. The API is built with Go using Gin Gonic and the MongoDB driver.
## How to run server
1. Clone the repository
2. Run `go mod download` to download the dependencies
3. Run `go run cmd/server/main.go` or `make server` to start the server
4. The server will be running on `localhost:8080`
## Endpoints
View the API documentation [here](https://api.student-halls.com/swagger/index.html)