├── .env.local.example ├── .eslintrc ├── .github └── workflows │ └── main.yml ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── pre-push ├── .nvmrc ├── .prettierignore ├── .prettierrc.json ├── .vscode ├── extensions.json ├── settings.json └── tasks.json ├── LICENSE.md ├── README.md ├── netlify.toml ├── next-env.d.ts ├── next.config.js ├── package.json ├── prisma ├── migrations │ ├── 20220725082812_init │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public ├── favicon.ico ├── images │ └── SecretCookBookLogoT.png ├── screenshots │ ├── ss1.png │ ├── ss2.png │ ├── ss3.png │ └── ss4.png └── vercel.svg ├── src ├── components │ ├── auth │ │ └── LoginForm.jsx │ ├── helpers │ │ ├── OverlayFader.jsx │ │ ├── form │ │ │ ├── FFileUpload.jsx │ │ │ ├── FInput.jsx │ │ │ ├── FInputNoHook.jsx │ │ │ ├── FileUpload.jsx │ │ │ └── FormControlWrapper.jsx │ │ └── reorderable │ │ │ ├── ReorderableItem.jsx │ │ │ └── ReorderableList.jsx │ ├── ingredients │ │ ├── GroupHeading.jsx │ │ ├── Ingredient.jsx │ │ ├── IngredientGroup.jsx │ │ └── Ingredients.jsx │ ├── recipe │ │ ├── Description.jsx │ │ ├── Photo.jsx │ │ ├── Recipe.jsx │ │ ├── RecipeCard.jsx │ │ ├── RecipeServingTimeDifficulty.jsx │ │ ├── RecipeTitle.jsx │ │ ├── Recipes.jsx │ │ └── ShortDesc.jsx │ └── shared │ │ ├── SCBHeading.jsx │ │ └── SCBText.jsx ├── layouts │ └── Layout.jsx ├── lib │ ├── hooks │ │ ├── useDebounce.js │ │ ├── useEscape.js │ │ ├── useHasMounted.js │ │ └── useRenderCounter.js │ ├── prisma.ts │ ├── siteConfig.js │ ├── supabase.js │ ├── tools.js │ └── withDb_mongoose.js ├── middleware.ts ├── models │ ├── database.json │ ├── models.js │ ├── openapi.schema.yaml │ ├── recipe.schema.json │ └── recipe.schema.mongoose.js ├── pages │ ├── _app.tsx │ ├── _document.tsx │ ├── api │ │ ├── auth │ │ │ └── [...nextauth].ts │ │ ├── recipes.js │ │ └── recipes │ │ │ └── [recipeId].js │ ├── auth │ │ └── login.js │ ├── index.js │ └── my │ │ ├── recipes.js │ │ └── recipes │ │ └── [recipeId].js ├── resources │ └── svgs │ │ ├── Google.svg │ │ ├── index.js │ │ └── ornament-divider.svg ├── styles │ ├── globals.css │ └── theme.ts └── types │ └── next-auth.d.ts └── tsconfig.json /.env.local.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.env.local.example -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.husky/pre-push -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/gallium -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/README.md -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/netlify.toml -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/package.json -------------------------------------------------------------------------------- /prisma/migrations/20220725082812_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/prisma/migrations/20220725082812_init/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/images/SecretCookBookLogoT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/public/images/SecretCookBookLogoT.png -------------------------------------------------------------------------------- /public/screenshots/ss1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/public/screenshots/ss1.png -------------------------------------------------------------------------------- /public/screenshots/ss2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/public/screenshots/ss2.png -------------------------------------------------------------------------------- /public/screenshots/ss3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/public/screenshots/ss3.png -------------------------------------------------------------------------------- /public/screenshots/ss4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/public/screenshots/ss4.png -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/components/auth/LoginForm.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/auth/LoginForm.jsx -------------------------------------------------------------------------------- /src/components/helpers/OverlayFader.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/helpers/OverlayFader.jsx -------------------------------------------------------------------------------- /src/components/helpers/form/FFileUpload.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/helpers/form/FFileUpload.jsx -------------------------------------------------------------------------------- /src/components/helpers/form/FInput.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/helpers/form/FInput.jsx -------------------------------------------------------------------------------- /src/components/helpers/form/FInputNoHook.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/helpers/form/FInputNoHook.jsx -------------------------------------------------------------------------------- /src/components/helpers/form/FileUpload.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/helpers/form/FileUpload.jsx -------------------------------------------------------------------------------- /src/components/helpers/form/FormControlWrapper.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/helpers/form/FormControlWrapper.jsx -------------------------------------------------------------------------------- /src/components/helpers/reorderable/ReorderableItem.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/helpers/reorderable/ReorderableItem.jsx -------------------------------------------------------------------------------- /src/components/helpers/reorderable/ReorderableList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/helpers/reorderable/ReorderableList.jsx -------------------------------------------------------------------------------- /src/components/ingredients/GroupHeading.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/ingredients/GroupHeading.jsx -------------------------------------------------------------------------------- /src/components/ingredients/Ingredient.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/ingredients/Ingredient.jsx -------------------------------------------------------------------------------- /src/components/ingredients/IngredientGroup.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/ingredients/IngredientGroup.jsx -------------------------------------------------------------------------------- /src/components/ingredients/Ingredients.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/ingredients/Ingredients.jsx -------------------------------------------------------------------------------- /src/components/recipe/Description.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/recipe/Description.jsx -------------------------------------------------------------------------------- /src/components/recipe/Photo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/recipe/Photo.jsx -------------------------------------------------------------------------------- /src/components/recipe/Recipe.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/recipe/Recipe.jsx -------------------------------------------------------------------------------- /src/components/recipe/RecipeCard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/recipe/RecipeCard.jsx -------------------------------------------------------------------------------- /src/components/recipe/RecipeServingTimeDifficulty.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/recipe/RecipeServingTimeDifficulty.jsx -------------------------------------------------------------------------------- /src/components/recipe/RecipeTitle.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/recipe/RecipeTitle.jsx -------------------------------------------------------------------------------- /src/components/recipe/Recipes.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/recipe/Recipes.jsx -------------------------------------------------------------------------------- /src/components/recipe/ShortDesc.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/recipe/ShortDesc.jsx -------------------------------------------------------------------------------- /src/components/shared/SCBHeading.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/shared/SCBHeading.jsx -------------------------------------------------------------------------------- /src/components/shared/SCBText.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/components/shared/SCBText.jsx -------------------------------------------------------------------------------- /src/layouts/Layout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/layouts/Layout.jsx -------------------------------------------------------------------------------- /src/lib/hooks/useDebounce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/lib/hooks/useDebounce.js -------------------------------------------------------------------------------- /src/lib/hooks/useEscape.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/lib/hooks/useEscape.js -------------------------------------------------------------------------------- /src/lib/hooks/useHasMounted.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/lib/hooks/useHasMounted.js -------------------------------------------------------------------------------- /src/lib/hooks/useRenderCounter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/lib/hooks/useRenderCounter.js -------------------------------------------------------------------------------- /src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/lib/prisma.ts -------------------------------------------------------------------------------- /src/lib/siteConfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/lib/siteConfig.js -------------------------------------------------------------------------------- /src/lib/supabase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/lib/supabase.js -------------------------------------------------------------------------------- /src/lib/tools.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/lib/tools.js -------------------------------------------------------------------------------- /src/lib/withDb_mongoose.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/lib/withDb_mongoose.js -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/models/database.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/models/database.json -------------------------------------------------------------------------------- /src/models/models.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/models/models.js -------------------------------------------------------------------------------- /src/models/openapi.schema.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/models/openapi.schema.yaml -------------------------------------------------------------------------------- /src/models/recipe.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/models/recipe.schema.json -------------------------------------------------------------------------------- /src/models/recipe.schema.mongoose.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/models/recipe.schema.mongoose.js -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/api/auth/[...nextauth].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/pages/api/auth/[...nextauth].ts -------------------------------------------------------------------------------- /src/pages/api/recipes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/pages/api/recipes.js -------------------------------------------------------------------------------- /src/pages/api/recipes/[recipeId].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/pages/api/recipes/[recipeId].js -------------------------------------------------------------------------------- /src/pages/auth/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/pages/auth/login.js -------------------------------------------------------------------------------- /src/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/pages/index.js -------------------------------------------------------------------------------- /src/pages/my/recipes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/pages/my/recipes.js -------------------------------------------------------------------------------- /src/pages/my/recipes/[recipeId].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/pages/my/recipes/[recipeId].js -------------------------------------------------------------------------------- /src/resources/svgs/Google.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/resources/svgs/Google.svg -------------------------------------------------------------------------------- /src/resources/svgs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/resources/svgs/index.js -------------------------------------------------------------------------------- /src/resources/svgs/ornament-divider.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/resources/svgs/ornament-divider.svg -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/styles/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/styles/theme.ts -------------------------------------------------------------------------------- /src/types/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/src/types/next-auth.d.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cagils/secret-cook-book/HEAD/tsconfig.json --------------------------------------------------------------------------------