updated README.md and .env
This commit is contained in:
parent
61a6123b06
commit
940b675c53
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
node_modules/
|
||||
.env
|
||||
.git
|
||||
.DS_Store
|
||||
npm-debug.log
|
@ -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"
|
||||
|
@ -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
14
package.json
Normal 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"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user