updated README.md and .env

This commit is contained in:
Joseph D Thompson 2025-03-19 10:33:31 -05:00
parent 61a6123b06
commit 940b675c53
4 changed files with 21 additions and 2 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
node_modules/
.env
.git
.DS_Store
npm-debug.log

View File

@ -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"

View File

@ -1,3 +1,5 @@
# Rename to .env
DB_HOST=your-db-host
DB_NAME=license_db
DB_USER_ADMIN=license_admin

14
package.json Normal file
View File

@ -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 <thompsonjd85#gmail.com>",
"license": "MIT",
"keywords": ["license", "nodejs", "react", "nextjs", "pwa", "jwt"],
"repository": {
"type": "git",
"url": "https://git.thejthompson.com/thompsonjd85/license-lib.git"
}
}