https://github.com/camchambers/portal
A .NET Core portal with a PostgreSQL database.
https://github.com/camchambers/portal
dotnetcore mvc portal postgresql razor-pages
Last synced: 2 months ago
JSON representation
A .NET Core portal with a PostgreSQL database.
- Host: GitHub
- URL: https://github.com/camchambers/portal
- Owner: camchambers
- License: mit
- Created: 2021-07-25T16:42:07.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-21T11:23:26.000Z (almost 5 years ago)
- Last Synced: 2025-06-21T06:38:41.177Z (about 1 year ago)
- Topics: dotnetcore, mvc, portal, postgresql, razor-pages
- Language: C#
- Homepage:
- Size: 1.73 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Portal
> A .NET Core MVC portal using a PostgreSQL database, Bootstrap, and Razor Pages.
## Features
* A homepage with apps (links) to frequently used sites and resources
* Easily create, and manage apps using the app management screen
* A fast and intuitive search (easily search for apps, people, and more)
* Create roles and assign users to roles
* Restrict access to pages using [role-based authorization](https://docs.microsoft.com/en-us/aspnet/core/security/authorization/roles?view=aspnetcore-5.0)
* Mobile friendly, responsive design

## Requirements
* [.NET 5.0](https://dotnet.microsoft.com/download/dotnet/5.0)
* [PostgreSQL](https://www.postgresql.org/download/)
* [pgAdmin](https://www.pgadmin.org/download/) (optional)
## Install
* Import the database from the /Database folder
* Modify the database connection string in appsettings.json
## Configure
* Specify a username and password for an admin account in /Portal/Seeds/DefaultUsers.cs
* Login using the admin account
* Create applications and users using the admin screen
* Restrict access to site areas by modifying [authorize attributes](https://docs.microsoft.com/en-us/aspnet/core/security/authorization/simple?view=aspnetcore-5.0) for site controllers under /Portal/Controllers/
## Customize
* Modify the site colour scheme and appearance in /Portal/wwwroot/css/site.css
* Modify the global site template in Portal/Views/Shared/_Layout.cshtm
## License
[](http://badges.mit-license.org)
- **[MIT license](http://opensource.org/licenses/mit-license.php)**