This is a production-ready Go server built with the Fiber framework. It provides RESTful API endpoints for managing items, users, and authentication. This is the Fiber Go version of the Item App - A generic e2e app im building with various technologies, using Vue, React, Express, Go and Pyhton.
Server: go, fiber, securecookie, crypto, mongodb,
Clone the project
git clone https://github.com/gDenisLit/item-server-go.git
Go to the project directory
cd item-server-go
Install dependencies
make install
Start the server in dev enviroment
make run
To run this project, you will need to add the following environment variables to your .env file
ATLAS_URL
Connection URI to mongo
DB_NAME
Database name
CRYPTER_KEY
Base 64 secret key
GET /api/item
GET /api/item/${id}
POST /api/item
PUT /api/item
DELETE /api/item/${id}