Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
/ SafeShareDotnet Public archive

Attempt to build a simple app for sharing messages and files between computers on the same network

License

Notifications You must be signed in to change notification settings

chernodub/SafeShareDotnet

Repository files navigation

SafeShareDotnet

Simple pet app for sharing files between computers on the same network.

The main goal of the project is to allow people to safely share files and/or text.

The app is written in C# and uses .NET Core 7.

Features

  • Users can register (using email + password) and then log in using credentials specified when registering.
  • Authorized users have the ability to:
    • Upload a file

    • Upload a text (string)

    • Specify whether the resource should be deleted after it is viewed (for both messages and files).

    • Get the list of files/texts they have uploaded previously. Users can't see deleted files/texts.

    • Delete a file/text they have uploaded earlier.

      💡 The resource urls are based on hashes, so they are not guessable, therefore "protected".
  • Anonymous users can access files/texts using the generated URLs.

Additional features

  • Tests
  • Docker-compose file for the application infrastructure
  • External blob storage for files

Development

  1. Create .env based on .env.template and fill in the values.
  2. Run the app via docker-compose:
    docker-compose up
  3. Go to http://localhost:8080/swagger/index.html to see the API documentation.

About

Attempt to build a simple app for sharing messages and files between computers on the same network

Resources

License

Stars

Watchers

Forks

Languages