StoreMeDaddy: A File Server Application
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.
Features
User authentication and authorization using JWT tokens.
Secure file storage with access restrictions.
Configurable token settings.
Intuitive and modularized codebase for easy extension.
Getting Started
Prerequisites
.NET 7 SDK
A modern IDE, preferably Visual Studio or Visual Studio Code.
Installation
Clone the repository:
bashCopy code
git clone https://github.com/yourusername/StoreMeDaddy.gitNavigate to the project directory:
bashCopy code
cd StoreMeDaddyRestore the NuGet packages:
bashCopy code
dotnet restoreConfiguration
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.Running the application
In the project directory:
bashCopy code
dotnet runYour server will start, typically at
http://localhost:5000 or https://localhost:5001.Endpoints
/api/auth: Authenticate a user and obtain a JWT token.
/api/files: Store and retrieve files.
Contributing
We welcome contributions! Please read our CONTRIBUTING.md for details on how to submit pull requests.
License
This project is licensed under the MIT License. See the LICENSE.md file for details.
Some Shit I'll Eventually Get Too
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)
0 likes · 9 views · Feb 12, 2024
FileServer