based-ghost / Ghost.Console

A .NET console application built with Spectre.Console.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ghost.Console

This is a .NET 7.0 console application built with Spectre.Console that demonstrates simple API communication via endpoints from JSONPlaceholder.

demo

Tech stack

Building & running locally

Prerequisites

  1. Install the .NET 7.0 SDK.
  2. Clone this repository to your local machine.

Building & running the project

dotnet commands can be issued via Windows Terminal, Powershell, Command Prompt, etc. (the GIF above is using Windows Terminal). Alternatively, you can open the solution in VS or VSCode and execute commands there.

  1. Build the projects: run dotnet build in the root folder.

    Directory containing the GhostConsole.sln file.

  2. Run the console app: run dotnet run in the ./GhostConsole folder.

    Directory containing the GhostConsole.csproj file.

  3. Run the unit tests: run dotnet test in the ./GhostConsole.Tests folder.

    Directory containing the GhostConsole.Tests.csproj file.

About

A .NET console application built with Spectre.Console.

License:MIT License


Languages

Language:C# 100.0%