Simple, single-user event aggregation platform, for use in personal websites and other related places.
event-streaming
single-user
events
event-aggregation
1const service = await fetch(
2 `http://localhost:${process.env.PORT || 4300}/services`,
3 {
4 method: "POST",
5 headers: {
6 Authorization: `${process.env.USER_TOKEN}`,
7 },
8 body: JSON.stringify({
9 name: "Example Service",
10 description: "My example service description",
11 }),
12 },
13);
14
15console.log(await service.json());