Skip to content

A server that handles files and whom they are shared with.

Notifications You must be signed in to change notification settings

fmmagalhaes/FileGuardian

Repository files navigation

File Guardian

FileGuardian API is a .NET server application designed to store and manage information about files and their associated risk levels. It provides endpoints for creating, retrieving, and sharing files, as well as managing user groups.

Prerequisites

Launch the server

cd src/FileGuardian.Api
dotnet run

You can now open http://localhost:5113/swagger/index.html to view the Swagger UI and make requests to the server.

How to test

Populate with random data (optional)

Running populate_db/populate.py will make requests to the server to create a random set of files, users, and groups, and relationships between them.

  1. Install Python 3.x
  2. Install pip python -m ensurepip --upgrade
  3. cd populate_db
  4. Install the project requirements: pip install -r requirements.txt
python populate.py <number_of_files> <number_of_users> <number_of_groups>

User interface

Open index.html to interact with a server through a basic interface.

View database

  1. Download DB Browser for SQLite
  2. Open the fileGuardian.db file from src/FileGuardian.Api

Technologies

About

A server that handles files and whom they are shared with.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages