REST API for uploading files, supporting two formats:
Description: "GridFS" is a large-data storage system in MongoDB used for storing files that exceed the maximum size that a single file can be stored in regular MongoDB.
Usage: When using "GridFS" for file uploads in the API, clients can directly send large files to MongoDB using the GridFS API.
Benefits:
- Efficient storage of large files in MongoDB.
- Can help reduce code redundancy in handling large files.
More Info: GridFS Documentation
Description: "FileServer" is a method of storing files directly on your server, supporting both file uploads and access to files stored in a specified directory or path.
Usage: When using "FileServer," you can receive files sent by clients and save them in a directory or a specified path on your server.
Benefits:
- Low friction in implementation and maintenance.
- Flexibility in specifying paths and managing files according to requirements.
- Programming Language: Go
- API Framework: Gin Framework
- Database: MongoDB
- Library: mongo-driver
- Containerization: Docker
- Other Dependencies:
- github.com/coolbed/mgo-oid
- github.com/go-ini/ini
- github.com/joho/godotenv
- github.com/spf13/viper
- github.com/stretchr/testify
- 1.0.0
- Initial Release