- Install dependencies
yarn install
- Create a
.env.local
file in the root of the project and add a valid Postgres URL. To get a Postgres URL, follow the instructions here.
This is just an example, you should replace the URL with your own.
POSTGRES_URL="postgres://postgres:postgres@localhost:5432/twitter"
- Run the migrations
yarn migrate
- Start the app
yarn dev
使用者點選「我想參加」後,可以在活動頁面點擊(或利用其他操作方式,如拖曳)選擇自己有空的時段,並可以檢視哪些時段有多少人可以參加。