View Code? Open in Web Editor
NEW
Recipes social media
Home Page: https://culinary-alchemy-web-app.vercel.app
License: Other
TypeScript 94.09%
JavaScript 1.37%
HTML 0.11%
Shell 0.05%
Astro 2.90%
CSS 1.48%
culinaryalchemy's Issues
Add skeletons for improve the UI
add config parameter to swr hooks to avoid stale while revalidate in some cases
this is our first design
change translations architecture and add translations for the drop-down menu
we are going to use Multer to receive the image.
Multer documentation: https://github.com/expressjs/multer (it contains an HTML form example to make the request)
backend: when the user is updated with PUT in user/id/, an image called "avatar" is received, and uploaded to Cloudinary, to save the URL in the user.avatar.
the actual license is MIT, so we need to update it.
to solve some issues :
chmod u+x .husky/*
in root dir
install @types/jsonwebtoken and @types/passport types to the server project
Logs
@types/jsonwebtoken
[0] /home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:859
[0] return new TSError(diagnosticText, diagnosticCodes, diagnostics);
[0] ^
[0] TSError: ⨯ Unable to compile TypeScript:
[0] src/routes/auth/sign-in.ts(4,17): error TS7016: Could not find a declaration file for module 'jsonwebtoken'. '/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] /node_modules/jsonwebtoken/index.js' implicitly has an 'any' type.
[0] If the 'jsonwebtoken' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsonwebtoken'
[0]
[0] at createTSError (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:859:12)
[0] at reportTSError (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:863:19)
[0] at getOutput (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:1077:36)
[0] at Object.compile (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:1433:41)
[0] at Module.m._compile (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:1617:30)
[0] at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
[0] at Object.require.extensions. [as .ts] (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:1621:12)
[0] at Module.load (node:internal/modules/cjs/loader:1091:32)
[0] at Function.Module._load (node:internal/modules/cjs/loader:938:12)
[0] at Module.require (node:internal/modules/cjs/loader:1115:19) {
[0] diagnosticCodes: [ 7016 ]
[0] }
^C[0] nodemon -r dotenv/config -q src/index.ts exited with code 130
@types/passport
[0] /home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:859
[0] return new TSError(diagnosticText, diagnosticCodes, diagnostics);
[0] ^
[0] TSError: ⨯ Unable to compile TypeScript:
[0] src/index.ts(3,22): error TS7016: Could not find a declaration file for module 'passport'. '/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] /node_modules/passport/lib/index.js' implicitly has an 'any' type.
[0] If the 'passport' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport'
[0]
[0] at createTSError (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:859:12)
[0] at reportTSError (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:863:19)
[0] at getOutput (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:1077:36)
[0] at Object.compile (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:1433:41)
[0] at Module.m._compile (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:1617:30)
[0] at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
[0] at Object.require.extensions. [as .ts] (/home/jes/.projects/CulinaryAlchemy/node_modules/.pnpm/[email protected] _@[email protected] [email protected] /node_modules/ts-node/src/index.ts:1621:12)
[0] at Module.load (node:internal/modules/cjs/loader:1091:32)
[0] at Function.Module._load (node:internal/modules/cjs/loader:938:12)
[0] at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) {
[0] diagnosticCodes: [ 7016 ]
[0] }
^C[0] nodemon -r dotenv/config -q src/index.ts exited with code 130
sync local storage between tabs
following the actual readme style, complete the next
add tweets and recipes sections to the user page
The button is not working, as it should
our first option is cypress
the global routing directory should look like this:
src/routing/{backend,frontend}
Back-end team changed the routes.
because user page takes all the routes unexpected
Our first option is millor.js
add it when this bug has been fixed https://github.com/aidenybai/million/issues/488
use a solution like swr or tanstack query