Giter Club home page Giter Club logo

indiekit's Introduction

IndieKit

An IndieWeb publishing toolkit

Learn more about this project on the documentation site.

Local development

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.

Tests

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 with create, update and delete scopes, whose URL should match that used for INDIEKIT_URL.
  • TEST_INDIEAUTH_TOKEN_NOT_SCOPED: An IndieAuth token without a scope, whose URL should match that used for INDIEKIT_URL.
  • TEST_INDIEAUTH_TOKEN_NOT_ME: An IndieAuth token with create and update scopes, and whose URL should not match that used for INDIEKIT_URL.

Homebrew Access Token is a useful tool for creating tokens for this purpose.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.