Skip to content

Mockup of Golem Client with all the standardized APIs.

Notifications You must be signed in to change notification settings

stranger80/golem-client-mock

Folders and files

NameName
Last commit message
Last commit date
Apr 16, 2020
Apr 11, 2020
Apr 11, 2020
Apr 11, 2020
Apr 11, 2020
Apr 11, 2020
Nov 17, 2019
Nov 17, 2019
Apr 11, 2020
Feb 20, 2020
Apr 11, 2020
Apr 11, 2020
Nov 21, 2019
Nov 17, 2019
Apr 11, 2020
Apr 11, 2020
Nov 17, 2019

Repository files navigation

golem-client-mock

Mockup of Golem Client with all the standardized APIs.

Building the project

Prerequisites

  • .NET Core SDK 2.2
  • NPM (Node.js package manager) - required for React frontend application

Windows

Install the prerequisites, then:

Get project sources:

git clone https://github.com/stranger80/golem-client-mock.git

Get NPM dependencies for client app:

cd golem-client-mock/GolemClientMockAPI/ClientApp
npm install
cd ../..

Build the project:

dotnet publish

Ubuntu

Setup prerequisites:

(As per [https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-current], but note .NET Core 2.2. is required rather than the latest version) :

wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb

Get .NET Core 2.2. SDK

sudo apt-get update
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-2.2

Get NPM:

sudo apt install npm

and then follow section for Windows

macOS

Setup prerequisites:

brew update
brew install node

and then follow section for Windows

Running the project

In command prompt, in golem-client-mock folder, run:

dotnet run -p GolemClientMockAPI

...or (Linux):

./start_api.sh

...and observe the messages from the API startup.

Open the browser to view the Control Dashboard:

http://localhost:5001/

...or view the Swagger UI:

http://localhost:5001/swagger

About

Mockup of Golem Client with all the standardized APIs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published