# create nextjs project
$ npx create-next-app todo-nextjs --ts
# install prisma
$ yarn add -D prisma
$ npx prisma init
$ yarn add @prisma/client
Edit DATABASE_URL of .env for postgres container
# introspect from existing DB
$ npx prisma db pull
$ npx prisma generate
# setup tailwind css
$ yarn add -D tailwindcss postcss autoprefixer
$ yarn add -D prettier prettier-plugin-tailwindcss
$ npx tailwindcss init -p
# install necessary packages
$ yarn add @tanstack/[email protected] @tanstack/[email protected]
$ yarn add @mantine/[email protected] @mantine/[email protected] @mantine/[email protected] @mantine/[email protected] @emotion/[email protected] @emotion/[email protected]
$ yarn add @heroicons/[email protected] @tabler/[email protected] [email protected] [email protected] [email protected]