Joss-FD / a1529987-6d0d-420d-afe7-9eb3854a43cf

A project to find the largest increment sequence of numbers given a list of numbers

Home Page:https://joss-fd.github.io/a1529987-6d0d-420d-afe7-9eb3854a43cf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About The Project

This is a small project that uses C# code to find the longest incremental sequence of numbers in a large (or of any size really) list of numbers. The project is split in 4 main parts:

  • The .NET Core part with the maib logic
  • The unit test project
  • The API layer using ASP .NET Core
  • The frontend layer written in Angular, to give a visual representation to this project

How to run

Clone the repo on your local machine.

Test main logic only

Open the SequenceFinder solution in Visual Studio. Enter the list of number in the Sample.txt file and run the application - the console will return the longest incremental sequence from the list you provided

Run the web version

Right now the API needs to be ran locally. Open the WebAPI solution and run it in visual studio. This will run the project under https://localhost:7186/ You can then navigate to the web page and use the application.

Alternatively you can choose to run the angular code locally. If so:

Open the WebView project Run:

npm install

Followed by:

ng serve

Your web application should start running under http://localhost:4200/

Roadmap

  • Remove hardcoded URLs and variables
  • Add more unit tests
  • Allow for input file upload for the web version
  • Deploy WebAPI with Github Actions to remove need to run API locally

About

A project to find the largest increment sequence of numbers given a list of numbers

https://joss-fd.github.io/a1529987-6d0d-420d-afe7-9eb3854a43cf/


Languages

Language:C# 57.4%Language:TypeScript 35.4%Language:SCSS 4.3%Language:HTML 3.0%