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.
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.
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.
- Install Python 3.x
- Install pip
python -m ensurepip --upgrade
cd populate_db
- Install the project requirements:
pip install -r requirements.txt
python populate.py <number_of_files> <number_of_users> <number_of_groups>
Open index.html
to interact with a server through a basic interface.
- Download DB Browser for SQLite
- Open the
fileGuardian.db
file fromsrc/FileGuardian.Api