UBC CPSC 319 project by team NLGPSAG for Associative Engineering (AE)
- .Net Core 2.1 (Back-end)
- npm with React 16.8.3 or above (Front-end)
- Azure Active Directory (Authentication)
- Microsoft SQL Server (Database)
- Clone repository
- Install npm packages by running
npm install
in directory\image-hub\ClientApp
- Set Azure Active Directory configurations in directory
\image-hub\ClientApp\src\adalConfig.js
- Set Azure Active Directory configurations and Microsoft SQL Server connection configurations in directory
image-hub\appsettings.json
- Run project on Visual Studio (recommended) or JetBrains Rider
The project is hosted on azure and uses AAD for authentication
- Create an azure web app. How to create an azure app
- Change the settings in
adalConfig.js
found in\image-hub\ClientApp\src\adalConfig.js
. Check react-adal docs for more info - Change the settings in
GraphApiController.cs
found in\image-hub\Controllers
to match your app information
- Create an Admin group in AAD. How to create a group
- Get the group ID
- Go to
image-hub\Startup.cs
and locate the comment// Authorization
- Replace the group ID inside the
policyBuilder
with the one you created
For more information read here
- Entity-relationship diagram
-
SQL file to create and batch the database server:
- 1st sql file is "create the database" which is needed to query on the master database
- 2nd sql file is "fill the created database" which is needed to query on the created database
-
Set up Azure Data Studio for the database