Skip to content

Conversation

@343dev
Copy link
Owner

@343dev 343dev commented Dec 22, 2025

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
  • Includes mock data for an activity feed with 3 sample entries
  • 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 in JSON format

Why make this change?

This provides a simple backend API for the graphite demo application to fetch activity feed data, enabling frontend development to proceed with realistic data without requiring a full backend implementation.

Copy link
Owner Author

343dev commented Dec 22, 2025

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

@343dev 343dev self-assigned this Dec 22, 2025
@343dev 343dev closed this Dec 22, 2025
@343dev 343dev deleted the 12-22-demo_461b9576_add_activity_feed_api branch December 22, 2025 12:18
@343dev
Copy link
Owner Author

343dev commented Dec 22, 2025

Just a test...

Repository owner locked as resolved and limited conversation to collaborators Dec 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant