truevote/truevote.api

Api is the core backend for TrueVote

The main technology stack platform is CosmosDB Emulator

Api is the core backend for TrueVote

TrueVote.Api

๐ŸŒˆ Overview

TrueVote.Api is the core backend for TrueVote.

The main technology stack platform is .NET Core 6.0 (preview).

๐Ÿ›  Prerequisites

  • Install Visual Studio 2022 (preview) or later, or Visual Studio Code. Ensure that $ dotnet --version is at least 6.0.
  • Install Azure CosmosDB Emulator

โŒจ๏ธ Install, Build, and Serve the Site

Create a new file at the root of TrueVote.Api named local.settings.json and add the following, replacing the account key with the actual account key from the CosmosDB Emulator start page. To use the functions of the Telegram Bot locally, create a new Bot using 'BotFather' and place the key in the local.settings.json file.

Open the TrueVote.Api.sln solution in Visual Studio, and build the solution.

You'll see output in the console showing the various local URL access points.

REST Api root https://localhost:7071/api/swagger/ui

GraphQL root https://localhost:7071/api/graphql

๐Ÿงช Unit Testing

Unit testing and code coverage are setup and must be maintained. To run the tests and generate a coverage report, run the Powershell script from the command line.

This generages a coverage report in TrueVote.Api.Tests/coverage-html. Open index.html to view the report.

๐ŸŽ Versioning

TrueVote.Api uses sementic versioning, starting with 1.0.0.

The patch (last segment of the 3 segments) is auto-incremented via a GitHub action when a pull request is merged to master. The GitHub action is configured in the .github/workflows/developer-guide.yml file. To update the major or minor version, follow the instructions specified in the bumping section of the action - use #major or #minor in the commit message to auto-increment the version.

โค๏ธ Contributing

We welcome all contributions. Please read our contributing guidelines before submitting a pull request.

๐Ÿ“œ License

TrueVote.Api is licensed under the MIT license.

truevote.org

Library Stats (Sep 21, 2022)

Subscribers: 2
Stars: 3
Forks: 0
Issues: 0

dotnet-sshdeploy

here, otherwise you are in the right place

dotnet-sshdeploy

SharpeningCobaltStrike

In realtime compiling of dotnet v35/v40 exe/dll binaries + obfuscation with ConfuserEx on your linux cobalt strike server

SharpeningCobaltStrike

Dotnet client for Tarantool NoSql database

Some methods are not implemented yet because there are no direct analogs in IProto

Dotnet client for Tarantool NoSql database

dotnet-coverageconverter

coverage (binary format) files to

dotnet-coverageconverter

dotnet-stellar-sdk Stellar API SDK for

Report Bug ยท Report Security Vulnerability

dotnet-stellar-sdk Stellar API SDK for

dotnet-jwk is a JSON Web Key manager for dotnet

It allow to generate, encrypt, decrypt, convert and check JWK

dotnet-jwk is a JSON Web Key manager for dotnet

dotnet add package Brighid

Protecting the Client Secret

dotnet add package Brighid

dotnet-real-time-chat

A real time chat using C# dotnet and RabbitMQ

dotnet-real-time-chat

Run command line tools inside CSharp

Example running some dotnet CLI commands:

Run command line tools inside CSharp

Run command line tools inside CSharp

Example running some dotnet CLI commands:

Run command line tools inside CSharp
dotnet tool install --global dotnet-extract