This project is an API built in Go using the Fiber framework for creating RESTful endpoints, and it utilizes MongoDB Atlas as the database.
The API is designed to be used with a front-end application, which can be find in a docker container.
- Docker installed on your machine
- MongoDB Atlas database with User and Post collection
- Clone this repository.
- Copy the
env.sample
file and rename it to.env
. Fill in the required environment variables as specified in the file. - Refer to the
subject.md
file for detailed information about the project requirements and specifications.
commands written in the run_app.md file.
docker compose up --build
docker build -t kedubak .
docker run -p 8080:8080 --env-file .env kedubak