Skip to content

Latest commit

 

History

History
 
 

koa

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Fedify–Koa integration example

This is a simple example of how to integrate Fedify into a Koa application.

Running the example

  1. Clone the repository:

    git clone https://github.com/fedify-dev/fedify.git
    cd fedify/examples/koa
  2. Install dependencies:

    pnpm install
  3. Start the server:

    pnpm start & pnpx @fedify/cli tunnel 3000
  4. Open your browser tunneled URL and start interacting with the app. You can see your handle such as @demo@6c10b40c63d9e1ce7da55667ef0ef8b4.serveo.net.

  5. Access https://activitypub.academy/ and search your handle and follow.

  6. You can see following list like:

    This account has the below 1 followers:
    https://activitypub.academy/users/beboes_bedoshs