--- 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 ```