├── .env ├── .gitignore ├── .idea ├── .gitignore ├── misc.xml ├── modules.xml ├── next-course.iml └── watcherTasks.xml ├── README.md ├── components └── MainLayout.tsx ├── db.json ├── interfaces └── post.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── 404.tsx ├── _app.tsx ├── _document.tsx ├── about │ ├── author.js │ └── index.tsx ├── api │ ├── echo.tsx │ └── echo │ │ └── [id].tsx ├── index.tsx ├── post │ └── [id].tsx └── posts.tsx ├── public ├── favicon.ico └── vercel.svg ├── styles ├── error.module.scss └── main.scss └── tsconfig.json /.env: -------------------------------------------------------------------------------- 1 | API_URL=http://localhost:4300 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/next-course.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/.idea/next-course.iml -------------------------------------------------------------------------------- /.idea/watcherTasks.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/.idea/watcherTasks.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/README.md -------------------------------------------------------------------------------- /components/MainLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/components/MainLayout.tsx -------------------------------------------------------------------------------- /db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/db.json -------------------------------------------------------------------------------- /interfaces/post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/interfaces/post.ts -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/package.json -------------------------------------------------------------------------------- /pages/404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/pages/404.tsx -------------------------------------------------------------------------------- /pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/pages/_app.tsx -------------------------------------------------------------------------------- /pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/pages/_document.tsx -------------------------------------------------------------------------------- /pages/about/author.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/pages/about/author.js -------------------------------------------------------------------------------- /pages/about/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/pages/about/index.tsx -------------------------------------------------------------------------------- /pages/api/echo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/pages/api/echo.tsx -------------------------------------------------------------------------------- /pages/api/echo/[id].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/pages/api/echo/[id].tsx -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/pages/index.tsx -------------------------------------------------------------------------------- /pages/post/[id].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/pages/post/[id].tsx -------------------------------------------------------------------------------- /pages/posts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/pages/posts.tsx -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /styles/error.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/styles/error.module.scss -------------------------------------------------------------------------------- /styles/main.scss: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: 'Roboto', sans-serif; 3 | } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vladilenm/next-crash-course/HEAD/tsconfig.json --------------------------------------------------------------------------------