Giter Site home page Giter Site logo

twitter-clone's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

twitter-clone's Issues

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.