https://github.com/jghaden/qr-barcode-generator
Static website using Express to construct a REST API to generate barcodes and QR codes.
https://github.com/jghaden/qr-barcode-generator
barcode express qrcode rest-api
Last synced: about 2 months ago
JSON representation
Static website using Express to construct a REST API to generate barcodes and QR codes.
- Host: GitHub
- URL: https://github.com/jghaden/qr-barcode-generator
- Owner: jghaden
- Created: 2020-11-29T08:54:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-01T17:31:00.000Z (over 4 years ago)
- Last Synced: 2025-08-02T21:52:51.321Z (11 months ago)
- Topics: barcode, express, qrcode, rest-api
- Language: JavaScript
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express REST API
This is a static website using Express on the backend to construct a REST API to generate barcodes and QR codes.
 
# Overview
1. [Description](#description)
2. [Requirements](#requirements)
3. [Installation](#installation)
4. [Running](#running)
# Description
I had previous experience building an API such as my [**MEAN Template**](https://github.com/jghaden/mean-template), but I wanted to experiment more by working with API keys and secrets. As of right now, the API Key is generated by [**jsonwebtoken**](https://www.npmjs.com/package/jsonwebtoken) for the sake of easy verification and the API secret is a alphanumeric string generated by [**randomstring**](https://www.npmjs.com/package/randomstring).
# Requirements
This application requires installation of [**NodeJS**](https://nodejs.org/) prior to running.
# Installation
```
$ npm install
```
## Start server
If you wish to have [**nodemon**](https://www.npmjs.com/package/nodemon) watch your code changes, run:
```
$ npm dev
```
or you wish to start the server only with Node:
```
$ npm start
```
# Running
### Generate API key and secret by providing a username

### Leaving the API Key and Secret blank will use default values

### Or, you can enter your own API key and Secret to generate a barcode or QR code
