An IndieWeb publishing toolkit
Learn more about this project on the documentation site.
npm start
If you want to run the service locally, perhaps to use with a tool like Postman, ensure the required environment variables have been set.
If you’re developing a new feature and want the application to automatically restart whenever a file change is detected, you can use npm run dev
.
npm test
Before running any automated tests, different IndieAuth tokens need to be provided via the following environment variables:
TEST_INDIEAUTH_TOKEN
: An IndieAuth token withcreate
,update
anddelete
scopes, whose URL should match that used forINDIEKIT_URL
.TEST_INDIEAUTH_TOKEN_NOT_SCOPED
: An IndieAuth token without a scope, whose URL should match that used forINDIEKIT_URL
.TEST_INDIEAUTH_TOKEN_NOT_ME
: An IndieAuth token withcreate
andupdate
scopes, and whose URL should not match that used forINDIEKIT_URL
.
Homebrew Access Token is a useful tool for creating tokens for this purpose.