repository
0.0.0-20231117115532-2eac63dd60ed
Repository: https://github.com/felipedelima123/excelor.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
Excelor
Excelor aims to be a simple API to generate Excel, from anywhere. Powered by Gin and Excelize Streaming API, is pretty fast, lightweight and robust.
Features
- Create excel file from a JSON;
- Uploads the created file to S3;
- Run with docker;
- Standalone app;
- Can be a binary to distribute to your servers and run locally.
How to use
In the moment the api is in an embryonic stage, so there is only one endpoint.
HTTP POST -> /generate-excel
{
"columns": [
"Name",
"Age",
"Role"
],
"rows": [
[
"José",
"31",
"Admin"
],
[
"Lucia",
"32",
"Manager"
],
[
"Pedro",
"32",
"Developer"
]
],
"sheetName": "A Cool Name"
}
CURL Code:
curl --request POST \
--url http://localhost:8080/generate-excel \
--header 'Content-Type: application/json' \
--data '{
"columns": [
"Name",
"Age",
"Role"
],
"rows": [
[
"José",
"31",
"Admin"
],
[
"Lucia",
"32",
"Manager"
],
[
"Pedro",
"32",
"Developer"
]
],
"sheetName": "A Cool Name"
}'
TODO
- Everything :D