How I Setup My NextJs Projects From Scratch

Поділитися
Вставка
  • Опубліковано 26 сер 2024
  • In this video, we'll set up NextJs from scratch and create a starter template we can clone and use in every project.
    👉🏼 The Ultimate NextJs 14 Course
    → www.hamedbahra...
    👉🏼 Project source code
    → github.com/Ham...
    👉🏼 Work with me
    → www.hamedbahra...

КОМЕНТАРІ • 34

  • @flnnx
    @flnnx 6 місяців тому +3

    I am new to NextJS and love how minimal effort you have to put to setup things and start with your project.

  • @markamos5139
    @markamos5139 6 місяців тому +2

    Best thing the algorithm fed me today! Thanks for sharing your process

    • @hamedbahram
      @hamedbahram  6 місяців тому

      Awesome! Glad to hear that!

  • @user-ju4om6un8q
    @user-ju4om6un8q Місяць тому +1

    Easy with you. Thank you!

  • @ahmaat19
    @ahmaat19 7 місяців тому +4

    Thanks for sharing us the knowledge

  • @SergioEstebitan
    @SergioEstebitan 3 місяці тому +2

    I love the typography in your code. Could you let me know which font family you're using and if it includes any special ligatures?

    • @hamedbahram
      @hamedbahram  3 місяці тому

      My font is Operator mono, and I think it supports ligatures.

  • @tekemutau6583
    @tekemutau6583 7 місяців тому +2

    Hi Hamed, I really enjoyed your video on setting up Next.js projects from scratch! I'm curious about your thoughts on remote job opportunities for Next.js developers. Do you think it's feasible to find remote work in this field, and if so, do you have any tips for aspiring remote developers? Thanks!

    • @hamedbahram
      @hamedbahram  7 місяців тому

      Yes, absolutely! I have seen openings literally looking for NextJs engineers. My suggestions is to learn the ecosystem of techs around NextJs, built a portfolio website for yourself showcasing, sharing what you've learned and then find companies you'd be interested in working for and reach out to them.

  • @NijatNiyazov
    @NijatNiyazov 5 місяців тому +1

    Does it automatically deploy to vercel new repo which was created by using this template?

    • @hamedbahram
      @hamedbahram  5 місяців тому +1

      Once you add the repo to your own vercel project, it will automatically deploy when you push new changes.

    • @NijatNiyazov
      @NijatNiyazov 5 місяців тому +1

      @@hamedbahram thanks. Btw, your all contents are priceless. Keep it up 👍

    • @hamedbahram
      @hamedbahram  5 місяців тому

      @@NijatNiyazov thank you!

  • @amjadnikzad4890
    @amjadnikzad4890 7 місяців тому +1

    i think if you make a video about github and github workflow,that would be great!

    • @hamedbahram
      @hamedbahram  7 місяців тому

      That's a great idea! Thank you.

  • @ilan117
    @ilan117 7 місяців тому +1

    Hi Hamed. Always, thank you ❤ I guess you install prettier as a dependency in case the extension in VS code is not installed or the user is using another IDE ? … Last question what is the best way to reuse the template and keep the dependencies up-to-date e.g. nexts version.

    • @hamedbahram
      @hamedbahram  7 місяців тому

      My pleasure! Yeah that's right! You just have to keep the template you created up to date.

  • @hamidr8391
    @hamidr8391 7 місяців тому +1

    Pls make a video on best folder structure practice in next.js for large scale applications.

    • @tejasgk369
      @tejasgk369 7 місяців тому +1

      Yeah like mono repos and all

    • @hamedbahram
      @hamedbahram  7 місяців тому

      Sure, I'll have that in mind. Thanks for the suggestion!

  • @git-sujon
    @git-sujon 6 місяців тому +1

    What about the max-width? how much max-width you keep for the larger screen and shouldn't it add with the container class?

    • @hamedbahram
      @hamedbahram  6 місяців тому +1

      The "container" class already applies max-width based on different screen sizes. See here → tailwindcss.com/docs/container

    • @git-sujon
      @git-sujon 6 місяців тому +1

      @@hamedbahram thnak you for the reply 💝, I forgot about the default class of tailwind.

    • @hamedbahram
      @hamedbahram  6 місяців тому

      @@git-sujon no worries.

  • @temitopedavid9508
    @temitopedavid9508 7 місяців тому +1

    Thanks for sharing

  • @muhammadalifdanielbinmohdh3188
    @muhammadalifdanielbinmohdh3188 7 місяців тому +1

    Hey can you make an indicator of database is online or not by using prisma?

    • @hamedbahram
      @hamedbahram  7 місяців тому

      What do you mean by the database being online?

    • @muhammadalifdanielbinmohdh3188
      @muhammadalifdanielbinmohdh3188 7 місяців тому

      @@hamedbahram like vercel status that check are database is connected or not

  • @aminda6862
    @aminda6862 7 місяців тому +1

    thanks a lot
    but What setup do you have for React projects?

    • @hamedbahram
      @hamedbahram  7 місяців тому +2

      Hmm 🤔 It's been a long time I haven't build a React project outside of NextJs. But if I had to, I'd use Vite to setup React and ExpressJs for my backend.