Skip to content

C# Command Line Application that lets users generate ID Badges

License

Notifications You must be signed in to change notification settings

Mateo-Wallace/C2-CS-Badge-Maker

Repository files navigation

License Shield LinkedIn Shield

C# Badge Maker

Description

C# Badge Maker is a Command Line Application that allows users to generate Id badge pngs that include a workers name, id, and photo. It was built to learn C#.

While building this project I learned to:

  • Write C# variables by defining what they are, for example instead of var bl = true you would write bool bl = true
  • Install C# packages using dotnet
  • Manipulate the file system to generate files and folders
  • Import packages with the using tag. Primarily from the System but also from dotnet packages
  • Run a C# file by using dotnet run or dotnet watch

Built With

C# Shield SkiaSharp Shield Newtonsoft Shield

Table of Contents

Installation

  1. Fork the repo
  2. Clone the code to your local machine
  3. Open in VS Code
  4. Use the restore command

(back to top)

Usage

From the terminal run dotnet run to begin the application.

  1. You will be asked if you would like to auto generate ids. If true 10 ids will be generated and placed within the data folder. If false continue reading.
  2. You will be asked to enter a first name, last name, id, and photo url. For the photo url feel free to use https://placekitten.com/300/300 .
  3. Once you have finished entering one id you may either continue entering ids or simply hit enter with no input to finish. Ids will be generated and placed within the data folder.

The gif below shows the functional app:

gif of application running in terminal

The image below is an example output id:

id example output

(back to top)

Contributing

If you have a suggestion that would make the repo better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

If all of this is new to you take a look at the GitHub Docs.

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Mateo Wallace - GitHub - Email - LinkedIn

(back to top)

About

C# Command Line Application that lets users generate ID Badges

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages