Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new layout #180

Merged
merged 311 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
311 commits
Select commit Hold shift + click to select a range
a5b2117
build(deps-dev): bump eslint from 9.10.0 to 9.11.0 in /client
dependabot[bot] Sep 20, 2024
9edce1b
build(deps-dev): bump @eslint/js from 9.10.0 to 9.11.0 in /client
dependabot[bot] Sep 20, 2024
05ad61f
build(deps): bump vite from 5.4.6 to 5.4.7 in /client
dependabot[bot] Sep 20, 2024
afa3a8a
Merge pull request #210 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Sep 20, 2024
018d0da
Merge pull request #211 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Sep 20, 2024
42a4b5f
Merge pull request #212 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Sep 20, 2024
6d79653
build(deps-dev): bump @eslint/js from 9.11.0 to 9.11.1 in /client
dependabot[bot] Sep 23, 2024
bcf6d67
Merge pull request #213 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Sep 24, 2024
c4b10ff
build(deps): bump rollup in /client in the npm_and_yarn group
dependabot[bot] Sep 24, 2024
d641719
build(deps-dev): bump eslint from 9.11.0 to 9.11.1 in /client
dependabot[bot] Sep 24, 2024
e588b06
Merge pull request #214 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Sep 24, 2024
a9a6614
Merge pull request #215 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Sep 24, 2024
6286390
build(deps): bump mui-chips-input from 3.0.1 to 3.1.0 in /client
dependabot[bot] Sep 24, 2024
e69d932
Merge pull request #216 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Sep 25, 2024
fb7e6ec
build(deps): bump vite from 5.4.7 to 5.4.8 in /client
dependabot[bot] Sep 25, 2024
c322fc8
Merge pull request #217 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Sep 25, 2024
0a48425
build(deps-dev): bump eslint-plugin-react in /client
dependabot[bot] Sep 27, 2024
bee3162
Merge pull request #218 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Sep 27, 2024
7d10ea5
build(deps-dev): bump @vitejs/plugin-react in /client
dependabot[bot] Sep 30, 2024
166def8
Merge pull request #219 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 1, 2024
f4a74fd
build(deps-dev): bump eslint-plugin-react in /client
dependabot[bot] Oct 1, 2024
38b853f
build(deps-dev): bump globals from 15.9.0 to 15.10.0 in /client
dependabot[bot] Oct 1, 2024
ebe1977
Merge pull request #220 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 2, 2024
4bac252
Merge pull request #221 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 2, 2024
d9acfb9
build(deps-dev): bump @babel/preset-env from 7.25.4 to 7.25.7 in /client
dependabot[bot] Oct 2, 2024
f8deb3d
build(deps): bump @mui/material from 6.1.1 to 6.1.2 in /client
dependabot[bot] Oct 2, 2024
8b4fe8b
Merge pull request #222 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 2, 2024
f99eca2
Merge pull request #223 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 2, 2024
382dfb2
build(deps-dev): bump @babel/core from 7.25.2 to 7.25.7 in /client
dependabot[bot] Oct 2, 2024
79c2312
build(deps): bump @mui/icons-material from 6.1.1 to 6.1.2 in /client
dependabot[bot] Oct 2, 2024
bff85fc
build(deps-dev): bump @babel/preset-react in /client
dependabot[bot] Oct 2, 2024
bee67c1
Merge pull request #224 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 2, 2024
8901cc5
Merge pull request #225 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 2, 2024
5459b6d
Merge pull request #226 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 2, 2024
bd1a1b6
build(deps-dev): bump @babel/eslint-parser in /client
dependabot[bot] Oct 3, 2024
78f0a7f
Merge pull request #227 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 4, 2024
95a1ae3
refactor: server
warmachine028 Oct 4, 2024
3d51b90
Merge branch 'feature/new-layout' of https://github.com/warmachine028…
warmachine028 Oct 4, 2024
a7f0948
chore: dependabot
warmachine028 Oct 4, 2024
20c2fd6
build(deps): bump express-rate-limit from 7.4.0 to 7.4.1 in /server
dependabot[bot] Oct 4, 2024
23f6ecc
Merge pull request #228 from warmachine028/dependabot/npm_and_yarn/se…
warmachine028 Oct 4, 2024
b04e7c1
build(deps-dev): bump @eslint/js from 9.11.1 to 9.12.0 in /client
dependabot[bot] Oct 4, 2024
39ea0d9
build(deps-dev): bump eslint from 9.11.1 to 9.12.0 in /client
dependabot[bot] Oct 4, 2024
12b67fa
Merge pull request #229 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 4, 2024
83bb56c
Merge pull request #230 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 4, 2024
7e721cb
Rename local variables to shadows issue
Jai-Marothiya Oct 5, 2024
392335e
Merge pull request #231 from Jai-Marothiya/bug/fix-local-variables-name
warmachine028 Oct 5, 2024
27cf4f8
fix: themes
warmachine028 Oct 6, 2024
6a492b2
fix: conflicts
warmachine028 Oct 6, 2024
5f6add1
style: format code with Prettier
deepsource-autofix[bot] Oct 6, 2024
6ae91b5
style: format code with Prettier
deepsource-autofix[bot] Oct 6, 2024
0983c50
Merge pull request #233 from warmachine028/deepsource-transform-63686b80
warmachine028 Oct 6, 2024
7ad6de1
style: format code with Prettier
deepsource-autofix[bot] Oct 6, 2024
f60a5bf
Merge pull request #234 from warmachine028/deepsource-transform-5d306116
warmachine028 Oct 6, 2024
75d74b1
Merge pull request #235 from warmachine028/deepsource-transform-fdb053d8
warmachine028 Oct 6, 2024
7ae1fa7
feat: added Dashboard
warmachine028 Oct 6, 2024
a7ec3a3
fix: theme buttons for mobile
warmachine028 Oct 7, 2024
c761399
fix: removed vite-react-swc
warmachine028 Oct 7, 2024
5fc7af4
feat: profile UpdateDialog Form
warmachine028 Oct 7, 2024
f85df6b
Merge branch 'feature/new-layout' of https://github.com/warmachine028…
warmachine028 Oct 7, 2024
d68616a
style: format code with Prettier
deepsource-autofix[bot] Oct 7, 2024
965f522
style: format code with Prettier
deepsource-autofix[bot] Oct 7, 2024
f4d0fa4
fix: vercel-error for package.json
warmachine028 Oct 7, 2024
ce4e5db
style: format code with Prettier
deepsource-autofix[bot] Oct 7, 2024
8392325
Merge pull request #236 from warmachine028/deepsource-transform-65f9c8a7
warmachine028 Oct 7, 2024
b7c8bd9
Merge pull request #237 from warmachine028/deepsource-transform-baeafe5b
warmachine028 Oct 7, 2024
4737aa1
Merge pull request #238 from warmachine028/deepsource-transform-4234dd36
warmachine028 Oct 7, 2024
688a878
build(deps-dev): bump eslint-plugin-react-hooks in /client
dependabot[bot] Oct 7, 2024
89622f6
build(deps): bump express from 4.21.0 to 4.21.1 in /server
dependabot[bot] Oct 8, 2024
6da855a
build(deps): bump @reduxjs/toolkit from 2.2.7 to 2.2.8 in /client
dependabot[bot] Oct 8, 2024
499743b
Merge pull request #240 from warmachine028/dependabot/npm_and_yarn/se…
warmachine028 Oct 9, 2024
5cb8ecb
Merge pull request #239 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 9, 2024
8634bc9
Merge pull request #241 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 9, 2024
3ef7d27
build(deps): bump mongoose from 8.7.0 to 8.7.1 in /server
dependabot[bot] Oct 9, 2024
d144d6b
build(deps): bump @mui/material from 6.1.2 to 6.1.3 in /client
dependabot[bot] Oct 9, 2024
f689a7c
build(deps): bump @mui/icons-material from 6.1.2 to 6.1.3 in /client
dependabot[bot] Oct 9, 2024
4f6b3ba
build(deps-dev): bump globals from 15.10.0 to 15.11.0 in /client
dependabot[bot] Oct 9, 2024
59b53b7
Merge pull request #242 from warmachine028/dependabot/npm_and_yarn/se…
warmachine028 Oct 10, 2024
62558aa
Merge pull request #243 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 10, 2024
8d5da5d
Merge pull request #244 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 10, 2024
e247129
Merge pull request #245 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 10, 2024
2bd71d6
build(deps): bump @mui/lab in /client
dependabot[bot] Oct 10, 2024
0cb1af4
Merge pull request #246 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 10, 2024
920bf11
feat: reactions
warmachine028 Oct 10, 2024
f3013f5
Merge branch 'feature/new-layout' of https://github.com/warmachine028…
warmachine028 Oct 10, 2024
8fd11e4
fix: createPost form
warmachine028 Oct 10, 2024
13289b5
style: format code with Prettier
deepsource-autofix[bot] Oct 10, 2024
b9ad82f
style: format code with Prettier
deepsource-autofix[bot] Oct 10, 2024
5977a23
fix: mobile reactions
warmachine028 Oct 10, 2024
b9730aa
style: format code with Prettier
deepsource-autofix[bot] Oct 10, 2024
80b39a6
Merge pull request #249 from warmachine028/deepsource-transform-7900a913
warmachine028 Oct 10, 2024
aafe81e
style: format code with Prettier
deepsource-autofix[bot] Oct 10, 2024
7b8aa88
Merge pull request #250 from warmachine028/deepsource-transform-17ca9286
warmachine028 Oct 10, 2024
9aad067
Merge pull request #251 from warmachine028/deepsource-transform-563e405d
warmachine028 Oct 10, 2024
bc42c80
Merge pull request #252 from warmachine028/deepsource-transform-809c1883
warmachine028 Oct 10, 2024
e40e05d
build(deps-dev): bump eslint-plugin-react-hooks in /client
dependabot[bot] Oct 10, 2024
61ad4f2
Merge pull request #253 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 11, 2024
b63c4a5
build(deps): bump react-router-dom from 6.26.2 to 6.27.0 in /client
dependabot[bot] Oct 11, 2024
77beb0d
Merge pull request #254 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 12, 2024
da5b557
feat: infiniteScrolling in Posts
warmachine028 Oct 13, 2024
4b11b18
feat: random high quality images for placeholder
warmachine028 Oct 13, 2024
c2e4552
fix: reaction hovers
warmachine028 Oct 13, 2024
e9d4b46
feat: post page and skeleton
warmachine028 Oct 13, 2024
97e878f
feat: post page and skeleton
warmachine028 Oct 13, 2024
ccfa6bf
feat: clerk auth
warmachine028 Oct 13, 2024
215a521
fix: verify email attempt
warmachine028 Oct 13, 2024
41094e8
fix: verify-email signup flow
warmachine028 Oct 13, 2024
4037396
feat: auth
warmachine028 Oct 13, 2024
e4746fb
fix: responsiveness
warmachine028 Oct 13, 2024
6088e18
feat: UserAvatar component
warmachine028 Oct 14, 2024
4874444
feat: UserAvatar component
warmachine028 Oct 14, 2024
ebacfe8
fix: removed sensitive data
warmachine028 Oct 14, 2024
758a2d3
fix: unused vars
warmachine028 Oct 14, 2024
c43d61a
fix: JS-0123 on SignUp
warmachine028 Oct 14, 2024
d256055
fix: JS-0066
warmachine028 Oct 14, 2024
35a4444
fix: auth pages
warmachine028 Oct 14, 2024
8519ff1
fix: JS-0045 at Login and VerifyEmail
warmachine028 Oct 14, 2024
9b1f41e
fix: JS-0123 on Login, VerifyEmail, OAuthButtons
warmachine028 Oct 14, 2024
d4d27a9
fix: removed console.logs
warmachine028 Oct 14, 2024
bdf3ad0
style: format code with Prettier
deepsource-autofix[bot] Oct 14, 2024
eee3dfd
style: format code with Prettier
deepsource-autofix[bot] Oct 14, 2024
07ebcb4
fix: deepsource errors
warmachine028 Oct 14, 2024
d244b34
fix: deepsource errors
warmachine028 Oct 14, 2024
f57b7de
style: format code with Prettier
deepsource-autofix[bot] Oct 14, 2024
afc4033
style: format code with Prettier
deepsource-autofix[bot] Oct 14, 2024
9ccede7
style: format code with Prettier
deepsource-autofix[bot] Oct 14, 2024
aac571d
fix: deepsource errors
warmachine028 Oct 14, 2024
98da07d
style: format code with Prettier
deepsource-autofix[bot] Oct 14, 2024
6ddf281
fix: deepsource errors
warmachine028 Oct 14, 2024
463cbad
style: format code with Prettier
deepsource-autofix[bot] Oct 14, 2024
2622446
Merge pull request #255 from warmachine028/deepsource-transform-f67b1818
warmachine028 Oct 14, 2024
dd4adfb
Merge pull request #256 from warmachine028/deepsource-transform-8c3a71e4
warmachine028 Oct 14, 2024
51f936a
Merge pull request #257 from warmachine028/deepsource-transform-2038c9d5
warmachine028 Oct 14, 2024
c3802e8
Merge pull request #258 from warmachine028/deepsource-transform-3ba4a979
warmachine028 Oct 14, 2024
9e4995a
Merge pull request #259 from warmachine028/deepsource-transform-62ebd6f4
warmachine028 Oct 14, 2024
e959c63
Merge pull request #261 from warmachine028/deepsource-transform-bca9e841
warmachine028 Oct 14, 2024
b76174c
Merge pull request #262 from warmachine028/deepsource-transform-b5573984
warmachine028 Oct 14, 2024
a045619
feat: cursorrules file
warmachine028 Oct 14, 2024
6f4c660
feat: createPost Form
warmachine028 Oct 15, 2024
6f4ce91
style: format code with Prettier
deepsource-autofix[bot] Oct 15, 2024
1d7522f
style: format code with Prettier
deepsource-autofix[bot] Oct 15, 2024
126f660
feat: remove Button for CreatePost
warmachine028 Oct 15, 2024
1be3144
style: format code with Prettier
deepsource-autofix[bot] Oct 15, 2024
868c239
fix: tag Inputs
warmachine028 Oct 15, 2024
080d071
style: format code with Prettier
deepsource-autofix[bot] Oct 15, 2024
82f2d9f
Merge pull request #263 from warmachine028/deepsource-transform-500c6562
warmachine028 Oct 15, 2024
571c5f4
Merge pull request #264 from warmachine028/deepsource-transform-f58dfa16
warmachine028 Oct 15, 2024
f5d1ea2
Merge pull request #265 from warmachine028/deepsource-transform-33f5ed41
warmachine028 Oct 15, 2024
eb34690
Merge pull request #266 from warmachine028/deepsource-transform-5da1098b
warmachine028 Oct 15, 2024
755816c
fix: oAuth Logins
warmachine028 Oct 15, 2024
4fdb348
feat: user Profile Update Button
warmachine028 Oct 15, 2024
5f4100c
fix: deepsource errors
warmachine028 Oct 15, 2024
f64ca22
style: format code with Prettier
deepsource-autofix[bot] Oct 15, 2024
bb211cc
style: format code with Prettier
deepsource-autofix[bot] Oct 15, 2024
f3ca4f8
fix: deepsource errors JS-0129
warmachine028 Oct 15, 2024
ab4400a
style: format code with Prettier
deepsource-autofix[bot] Oct 15, 2024
cd713ee
fix: last name required but can't remove while editing
warmachine028 Oct 15, 2024
059d0ae
style: format code with Prettier
deepsource-autofix[bot] Oct 15, 2024
d81212e
fix: snackbar
warmachine028 Oct 15, 2024
d3cf788
style: format code with Prettier
deepsource-autofix[bot] Oct 15, 2024
d3d55fd
Merge pull request #267 from warmachine028/deepsource-transform-e54aeed6
warmachine028 Oct 15, 2024
c8e03c3
Merge pull request #268 from warmachine028/deepsource-transform-76aadfa3
warmachine028 Oct 15, 2024
e053149
Merge pull request #269 from warmachine028/deepsource-transform-ea29888c
warmachine028 Oct 15, 2024
3f135bf
Merge pull request #270 from warmachine028/deepsource-transform-f70a8e41
warmachine028 Oct 15, 2024
2e9eb1c
Merge pull request #271 from warmachine028/deepsource-transform-a5ae3502
warmachine028 Oct 15, 2024
46ca2c1
fix: snackbar
warmachine028 Oct 15, 2024
c5f66f1
Merge branch 'feature/new-layout' of https://github.com/warmachine028…
warmachine028 Oct 15, 2024
2603fa4
build(deps): bump @reduxjs/toolkit from 2.2.8 to 2.3.0 in /client
dependabot[bot] Oct 15, 2024
da85f92
Merge pull request #272 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 15, 2024
f993529
build(deps): bump @mui/material from 6.1.3 to 6.1.4 in /client
dependabot[bot] Oct 15, 2024
a85579c
Merge pull request #273 from warmachine028/dependabot/npm_and_yarn/cl…
warmachine028 Oct 15, 2024
a28566d
build(deps): bump @mui/lab in /client
dependabot[bot] Oct 15, 2024
d627495
build(deps): bump @clerk/clerk-react from 5.11.0 to 5.11.1 in /client
dependabot[bot] Oct 15, 2024
f05ccb1
build(deps): bump @mui/icons-material from 6.1.3 to 6.1.4 in /client
dependabot[bot] Oct 15, 2024
7059738
deps: updated clerk, mui, redux
warmachine028 Oct 16, 2024
af2c17d
deps: updated clerk, mui, redux
warmachine028 Oct 16, 2024
b9b6567
feat: migrated to react19@rc
warmachine028 Oct 16, 2024
1d5b6a6
fix: autor name over post card
warmachine028 Oct 16, 2024
b2a9c51
fix: autor name over post card
warmachine028 Oct 16, 2024
8c2955c
fix: autor name over post card
warmachine028 Oct 16, 2024
7b55d99
style: format code with Prettier
deepsource-autofix[bot] Oct 16, 2024
d8b3fd2
feat: border for reactions
warmachine028 Oct 16, 2024
14555cf
Merge branch 'feature/new-layout' of https://github.com/warmachine028…
warmachine028 Oct 16, 2024
964eb95
feat: added UserAvatar
warmachine028 Oct 16, 2024
f5a8dff
feat: initialized bun express server
warmachine028 Oct 16, 2024
c75b398
chore: added start script
warmachine028 Oct 16, 2024
b59b989
feat: added favicon
warmachine028 Oct 16, 2024
73f020f
feat: added favicon
warmachine028 Oct 16, 2024
7af64db
feat: added cron job for render server
warmachine028 Oct 16, 2024
c1b4e6c
feat: prisma and routes
warmachine028 Oct 16, 2024
b07ecc2
feat: prisma schema
warmachine028 Oct 16, 2024
d4fa64d
feat: prisma schema
warmachine028 Oct 17, 2024
250726e
fix: temporarily disabled rate-limit
warmachine028 Oct 17, 2024
93ce186
feat: comment routes
warmachine028 Oct 17, 2024
2909a70
feat: vercel.json
warmachine028 Oct 17, 2024
53fdf56
feat: vercel.json
warmachine028 Oct 17, 2024
1b37977
feat: vercel.json
warmachine028 Oct 17, 2024
729a21b
feat: vercel.json
warmachine028 Oct 17, 2024
2662e54
feat: vercel.json
warmachine028 Oct 17, 2024
66b9125
feat: vercel.json
warmachine028 Oct 17, 2024
e8ea58f
feat: vercel.json
warmachine028 Oct 17, 2024
256e62c
fix: ditched vercel
warmachine028 Oct 17, 2024
c74fcfe
feat: attempting user sync
warmachine028 Oct 17, 2024
762917e
feat: temporatily disabled rate-limit
warmachine028 Oct 17, 2024
da0bb35
feat: added prisma and user route handlers
warmachine028 Oct 17, 2024
da14c37
feat: added prisma and user route handlers
warmachine028 Oct 17, 2024
798fe5e
build(deps): bump @clerk/clerk-react in /client
dependabot[bot] Oct 17, 2024
e9f4407
build(deps): bump @prisma/client from 5.21.0 to 5.21.1 in /server
dependabot[bot] Oct 17, 2024
ba21111
refactor: prisma-import in src/routes
warmachine028 Oct 17, 2024
0820e53
feat: added prisma logic to sync users in database
warmachine028 Oct 18, 2024
616d608
feat: added auth middleware
warmachine028 Oct 18, 2024
bc2e27f
feat: added searchbar
warmachine028 Oct 18, 2024
5379f25
fix: twitter:card tag in index.html
warmachine028 Oct 18, 2024
e7c59f1
style: format code with Prettier
deepsource-autofix[bot] Oct 18, 2024
5113fac
style: format code with Prettier
deepsource-autofix[bot] Oct 18, 2024
b27eda6
docs: updated readme
warmachine028 Oct 18, 2024
33e9a0c
Merge branch 'feature/new-layout' of https://github.com/warmachine028…
warmachine028 Oct 18, 2024
be1e7b2
docs: updated readme
warmachine028 Oct 18, 2024
43e2e5e
fix: ThemeMenu
warmachine028 Oct 18, 2024
3bd88bb
feat: added routes for posts, reactions, tags, comments
warmachine028 Oct 18, 2024
e556428
style: format code with Prettier
deepsource-autofix[bot] Oct 18, 2024
2366efc
feat: post creation and storage in database
warmachine028 Oct 19, 2024
9f0f81d
chore: .env.example naming convention
warmachine028 Oct 19, 2024
ebb4a5e
style: format code with Prettier
deepsource-autofix[bot] Oct 19, 2024
07406a1
fix: unused vars
warmachine028 Oct 19, 2024
2188716
fix: autofocus
warmachine028 Oct 19, 2024
5ebe346
chore: .env.example naming convention
warmachine028 Oct 20, 2024
3cb0ae3
style: format code with Prettier
deepsource-autofix[bot] Oct 20, 2024
a4b399a
feat: added getPosts Logic
warmachine028 Oct 20, 2024
ed5be61
fix: post controllers
warmachine028 Oct 20, 2024
ea44bb4
fix: headers not being sent to server
warmachine028 Oct 20, 2024
773d832
deps: bun updated
warmachine028 Oct 20, 2024
207b41f
style: format code with Prettier
deepsource-autofix[bot] Oct 20, 2024
d69e8d5
feat: zustand, react-query
warmachine028 Oct 20, 2024
12d543c
Merge branch 'feature/new-layout' of https://github.com/warmachine028…
warmachine028 Oct 20, 2024
8021b30
deps: updated
warmachine028 Oct 26, 2024
1d2a1da
fix: asynchronous clerk headers with hooks
warmachine028 Oct 27, 2024
df11d2d
feat: comment section
warmachine028 Oct 27, 2024
89a7c8b
feat: comment section
warmachine028 Oct 27, 2024
36da7aa
feat: avatar group
warmachine028 Oct 27, 2024
5523e58
feat: update Post feature client side
warmachine028 Oct 27, 2024
b8b76f5
feat: update visibility of posts
warmachine028 Oct 27, 2024
4ee2720
fix: update user
warmachine028 Oct 27, 2024
0e62aea
fix: update user
warmachine028 Oct 27, 2024
781c699
fix: responsiveness in profile icon
warmachine028 Oct 27, 2024
ab7e10c
fix: create and update post
warmachine028 Oct 28, 2024
360242b
fix: post reactions
warmachine028 Oct 28, 2024
6b33438
fix: deepsource errors
warmachine028 Oct 28, 2024
a29adc9
fix: deepsource errors
warmachine028 Oct 28, 2024
a7d0b23
fix: deepsource errors
warmachine028 Oct 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions .cursorrules
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
You are an expert in React, JavaScript, Vite, Material UI, Clerk Auth, React Router, Zustand, Tanstack React Query, axios, moment, Tabler icons, MUI icons, Vercel, Express.js, Node.js, Cloudinary, Prisma, and Neon PostgreSQL.

Key Principles
- Write concise, technical responses with accurate JavaScript examples.
- Use functional, declarative programming. Avoid classes.
- Prefer iteration and modularization over duplication.
- Use descriptive variable names with auxiliary verbs (e.g., isLoading).
- Use lowercase with dashes for directories (e.g., components/auth-modal).
- Favor named exports for components.
- Use the Receive an Object, Return an Object (RORO) pattern.

JavaScript
- Use "function" keyword for pure functions. Use semicolons.
- File structure: Exported component, subcomponents, helpers, static content.
- Avoid unnecessary curly braces in conditional statements.
- For single-line statements in conditionals, omit curly braces.

Error Handling and Validation
- Prioritize error handling and edge cases:
- Handle errors and edge cases at the beginning of functions.
- Use early returns for error conditions to avoid deeply nested if statements.
- Place the happy path last in the function for improved readability.
- Avoid unnecessary else statements; use if-return pattern instead.
- Use guard clauses to handle preconditions and invalid states early.
- Implement proper error logging and user-friendly error messages.
- Consider using custom error types or error factories for consistent error handling.

React/Vite
- Use functional components.
- Use declarative JSX.
- Use const, not function, for components.
- Use Material UI for components and styling.
- Implement responsive design with Material UI's responsive utilities.
- Use mobile-first approach for responsive design.
- Place static content at file end.
- Use content variables for static content outside render functions.
- Use Clerk for authentication and user management.
- Use axios for API requests.
- Use React Router for navigation.
- Use Zustand for state management.
- Utilize Tanstack React Query for data fetching and caching.
- Use moment for date and time manipulation.
- Use Tabler icons and MUI icons for iconography.
- Deploy frontend to Vercel.

Backend (Express.js/Node.js)
- Use Express.js for routing and middleware.
- Implement RESTful API design principles.
- Use Prisma as the ORM for database operations.
- Implement proper error handling middleware.
- Use environment variables for configuration.
- Implement input validation and sanitization.
- Use async/await for asynchronous operations.
- Use Clerk for user authorization on the backend.
- Integrate Cloudinary for image and file management.

Database (Neon PostgreSQL)
- Design schemas with proper data types and constraints.
- Use indexes for frequently queried fields.
- Implement data pagination for large datasets.
- Use Prisma migrations for database schema management.

Key Conventions
1. Use Vite for fast development and optimized builds.
2. Prioritize Web Vitals (LCP, CLS, FID).
3. Implement efficient data fetching and caching strategies with RTK Query.
4. Use proper security measures (e.g., CORS, helmet for Express).
5. Utilize Prisma's type-safe database access.
6. Implement proper state management with Zustand.
7. Use React Router for declarative routing.
8. Leverage Clerk's authentication and user management features.
9. Optimize image delivery with Cloudinary.
10. Utilize Neon PostgreSQL's scalability and performance features.

Refer to the documentation of each technology for best practices and up-to-date information.
28 changes: 0 additions & 28 deletions .deepsource.toml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/1-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: 💡 General Feature Request
description: Have a new idea/feature for memories? Please suggest!
labels: ['⭐ goal: addition', 'good first issue', '🤩 Up for the grab', 'help wanted', 'enhancement']
title: '[FEATURE 💡] <description>'
body:
- type: textarea
id: description
attributes:
label: Description
description: A brief description of the enhancement you propose, also include what you tried and what worked.
placeholder: Enter your description
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Screenshots to support proposal of feature or idea
placeholder: Please attach screenshots if applicable
validations:
required: false
- type: textarea
id: extrainfo
attributes:
label: Additional information
description: Is there anything else we should know about this idea?
value: |
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and docs before proceeding**
## Happy contributing. 💐
Star my other Repositories [here](https://github.com/warmachine028)
validations:
required: false
- type: markdown
attributes:
value: |
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and docs before proceeding**
## Happy contributing. 💐
Star my other Repositories [here](https://github.com/warmachine028?tab=repositories)
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/2-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: 🐛 Bug Bounty Hunter
description: Report an bug in memories and help improve the project!
labels: ['🛠 goal: fix', 'good first issue', '🤩 Up for the grab', 'help wanted', 'enhancement', 'bug']
title: '[BUG 🐞] <description>'
body:
- type: textarea
id: description
attributes:
label: Description
description: A brief description of the question or issue, also include what you tried and what didn't work
placeholder: Enter your description
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Screenshots to support replication of Bug
placeholder: Please attach screenshots if applicable
validations:
required: false
- type: textarea
id: extrainfo
attributes:
label: Additional information
description: Is there anything else we should know about this idea?
value: |
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and docs before proceeding**
## Happy contributing. 💐
Star my other Repositories [here](https://github.com/warmachine028)
validations:
required: false
- type: markdown
attributes:
value: |
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and docs before proceeding**
## Happy contributing. 💐
Star my other Repositories [here](https://github.com/warmachine028?tab=repositories)
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/3-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 📄 Documentation issue
description: Found an issue in the documentation? You can use this one!
title: '[DOCS 📄] <description>'
labels: ['📄 aspect: text', 'good first issue', '🤩 Up for the grab']
body:
- type: textarea
id: description
attributes:
label: Description
description: A brief description of the question or issue, also include what you tried and what didn't work
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Please add screenshots if applicable
validations:
required: false
- type: textarea
id: extrainfo
attributes:
label: Additional information
description: Is there anything else we should know about this issue?
validations:
required: false
- type: markdown
attributes:
value: |
Star my other Repositories [here](https://github.com/warmachine028)
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/4-other.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Other
description: Use this for any other issues. Please do NOT create blank issues
title: '[OTHER]'
labels: ['🚦 status: awaiting triage']
body:
- type: markdown
attributes:
value: '# Other issue'
- type: textarea
id: issuedescription
attributes:
label: What would you like to share?
description: Provide a clear and concise explanation of your issue.
validations:
required: true
- type: textarea
id: extrainfo
attributes:
label: Additional information
description: Is there anything else we should know about this issue?
validations:
required: false
- type: markdown
attributes:
value: |
Star my other Repositories [here](https://github.com/warmachine028)
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ body:
description: Is there anything else we should know about this idea?
value: |
- Always use styled components instead of plain CSS and MUI components.
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and [SETUP](https://github.com/warmachine028/memories/tree/main/rules) docs before proceeding**
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and docs before proceeding**
## Happy contributing. 💐
Star my other Repositories [here](https://github.com/warmachine028)
validations:
required: false
- type: markdown
attributes:
value: |
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and [SETUP](https://github.com/warmachine028/memories/tree/main/rules) docs before proceeding**
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and docs before proceeding**
## Happy contributing. 💐
Star my other Repositories [here](https://github.com/warmachine028?tab=repositories)

5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 🙋🏾🙋🏼‍Question
url: https://github.com/warmachine028
about: Feel free to ask your question on Discussion.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ body:
description: Is there anything else we should know about this idea?
value: |
- Always use styled components instead of plain CSS and MUI components.
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and [SETUP](https://github.com/warmachine028/memories/tree/main/rules) docs before proceeding**
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and docs before proceeding**
## Happy contributing. 💐
Star my other Repositories [here](https://github.com/warmachine028)
validations:
required: false
- type: markdown
attributes:
value: |
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and [SETUP](https://github.com/warmachine028/memories/tree/main/rules) docs before proceeding**
## **Make sure to read the [CONTRIBUTING](https://github.com/warmachine028/memories/blob/main/CONTRIBUTING.md) and docs before proceeding**
## Happy contributing. 💐
Star my other Repositories [here](https://github.com/warmachine028?tab=repositories)

23 changes: 23 additions & 0 deletions .github/actions/push-changes/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Push changes
description: A reusable action to push changes with a specified commit message and file paths
inputs:
message:
description: Commit message
required: true
paths:
description: File paths to add
default: '.'
runs:
using: composite
steps:
- name: Pull changes
run: git pull
shell: bash

- name: Push changes
uses: EndBug/add-and-commit@v9
with:
committer_name: 'GitHub Actions'
committer_email: '[email protected]'
add: ${{ inputs.paths }}
message: '${{ inputs.message }}'
32 changes: 17 additions & 15 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: ".github"
schedule:
interval: daily
time: "21:00"
- package-ecosystem: npm
directory: "client"
schedule:
interval: daily
time: "21:00"
- package-ecosystem: npm
directory: "server"
schedule:
interval: daily
time: "21:00"
- package-ecosystem: github-actions #! for github-actions
directory: '.github'
schedule:
interval: daily
time: '21:00'
- package-ecosystem: npm #! enable for javascript & typescript
open-pull-requests-limit: 10
directory: 'client'
schedule:
interval: daily
time: '21:00'
- package-ecosystem: npm #! enable for javascript & typescript
open-pull-requests-limit: 10
directory: 'server'
schedule:
interval: daily
time: '21:00'
Loading
Loading