This is the demo of web-based pttbbs using go-pttbbsweb.
You can get started by visiting the following website:
The corresponding backend repository of this website is:
The architecture is based on 中台架構-站台部屬規劃(20210126版本for測試計畫).
Configuration is required for running this demo.
You can refer to examples config.test/
or config.tmpl/
for setting up your own configuration.
Your project directory needs to have the following file layout:
config/
- your configuration directory (must be this name)index.js
- contains all the configuration needed by the project.- Ensure that
API_ROOT
has been set to the API URL of a running openbbs-middleware instance.
- Ensure that
When done editing index.js
, remember to copy config/
into the directory node_modules/
.
cp -r config node_modules/
npm start
Then you should be able to access the page on localhost:3000.
Besides the home-page, we would like to have several complete-independent pages, including register, forgot-password, admin, etc.