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.
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
After cloning the repository and opening the solution in visual studio, build the application. This can be done in visual studio as follows:
- Right-Click on the InvManConsoleApp project ,br />
- Choose Build from the menu that appears
As I am new to GitHub, I am currently researching how to set up a continuous build.
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.
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.
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.
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.