diff --git a/.spr.yml b/.spr.yml new file mode 100644 index 0000000000..c258bb1a9b --- /dev/null +++ b/.spr.yml @@ -0,0 +1,12 @@ +githubRepoOwner: starkware-libs +githubRepoName: blockifier +githubHost: github.com +githubRemote: origin +githubBranch: main-v0.13.2 +requireChecks: true +requireApproval: true +mergeMethod: squash +mergeQueue: false +forceFetchTags: false +showPrTitlesInStack: false +branchPushIndividually: false diff --git a/graphite-demo/server.js b/graphite-demo/server.js new file mode 100644 index 0000000000..54925ed5af --- /dev/null +++ b/graphite-demo/server.js @@ -0,0 +1,30 @@ +const express = require('express'); +const app = express(); +const port = 3000; + +// Fake data for the activity feed +const activityFeed = [ + { + id: 1000, + title: 'New Photo Uploaded', + body: 'Alice uploaded a new photo to her album.' + }, + { + id: 2000, + title: 'Comment on Post', + body: "Bob commented on Charlie's post." + }, + { + id: 13, + title: 'Status Update', + body: 'Charlie updated their status: "Excited about the new project!"' + } +]; + +app.get('/feed', (req, res) => { + res.json(activityFeed); +}); + +app.listen(port, () => { + console.log(`Server running on port ${port}`); +}); \ No newline at end of file