Skip to content

davef201/InvManConsoleApp

Repository files navigation

InvManConsoleApp

InvManConsoleApp is a console applcation to automate the inventory management process. It takes a file of current inventory and outputs a file that lists the new inventory.

Pre-requisites

This app has been developed using Visual Studio 2019 and targets .Net Core 3.1 .

Before building the app, it would be benefical to have these available. I can make other .Net targets available on request

Building the app

After cloning the repository and opening the solution in visual studio, build the application. This can be done in visual studio as follows:

  1. Right-Click on the InvManConsoleApp project ,br />
  2. Choose Build from the menu that appears

As I am new to GitHub, I am currently researching how to set up a continuous build.

Configuring the app

After building the app, you'll need to set the path names for the folders that contain the files to be processed (ImportFileLocation), the current inventory files that have been processed (ProcessedFileLocation) and the new inventory files (ExportFileLocation). The path names are aet in the appsettings.json file which is in the same folder location as the InvManConsoleApp executable.

Testing the app

Unit tests have been written and are in the project InvManConsoleAppTest. These can be run through the test explorer (Ctrl-E, T) in visual studio.

Running the app

The console app builds to an executable (exe file type). To run the program, open a command prompt and enter <path_to_executable>\InvManConsoleApp.exe

For continuous running, the app can be scheduled via the windows task scheduler or equivalent.

Improvements / Questions

This applcation has been developed based on the information provided. As such certain assumptions had to be made, for example, item names do not contain more than two words.

The test input was provided as space delimited data. This could be improved by separating each item of data by a semi-colon.

To improve the user experience, a user interface can be provided that can be accessed through a web browser, eg, Chrome or a windows forms application as appropriate.

About

Inventory Management Console App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages