Skip to content

bilginyuksel/file-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file-processor

Application allows clients to upload file either using REST API or gRPC API. File will be written to the disk by chunks so that allows clients to upload unlimited size files without crushing the app memory.

Getting Started

Run the application

make up

Run tests

make test

Create auto-generated codes

make gen

Example

After running the testcases to test the application manually, you can use the guidance below.

Test the application using REST endpoint

curl --location 'localhost:8010/files' --form 'file=@"<absolute-file-path>"'

Test the application using gRPC endpoint or use gRPC curl to upload the file

go run examples/grpc_client.go

About

Simple application to upload file and process it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published