https://github.com/devansh-365/gofiber
REST API with Golang, MongoDB & Fiber
https://github.com/devansh-365/gofiber
go gofiber golang mongodb rest-api
Last synced: about 2 months ago
JSON representation
REST API with Golang, MongoDB & Fiber
- Host: GitHub
- URL: https://github.com/devansh-365/gofiber
- Owner: Devansh-365
- Created: 2023-02-01T17:01:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T12:43:50.000Z (over 3 years ago)
- Last Synced: 2025-05-29T05:57:40.186Z (about 1 year ago)
- Topics: go, gofiber, golang, mongodb, rest-api
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go REST API
A RESTful API with Go
It is build with **golang**, **gofiber** and **mongodb**
## Installation & Run
```bash
# Download this project
go get github.com/Devansh-365/gofiber
```
```bash
# Build and Run
cd gofiber
go build
./gofiber
# API Endpoint : http://127.0.0.1:3000
```
## API
#### /users
* `GET` : Get all users
#### /users/:userId
* `GET` : Get a user
#### /user
* `POST` : Create user
#### /user/:userId
* `PUT` : Update a user
* `DELETE` : Delete a user
## Todo
- [x] Support basic REST APIs.
- [ ] Support Authentication with user for securing the APIs.
- [ ] Write the tests for all APIs.
- [x] Organize the code with packages
- [ ] Make docs with GoDoc
- [ ] Building a deployment process