This is the backend server for Obscyra, a secure file-sharing platform built in Go. It provides RESTful APIs for user authentication, file uploads, and file management.
- The API is fully documented with Swagger.
- Access the interactive documentation at
/docs/index.htmlonce the server is running. - After updating handlers or adding endpoints, please add necessary comments and regenerate the documentation with:
swag init -g cmd/server/main.go- Commit the generated
docs/directory to keep the documentation in sync with your code.
If you're running the server using the Dockerfile in server/, follow these steps:
- Build the server image:
docker build -t obscyra-server .- Run the server container:
docker run --env-file .env -p 8080:8080 --name obscyra-server obscyra-server