luturol / builders

A Binary Search Tree API built with .NET 5 and it saves the BST on a NoSQL database. You can run using Docker. Check README for more info.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Builders

It's a .Net 5 project that implements a Binary Search Tree.

Dependencies

  • Docker
  • .Net 5 installed (optional)

How to run

Running with docker

to run using docker, you can just execute the following command:

docker-compose up

It will start two containers, one that has the API and another that has MongoDB. You can access the project by navigating through http://localhost:8080

Running in local

To run the project in local machine, execute the following command:

dotnet run --project .\Builders\

To execute tests, you can run in root folder:

dotnet test .\Builders.Test\

To execute integration test, you can run in root folder:

dotnet test .\Builders.Integration.Test\

Endpoints

Running the project with docker, you will access endpoints using 8080 as the port in localhost.

  1. Palindrome http://localhost:8080/Palindrome?word=arara

    By setting the word it will execute the endpoint with GET Method.

  2. Binary Search Tree

About

A Binary Search Tree API built with .NET 5 and it saves the BST on a NoSQL database. You can run using Docker. Check README for more info.


Languages

Language:C# 99.4%Language:Dockerfile 0.6%