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.
You have two options for using the batch code decoder:
- 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.
- Clone the repository to your local machine to run the batch code decoder locally:
-
Open a terminal or command prompt.
-
Clone the repository to your local environment using the following command:
git clone https://github.com/EthanFajnkuchen/batch-code-decoder
- Navigate to the project's root directory:
cd batch-code-decoder
- Start the server:
node server.js
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.