├── .Prettierrc ├── .eslintrc.json ├── .gitignore ├── README.md ├── app ├── Components │ ├── Course │ │ ├── CourseItem │ │ │ └── index.tsx │ │ └── CourseList │ │ │ └── index.tsx │ ├── Form │ │ ├── AddCourse.tsx │ │ └── EditCourse.tsx │ ├── Modal │ │ └── index.tsx │ └── MotionWrapper │ │ └── index.tsx ├── Helpers │ ├── BaseApi.tsx │ └── Course.tsx ├── Models │ └── Course.tsx ├── error.tsx ├── favicon.ico ├── globals.css ├── layout.tsx └── page.tsx ├── db.json ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── next.svg └── vercel.svg ├── tailwind.config.js └── tsconfig.json /.Prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/.Prettierrc -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/README.md -------------------------------------------------------------------------------- /app/Components/Course/CourseItem/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/Components/Course/CourseItem/index.tsx -------------------------------------------------------------------------------- /app/Components/Course/CourseList/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/Components/Course/CourseList/index.tsx -------------------------------------------------------------------------------- /app/Components/Form/AddCourse.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/Components/Form/AddCourse.tsx -------------------------------------------------------------------------------- /app/Components/Form/EditCourse.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/Components/Form/EditCourse.tsx -------------------------------------------------------------------------------- /app/Components/Modal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/Components/Modal/index.tsx -------------------------------------------------------------------------------- /app/Components/MotionWrapper/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/Components/MotionWrapper/index.tsx -------------------------------------------------------------------------------- /app/Helpers/BaseApi.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/Helpers/BaseApi.tsx -------------------------------------------------------------------------------- /app/Helpers/Course.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/Helpers/Course.tsx -------------------------------------------------------------------------------- /app/Models/Course.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/Models/Course.tsx -------------------------------------------------------------------------------- /app/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/error.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/app/page.tsx -------------------------------------------------------------------------------- /db.json: -------------------------------------------------------------------------------- 1 | { 2 | "courses": [] 3 | } -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alireza-WebDeveloper/NextJs14-Server-Action-CRUD/HEAD/tsconfig.json --------------------------------------------------------------------------------