Unverified Commit aac2a482 authored by Hong Minhee (洪 民憙)'s avatar Hong Minhee (洪 民憙) Committed by GitHub
Browse files

Merge pull request #228 from ellemedit/update-nextjs-example

parents fe5e3601 f121c16b
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
Fedify–Next.js integration example
==================================
# Fedify–Next.js integration example

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

1.  Clone the repository:

    ~~~~ sh
    ```sh
    git clone https://github.com/fedify-dev/fedify.git
    cd fedify/examples/next-app-router
    ~~~~
    cd fedify/examples/next14-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 3000
    ~~~~
    ```

4.  Open your browser tunneled URL and start interacting with the app.
    You can see your handle such as
@@ -33,7 +31,7 @@ Running the Example

6.  You can see following list like:

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