Service (DatabaseService) should serve for CRUD (Create, Read, Update, Delete) operations related to files to be received from user and stored (can be in GridFS, can be on disk) on server. For each uploaded file should be created a document in MongoDB with brief information about file (who uploaded the file, when he did it, what he uploaded, etc). User IDs can be specified randomly, Auth subsystem implementation is not required.
- Use the command
cp example.env .env
- Use docker compose to build an image
docker-compose build
- Run docker compose up to start the application
docker-compose up
- Go to http://localhost:8000/docs to view and use the endpoints