Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.
/ Portfolio Public archive

Full stack app demonstrating core skills

Notifications You must be signed in to change notification settings

JaimeStill/Portfolio

Repository files navigation

Portfolio

This project represents some of the core skills that I've developed as a full stack dev. It is intended to be run in a Windows environment.

Features

Back to Top

User Preferences

user-preferences

Folders

localhost:5000/folders/{userId}

folders

Note that all files uploaded while running this app are saved at Portfolio\Portfolio.Web\wwwroot\files\

Channels

localhost:5000/channels

folders

You can run this demonstration in two different browser windows. Just be sure to test it using the same steps as used in GIF above. Changing the user in the session on the left will cause that user to become the user in the session on the right whenever it navigates to another route. This isn't the case when deployed to an Active Directory domain and unique user sessions are used, it's just built this way for testing outside of a domain environment.

Convert to GIF

localhost:5000/convert-gif/{userId}

gif-convert

All of the GIFs in this readme were generated using this!

Requirements

Back to Top

Notes

When installing Node.js on Windows, make sure to check the option to install optinal dependencies with Chocolatey. It's the easiest way to integrate C++ build tools and Python into the CLI, and both are required for the node-sass client dependency.

chocolatey

The only thing I use Visual Studio for is to manage SQL Server on my dev machine. When installing, the only workload needed is the Data storage & processing workload.

workloads

Build and Run

Back to Top

Open the Portfolio root folder in Visual Studio Code and in the terminal, execute the dotnet build command:

build

Before running the application, the database needs to be created and seeded with some starting data. If you have the Data storage & processing workload installed from Visual Studio, you should have the (localdb)\ProjectsV13 SQL instance installed. This can be verified by adding it to SQL Server Object Explorer in Visual Studio:

sql-explorer

Change into the dbseeder directory and run the following:

dotnet run -- -c "Server=(localdb)\ProjectsV13;Database=Portfolio-dev;Trusted_Connection=True;"

This will generate the database in the (localdb)\ProjectsV13 instance, applying any Entity Framework migrations, and seed it with some initial data.

seed-data

Change into the Portfolio.Web directory, and execute the dotnet run command. This will host the application at localhost:5000.

portfolio