Files
004_comission/_resources/_tecky/party-planner/meta.md
louiscklaw 6c60a73f30 update,
2025-01-31 19:15:17 +08:00

1.2 KiB

tags
tags
tecky
typescript
javascript

Party Planner

A planner app that helps party organizers to manage party details and members. Users can create event, start polls on date/venue, invite participants, manage event timetable, organize item list and assign participants to prepare the items.

Database Guide

All database seeding script files are stored in '/util/database/seedingFunctions'

Parameters can be altered in the files

Set up DB with data with just one script

Run the following

npm run lazy

Initiate tables to an empty DB

Run the following

npm run initDB

Remove all DB tables

Run the following

npm run clearDB

Clear all DB data

Run the following

npm run truncateDB

Register users

Run the following

npm run regUsers

Create events for every users

Run the following

npm run createEvents

Join events for every users

Run the following

npm run joinEvents

Add participants to a specific event

Run the following

npm run addParticipants

Add items to a specific event

Run the following

npm run addItems