Skip to content

renanziw/DocStorageDapper

Repository files navigation

DocStorage

A simple document storage API under Postgres database with JWT Authentication and role access. We can manage users, groups, documents and give document access by user or by group using Postgre, Automapper, Dapper, Npgsql, Swagger

  • Login through API
    • An user with 'Regular' role can download documents
    • An user with 'Manager' role can upload and download documents
    • An user with 'Admin' role can manage user/group/document/user-group/document/document-access
  • Manage users
    • A user can belong to one or more groups
  • Manage groups
  • Manage user-groups
  • Manage documents
  • Manage document access by group or user

Here is the database structure

  • /DocStorageDapper/DocStorage.Repository/Resources/createstructure.sql

image

About

a simple API using dapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages