Skip to content

Add activity feed API - #1

Open
sungdomo wants to merge 1 commit into
mainfrom
12-27-demo_73c53494_add_activity_feed_api
Open

Add activity feed API#1
sungdomo wants to merge 1 commit into
mainfrom
12-27-demo_73c53494_add_activity_feed_api

Conversation

@sungdomo

@sungdomo sungdomo commented Dec 27, 2025

Copy link
Copy Markdown
Owner

TL;DR

Added a basic Express server with a mock activity feed endpoint.

What changed?

Created a new server.js file in the graphite-demo directory that:

  • Sets up an Express server running on port 3000
  • Defines a mock activity feed with sample data
  • Implements a GET endpoint at /feed that returns the activity feed data as JSON

How to test?

  1. Install dependencies: npm install express
  2. Start the server: node graphite-demo/server.js
  3. Access the endpoint in your browser or with curl: curl http://localhost:3000/feed
  4. Verify that the response contains the mock activity feed data

Why make this change?

This provides a simple backend API for the graphite demo application to fetch activity feed data, enabling frontend development without requiring a full backend implementation. The mock data allows for testing the activity feed display functionality.

Copy link
Copy Markdown
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions

Copy link
Copy Markdown
Contributor

Failed prettier code check. Check this file for more information.

@sungdomo
sungdomo marked this pull request as ready for review December 27, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant