Journal Network is a place to reveal your innermost plans for a brilliant future for the world. Here's how it works:
-
Create a journal
-
Subscribe to an agenda
-
Post journal entries
-
Your subscribers are notified
-
People vote based on how well your journal entries support your agenda
-
Every agenda on an entry can be voted on at most once every hour
-
Each agenda has a leaderboard
The primary purpose of Journal Network is to allow the collective consciousness of the planet to discover itself.
Be a part of the transformation of humanity.
You'll need 3 separate terminal windows or tabs to run the development environment.
First, in terminal 1, install dependencies and start CloudFlare Wrangler for local development:
npm install
npm start
Then, visit http://localhost:8788/ in a web browser
In terminal 2, you need to rebuild TypeScript sources as you make changes locally.
To rebuild TypeScript sources once, run:
npm run build
To watch TypeScript sources and rebuild on change, run:
npm run build:watch
In terminal 3, run the kv server, which is needed for local development:
npm run kv
You should see a message like the following:
Server listening on http://localhost:3333
Available operations:
• Read value at key
GET ?key=urlEncodedKey
• Delete value at key
DELETE ?key=urlEncodedKey
• Write value at key (expires in 60 seconds)
POST ?key=urlEncodedKey&expiration_ttl=60 <body>
Now, the development environment is completely ready. Happy coding!