This application uses Express and Second to build a server-rendered Preact application.
First, install the example:
git clone [email protected]:wildlyinaccurate/second.git
cd second/packages/example-simple-api
npm install
Then run the server:
npm start
Or run the server with logging enabled:
DEBUG=second:* npm start
Then open http://localhost:8082/events/wildlyinaccurate in a web browser. Change wildlyinaccurate
to any GitHub username.