Welcome to StoreMeDaddy, a lightweight file server application built on top of the .NET Core platform. This application serves as a secure file storage system with JWT-based authentication.
- User authentication and authorization using JWT tokens.
- Secure file storage with access restrictions.
- Configurable token settings.
- Intuitive and modularized codebase for easy extension.
- .NET 7 SDK
- A modern IDE, preferably Visual Studio or Visual Studio Code.
- Clone the repository:
bashCopy code
git clone https://github.com/yourusername/StoreMeDaddy.git
- Navigate to the project directory:
bashCopy code
cd StoreMeDaddy
- Restore the NuGet packages:
bashCopy code
dotnet restore
Before running the application, ensure that the appsettings.json file is properly configured.
jsonCopy code
{ "TokenSettings": { "SecretKey": "YOUR_SECRET_KEY", "Issuer": "YOUR_ISSUER", "ExpiryMinutes": "TOKEN_EXPIRY_DURATION", "Roles": "ALLOWED_ROLES" } }Replace placeholders (YOUR_SECRET_KEY, YOUR_ISSUER, etc.) with appropriate values.
In the project directory:
bashCopy code
dotnet run
Your server will start, typically at http://localhost:5000 or https://localhost:5001.
- /api/auth: Authenticate a user and obtain a JWT token.
- /api/files: Store and retrieve files.
We welcome contributions! Please read our CONTRIBUTING.md for details on how to submit pull requests.
This project is licensed under the MIT License. See the LICENSE.md file for details.
- Actually finish core components of a file server
- UI and CLI
- Distribute as Docker Container
- Maybe some documention (Id have to understand what i wrote first though)
- Understand what this app I wrote actually does
- Write an actual ReadMe instead of the ChatGpt generated balderdash (Did I use this right? I just googled synonym for nonsense)