62sardine microservice is a Golang-based file upload REST API for seamless integration and efficient file management.
Created by 62teknologi.com, perfected by Community.
View table of contents
Follow the instruction below to running 62sardine on Your local machine.
Make sure to have preinstalled this prerequisites apps before You continue to installation manual. we don't include how to install these apps below most of this prerequisites is a free apps which You can find the "How to" installation tutorial anywhere in web and different machine OS have different way to install.
- MySql
- Go
This installation manual will guide You to running the binary on Your ubuntu or mac terminal.
- Clone the repository
git clone https://github.com/62teknologi/62sardine.git
- Change directory to the cloned repository
cd 62sardine
- tidy
go mod tidy
- Create .env base on .env.example
cp .env.example .env
- setup env file like this
HTTP_SERVER_ADDRESS="0.0.0.0:10082"
FILESYSTEM_DISK="local"
FILESYSTEM_FOLDER=sardine-services
EXPORT_FOLDER=storage
APP_URL=http://localhost:8000
- Build the binary
go build -v -o 62sardine main.go
- Run the server
./62sardine
The API server will start running on http://localhost:10082
. You can now interact with the API using Your preferred API client or through the command line with curl
.
You can find the details of API usage in here
If You'd like to contribute to the development of the 62whale REST API, please follow these steps:
- Fork the repository
- Create a new branch for Your feature or bugfix
- Commit Your changes to the branch
- Create a pull request, describing the changes You've made
We appreciate Your contributions and will review Your pull request as soon as possible.
- Reduce repetition
- Easy to use REST API
- Easy to setup
- Easy to Customizable
- high performance
- Robust data validation and error handling
- Well documented API endpoints
E.nam\Du.a
Indonesian language; spelling: A-num\Due-wa
Origin: Enam Dua means ‘six-two’ or sixty two. It is Indonesia’s international country code (+62), that was also used as a meme word for “Indonesia” by “Indonesian internet citizen” (netizen) in social media.