This commit is contained in:
louiscklaw
2025-02-01 01:58:47 +08:00
parent b3da7aaef5
commit 04dbefcbaf
1259 changed files with 280657 additions and 0 deletions

View File

@@ -0,0 +1,86 @@
---
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
```bash
npm run lazy
```
### Initiate tables to an empty DB
Run the following
```bash
npm run initDB
```
### Remove all DB tables
Run the following
```bash
npm run clearDB
```
### Clear all DB data
Run the following
```bash
npm run truncateDB
```
### Register users
Run the following
```bash
npm run regUsers
```
### Create events for every users
Run the following
```bash
npm run createEvents
```
### Join events for every users
Run the following
```bash
npm run joinEvents
```
### Add participants to a specific event
Run the following
```bash
npm run addParticipants
```
### Add items to a specific event
Run the following
```bash
npm run addItems
```