Skip to content

This repository contains the code for a programming test provided by Umbraco.

Notifications You must be signed in to change notification settings

mclausen/AcmeCorporation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acme Corporation

N|Solid

Build status

This projects has been created as part of the Umbraco new hire coding challenge, so lets go!

Prerequisites

Installation

  1. Go fetch the code git clone https://github.com/mclausen/AcmeCorporation.git
  2. Make sure you have installed angular cli globally. You can install it by opening your favorite powershell editor and go npm install -g @angular/cli
  3. Spin up your console and navigate to '\Src\AcmeCorporation-Client' and run npm install to restore node dependencies
  4. Open '\Src\AcmeCorporation.Raffle.WebApi\appsettings.Development.json' and insert the connection string to your database. Example Data Source=(localdb)\\.\\sharedlocaldb;Initial Catalog=AcmeCorporationDraw;MultipleActiveResultSets=True; (Make sure Initial Catalog is set to AcmeCorporationDraw, and the connection string has rights to create a database)

Run

Server

The visual studio way

You can easily run the web server from visual studio by selecting AcmeCorporation.Draw.WebApi and hit F5. Make sure that you run it as console and not under IISExpress

alt text

The Console way if the console is your prefered weapon of choice you can go to the console and type the following commands

  1. dotnet build
  2. dotnet run

Client

The visual studio way

You can easily run the web server from visual studio by selecting AcmeCorporation.Client and hit F5. Make sure that you run it as console and not under IISExpress Make sure that you have installed node packages and installed angular cli globally

The Console way

  1. Open your favorite powershell editor and navigate to '\Src\AcmeCorporation-Client' and run ng serve
  2. Open your browser and go to http://localhost:4200

About

This repository contains the code for a programming test provided by Umbraco.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published