Unverified Commit 8908d2b0 authored by Hong Minhee's avatar Hong Minhee
Browse files

Adjust README

parent 33f58cdb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ added in the future.[^1]
     software](https://github.com/dahlia/hollo)
  -  [Hono integration sample](./hono-sample/)
  -  [Fedify–Express integration example](./express/)
  -  [Fedify–Next.js integration example](./next-app-router/)

[^1]: Contributions are welcome!  If you have built an application with the
      Fedify framework and want to share it with others, please consider adding
+29 −24
Original line number Diff line number Diff line
# Fedify Next.JS Integration
Fedify–Next.js integration example
==================================

## Running the Example
Running the Example
-------------------

 1. Clone the repository:

   ```sh
    ~~~~ sh
    git clone https://github.com/dahlia/fedify.git
    cd fedify/examples/next-app-router
   ```
    ~~~~

 2. Install dependencies:

   ```sh
    ~~~~ sh
    # optional
    nvm use
    npm i
   ```
    ~~~~

 3. Start the server:

   ```sh
    ~~~~ sh
    npm run dev & npx @fedify/cli tunnel 8000
   ```
    ~~~~

4. Open your browser tunneled URL and start interacting with the app. You can see your handle such as `@demo@6c10b40c63d9e1ce7da55667ef0ef8b4.serveo.net`
 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
   ```
    ~~~~