The Party Planner is a full-stack app designed to create a database of food and cocktail recipes, as well as any people you might want to invite. Set your menu and guests with just a few clicks.
- App Build
- Express
- EJS
- express-ejs-layouts
- Auth
- bcrypt
- passport
- express-session
- connect-flash
- Database management
- postgres
- sequelize
- APIs used
- Fork and clone the repo
- Install dependencies
npm i
- Create a
config.jsonwith the following code:
{
"development": {
"database": "<insert development db name here>",
"host": "127.0.0.1",
"dialect": "postgres"
},
"test": {
"database": "<insert test db name here>",
"host": "127.0.0.1",
"dialect": "postgres"
},
"production": {
"database": "<insert production db name here>",
"host": "127.0.0.1",
"dialect": "postgres"
}
}Note: If your database requires a username and password you'll need to include these fields as well.
- Create a database
sequelize db:create <insert db name here>
- Migrate models to your database
sequelize db:migrate
-
Register at the Spoonacular API to get your API key
-
Add
SESSION_SECRET(any string),PORT(value of the host port), andFOOD_KEY(your Spoonacular API key) environment variables in a.envfile. -
Run
nodemonto start up app
- As a user, I want to be able to search for food and cocktail recipes
- As a user, I want to search for recipes and save them to a list in order to access them later
- As a user, I want to add guests to a list and include likes, dislikes, and/or sensitivities/allergies
- As a user I want to flag saved guests and recipes to be displayed together on one page, and then go to that page to see my party plan.
- Access spoonacular and cocktaildb APIs and save recipes to app database, accessible only by logged in user. Create user-accessible guest list.
- Add saved recipes/guests to a party plan, allowing the user to see all three elements on one page.
- Expand features and improve styling to optimize UX/UI
- Improve styling
- Modify code for accessibility
- Implement full CRUD functionality for saved recipes and cocktails.
- Allow for multiple instances of party plans that can be saved and displayed at will by the user.
- Develop functionality to flag food or drink in the party plan that match up to a guest's allergies/sensitivities.





