Go into the frontend folder, run npm i and then npm run dev.
- Next.js
npm create-next-app@latest --typescriptor ?npx create-next-app@latest --typescript
- Prisma
npm install prisma --save-devnpx prismanpx prisma generate(you should run this after migrations, idk why yet)npx prisma db seed(we added this)npx prisma db pullnpx prisma db pushor ↓ (DB push doesn't have history)npx prisma migrate dev --name newMigrationornpx prisma migratewhen not in development modenpx prisma formatnpx prisma studio
- Tailwind CSS
npm i tailwindcss postcss autoprefixerornpm install tailwindcssnpm install postcssnpm install autoprefixer
npx tailwindcss init -p
- Next Auth
npm install next-authnpm install @next-auth/prisma-adapter
- Auth0
npm install @auth0/nextjs-auth0
- Radix UI
npm install @radix-ui/react-dropdown-menu
- Lottie Player
npm install @lottiefiles/react-lottie-player
- Generate key in Node
node -e "console.log(crypto.randomBytes(32).toString('hex'))"
- HeidiSQL (client) | (or Prisma Studio)
- MySQL (server only)
- Postman (REST API)
http://localhost:3000/api/http://localhost:3000/api/users
- Prettier
- Prisma (syntax highlighting)
- Tailwind CSS IntelliSense
- GitLens
- Simple React Snippets
- Tabnine AI Autocomplete
- Auto Rename Tag
- Gruvbox Material Icon Theme
- Reload
- Auto Comment Blocks
- Todo Tree
- 200 - OK
- 201 - Created success
- 400 - Bad Request
- 403 - Forbidden
- 404 - Not Found
- Remove indexes of cached files in a folder:
git rm -r --cached <folder>