-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f704f31
commit 4a8fbea
Showing
80 changed files
with
1,606 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Contains the credentials for the internal project of Stack's default development environment setup. | ||
# Do not use in a production environment, instead replace it with actual values gathered from https://app.stack-auth.com. | ||
NEXT_PUBLIC_STACK_API_URL=http://localhost:8102 | ||
NEXT_PUBLIC_STACK_PROJECT_ID=internal | ||
NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY=this-publishable-client-key-is-for-local-development-only | ||
STACK_SECRET_SERVER_KEY=this-secret-server-key-is-for-local-development-only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { StackServerApp } from "@stackframe/js"; | ||
|
||
const stackServerApp = new StackServerApp({ | ||
tokenStore: 'memory', | ||
}); | ||
|
||
stackServerApp.listUsers().then((users) => { | ||
console.log(users); | ||
}); | ||
|
||
stackServerApp.getUser().then((user) => { | ||
console.log(user); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "@stackframe/js-example", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "dotenv -e .env.development -- tsx index.ts" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@stackframe/js": "workspace:*", | ||
"dotenv-cli": "^7.4.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY", | ||
"name": "@stackframe/js", | ||
"version": "2.7.8", | ||
"sideEffects": false, | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": { | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"default": "./dist/index.js" | ||
} | ||
} | ||
}, | ||
"homepage": "https://stack-auth.com", | ||
"scripts": { | ||
"typecheck": "tsc --noEmit", | ||
"clean": "rimraf dist && rimraf node_modules", | ||
"lint": "eslint --ext .tsx,.ts .", | ||
"build": "rimraf dist && tsup-node", | ||
"dev": "rimraf dist && tsup-node --watch" | ||
}, | ||
"files": [ | ||
"README.md", | ||
"dist", | ||
"CHANGELOG.md", | ||
"LICENSE" | ||
], | ||
"dependencies": { | ||
"@hookform/resolvers": "^3.3.4", | ||
"@simplewebauthn/browser": "^11.0.0", | ||
"@stackframe/stack-sc": "workspace:*", | ||
"@stackframe/stack-shared": "workspace:*", | ||
"color": "^4.2.3", | ||
"cookie": "^0.6.0", | ||
"jose": "^5.2.2", | ||
"js-cookie": "^3.0.5", | ||
"oauth4webapi": "^2.10.3", | ||
"oslo": "^1.2.1", | ||
"qrcode": "^1.5.4", | ||
"rimraf": "^5.0.5", | ||
"tsx": "^4.7.2", | ||
"yup": "^1.4.0" | ||
}, | ||
"devDependencies": { | ||
"@quetzallabs/i18n": "^0.1.19", | ||
"@types/color": "^3.0.6", | ||
"@types/cookie": "^0.6.0", | ||
"@types/js-cookie": "^3.0.6", | ||
"@types/qrcode": "^1.5.5", | ||
"@types/react-avatar-editor": "^13.0.3", | ||
"autoprefixer": "^10.4.17", | ||
"chokidar-cli": "^3.0.0", | ||
"esbuild": "^0.20.2", | ||
"i18next": "^23.14.0", | ||
"i18next-parser": "^9.0.2", | ||
"next": "^14.1.0", | ||
"postcss": "^8.4.38", | ||
"postcss-nested": "^6.0.1", | ||
"react": "^18.2.0", | ||
"rimraf": "^5.0.5", | ||
"tailwindcss": "^3.4.4", | ||
"tsup": "^8.0.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.