From 940b675c5315f942aed30a72ab62c70f91ad9397 Mon Sep 17 00:00:00 2001 From: thompsonjd85 Date: Wed, 19 Mar 2025 10:33:31 -0500 Subject: [PATCH] updated README.md and .env --- .gitignore | 5 +++++ README.md | 2 -- .env.example => example.env | 2 ++ package.json | 14 ++++++++++++++ 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .gitignore rename .env.example => example.env (91%) create mode 100644 package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d54c4d1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +node_modules/ +.env +.git +.DS_Store +npm-debug.log diff --git a/README.md b/README.md index b5a09b5..4229462 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,6 @@ Body: Response: ```json -Copy code { "licenseKey": "generated.jwt.token" } @@ -88,7 +87,6 @@ POST /validate-license Body: ```json -Copy code { "userId": "user123", "licenseKey": "generated.jwt.token" diff --git a/.env.example b/example.env similarity index 91% rename from .env.example rename to example.env index 8279e29..840e3da 100644 --- a/.env.example +++ b/example.env @@ -1,3 +1,5 @@ +# Rename to .env + DB_HOST=your-db-host DB_NAME=license_db DB_USER_ADMIN=license_admin diff --git a/package.json b/package.json new file mode 100644 index 0000000..9899d29 --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "license-lib", + "version": "1.0.0", + "description": "Simple, secure licensing library for Node.js, React, and Next.js.", + "main": "server/index.js", + "author": "Joseph Thompson ", + "license": "MIT", + "keywords": ["license", "nodejs", "react", "nextjs", "pwa", "jwt"], + "repository": { + "type": "git", + "url": "https://git.thejthompson.com/thompsonjd85/license-lib.git" + } + } + \ No newline at end of file