Digiutilsapi
A simple RESTFUL API that provides many handy tools to make your life much easier.
This simple app is the implementation of my digiutils library, and also one form of #100DaysOfCode movement 🏃♂️. There is a docker image 🐋 version as well and if you find it useful please give it a star ⭐ or even do your contribution. Cheers 🥂
Live Demo
You can check the live demo here.
Prerequisites
Installation
- Clone this repository.
- Rename .env.example file to
.env
and change the PORT
value with your desired port.
- Then run this command to synchronize all the dependencies.
go mod tidy
- After that run the command below to generate the required files for swaggo.
swag init
- Finally, run the project.
go run .
Usage
Open your browser and go to http://localhost:3000/swagger/index.html
.
NOTE: Replace the 3000 with your defined PORT
value in your .env
file.
Hanif Naufal – @Digisata – hnaufal123@gmail.com
Distributed under the MIT license. See LICENSE for more information.
Contributing
- Fork this repository.
- Create your own branch (
git checkout -b fooBar
).
- Commit your changes (
git commit -am 'Add some fooBar'
).
- Push to the branch (
git push origin fooBar
).
- Create your awesome Pull Request.