Skip to content

EthanFajnkuchen/batch-code-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batch Code Decoder for Cosmetic Products

This project is a small Node.js application that allows users to decode batch codes of cosmetic products. A batch code is a unique identifier used by cosmetic manufacturers to track production information, including the date of manufacture, expiration date, and other relevant details. With this batch code decoder, users can input a batch code and get information about the product's production date and other relevant data.

How to Use

You have two options for using the batch code decoder:

  1. Access the batch code decoder application online at the following link: Batch Code Decoder - Live Demo. Enter the batch code in the provided input field and click the "Decode" button. The application will process the input and display relevant information about the product.
  2. Clone the repository to your local machine to run the batch code decoder locally:

Clone the Repository

  1. Open a terminal or command prompt.

  2. Clone the repository to your local environment using the following command:

git clone https://github.com/EthanFajnkuchen/batch-code-decoder
  1. Navigate to the project's root directory:
cd batch-code-decoder
  1. Start the server:
node server.js 

Dependencies

This project uses the following Node.js modules:

  • express: A minimal and flexible Node.js web application framework for handling HTTP requests.
  • body-parser: Node.js body parsing middleware. Parse incoming request bodies in a middleware before your handlers, available under the req.body property.
  • https: Node.js module to handle HTTPS requests.