REST API implementation to manage cars data in dealership. Implemeted with Go using fiber with MongoDB Database.
-
Clone the repository into your local machine.
-
Copy the
.env.example
file.
cp .env.example .env
-
Fill the database name and mongo URI in
.env
file. -
Make sure the database is online then start the application.
go run main.go
-
For docker user, fill the
VOLUME
field in.env
file with the correct directory. -
Build the application.
docker compose build
- Run the application.
docker compose up