twitter-clone's People
Forkers
hassnian assoft yaomogumq pedropankaj yitzweb bitsnaps sezanhaque marcusjack vitakili travins tahuuchi tgi-ingenieria fabianmerino nenopr emaia ramirezramirez125 hmota dsavai happychristian777 truongluu markytobran edwardz8 chiisom03 belwalshubham upsen acwink vijithmv916 wangi4myself 13ey3 wolfwithcode sufi-an datmayo jonrob08 fasterv410 hunmuhe keristrasz lcl-101 javierabosch tarabass pmls3 yamasaking alchemi009 thegrtnx webmaster-dexontechnology hadidbilla faso-dev song-chae-chae chang-you-ren8 ifazo eiis yugal-7 yugal-compro realbuddy lucianrotaru rodolphojunior atiflayer carlosmoreira00 nirmalmhjr appdirectory souryamishra zel0x0 vinhuyen sheharyar fawaz27twitter-clone's Issues
add likes to tweets
an idea for users to add likes to tweets
have to refresh routes on both home and status routes
for any data to appear you have to refresh routes on both home and status routes. hydration error.
Hydration completed but contains mismatches.
do not show replies on tweets home page
reserve home page for tweets created on home page.
only show replies to tweets on the individual status/:id page
YouTube keeps deleting my comments! A list of changes and tips for the video
YouTube keeps deleting my comments because it flagged them as "SPAM" for including the URL of MongoDB and the issues page of HeroIcons. So I sent you the list of changes as of January 23 2023 and some tips for people using TypeScript to follow your tutorial.
I sent it to your Facebook page and here, so you can add these tips in the video's description or in a Pinned comment.
As of January 23 2023:
- @heroicons are now imported from @heroicons/vue/24/solid or @heroicons/vue/24/outline.
- Many h3 packages hooks (functions) have been renamed like useCookie = getCookie and useBody = readBody.
- setCookie requires now the H3Event instance "event" and not event.res. Also, event.res is now event.node.res.
- Many @heroicons icons were renamed, like DotsHorizontalIcon = EllipsisHorizontalIcon.
- We need to install @prisma/client. I installed v4.9.0.
- As of prisma v4.7.0 the referentialIntegrity field was renamed to relationMode and its not longer
"previewFeatures".- When defining the auth server middleware, in pattern.match we pass event.node.req.url instead of event.req.url.
Tips:
- To get TypeScript types, create heroicons.d.ts file in the root of the project, with the code found in one of the replies to this issue: GithubWebsiteUrlHere/tailwindlabs/heroicons/issues/64#issuecomment-877717508
- If you get "Vue Warn" warning messages, add this to nuxt.config.ts: build: { transpile: ['@heroicons/vue'] }. It's discussed further in the video
but not at the time we start adding icons.- If you are using TypeScript, remember to install these packages: @types/jsonwebtoken, @types/bcrypt
- prisma.user.create requires an object with a data property. so: prisma.user.create({data: userData}) and not: prisma.user.create(userData)
- If you are using MongoDB in local mode, Prisma requires running MongoDB server in replication mode.
When starting the mongo server, add the --replSet flag followed by a name: mongod --dbpath=C:\mongodb\db --replSet rs0
And in .env of the Nuxt project, in the DATABASE_URL variable, add: MongoDBAddressWithHostAndPort/database-name?replicaSet=rs0
(where MongoDBAddressWithHostAndPort is the mongo prefix with the host or IP and the port, can't type web URLs here or my message gets deleted).Thanks to the author for such an awesome video and for the comments that helped to solve few of the issues.
Wishing you all health, peace, and success.
add registration form
refresh token is invalid when creating register page
`useBody()` and `useCookie()` are no longer supported in server side.
new syntax:
const body = await readBody(event);
const cookies = parseCookies(event);
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.