From a260cb63b74e097374becec26b6ba488ba263b72 Mon Sep 17 00:00:00 2001 From: Sindre Kjelsrud Date: Wed, 13 Sep 2023 09:37:55 +0200 Subject: [PATCH] :bricks: added backend Co-authored-by: haraldnilsen --- backend/Program.cs | 2 ++ backend/backend.csproj | 10 ++++++++++ .eslintrc.cjs => frontend/.eslintrc.cjs | 0 .prettierrc.json => frontend/.prettierrc.json | 0 index.html => frontend/index.html | 0 package.json => frontend/package.json | 0 postcss.config.js => frontend/postcss.config.js | 0 .../public}/arrow-down-up-svgrepo-com.svg | 8 ++++---- {public => frontend/public}/vite.svg | 0 {src => frontend/src}/App.css | 0 {src => frontend/src}/App.tsx | 0 {src => frontend/src}/api/fetchMovie.ts | 0 {src => frontend/src}/assets/react.svg | 0 {src => frontend/src}/components/MovieForm/index.tsx | 0 {src => frontend/src}/components/MovieModal/index.tsx | 0 {src => frontend/src}/components/MovieTable/index.tsx | 0 .../src}/components/MovieTableRow/index.tsx | 0 {src => frontend/src}/components/Pagination/index.tsx | 0 {src => frontend/src}/components/Pagination/styles.css | 0 .../src}/components/PaginationButton/index.tsx | 0 .../src}/components/PaginationButton/styles.css | 0 {src => frontend/src}/components/index.ts | 0 {src => frontend/src}/main.tsx | 0 {src => frontend/src}/types/movie.ts | 0 {src => frontend/src}/vite-env.d.ts | 0 tailwind.config.js => frontend/tailwind.config.js | 0 tsconfig.json => frontend/tsconfig.json | 0 tsconfig.node.json => frontend/tsconfig.node.json | 0 vite.config.ts => frontend/vite.config.ts | 0 29 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 backend/Program.cs create mode 100644 backend/backend.csproj rename .eslintrc.cjs => frontend/.eslintrc.cjs (100%) rename .prettierrc.json => frontend/.prettierrc.json (100%) rename index.html => frontend/index.html (100%) rename package.json => frontend/package.json (100%) rename postcss.config.js => frontend/postcss.config.js (100%) rename {public => frontend/public}/arrow-down-up-svgrepo-com.svg (99%) rename {public => frontend/public}/vite.svg (100%) rename {src => frontend/src}/App.css (100%) rename {src => frontend/src}/App.tsx (100%) rename {src => frontend/src}/api/fetchMovie.ts (100%) rename {src => frontend/src}/assets/react.svg (100%) rename {src => frontend/src}/components/MovieForm/index.tsx (100%) rename {src => frontend/src}/components/MovieModal/index.tsx (100%) rename {src => frontend/src}/components/MovieTable/index.tsx (100%) rename {src => frontend/src}/components/MovieTableRow/index.tsx (100%) rename {src => frontend/src}/components/Pagination/index.tsx (100%) rename {src => frontend/src}/components/Pagination/styles.css (100%) rename {src => frontend/src}/components/PaginationButton/index.tsx (100%) rename {src => frontend/src}/components/PaginationButton/styles.css (100%) rename {src => frontend/src}/components/index.ts (100%) rename {src => frontend/src}/main.tsx (100%) rename {src => frontend/src}/types/movie.ts (100%) rename {src => frontend/src}/vite-env.d.ts (100%) rename tailwind.config.js => frontend/tailwind.config.js (100%) rename tsconfig.json => frontend/tsconfig.json (100%) rename tsconfig.node.json => frontend/tsconfig.node.json (100%) rename vite.config.ts => frontend/vite.config.ts (100%) diff --git a/backend/Program.cs b/backend/Program.cs new file mode 100644 index 0000000..3751555 --- /dev/null +++ b/backend/Program.cs @@ -0,0 +1,2 @@ +// See https://aka.ms/new-console-template for more information +Console.WriteLine("Hello, World!"); diff --git a/backend/backend.csproj b/backend/backend.csproj new file mode 100644 index 0000000..f02677b --- /dev/null +++ b/backend/backend.csproj @@ -0,0 +1,10 @@ + + + + Exe + net7.0 + enable + enable + + + diff --git a/.eslintrc.cjs b/frontend/.eslintrc.cjs similarity index 100% rename from .eslintrc.cjs rename to frontend/.eslintrc.cjs diff --git a/.prettierrc.json b/frontend/.prettierrc.json similarity index 100% rename from .prettierrc.json rename to frontend/.prettierrc.json diff --git a/index.html b/frontend/index.html similarity index 100% rename from index.html rename to frontend/index.html diff --git a/package.json b/frontend/package.json similarity index 100% rename from package.json rename to frontend/package.json diff --git a/postcss.config.js b/frontend/postcss.config.js similarity index 100% rename from postcss.config.js rename to frontend/postcss.config.js diff --git a/public/arrow-down-up-svgrepo-com.svg b/frontend/public/arrow-down-up-svgrepo-com.svg similarity index 99% rename from public/arrow-down-up-svgrepo-com.svg rename to frontend/public/arrow-down-up-svgrepo-com.svg index 4664f59..cf34872 100644 --- a/public/arrow-down-up-svgrepo-com.svg +++ b/frontend/public/arrow-down-up-svgrepo-com.svg @@ -1,5 +1,5 @@ - - - - + + + + \ No newline at end of file diff --git a/public/vite.svg b/frontend/public/vite.svg similarity index 100% rename from public/vite.svg rename to frontend/public/vite.svg diff --git a/src/App.css b/frontend/src/App.css similarity index 100% rename from src/App.css rename to frontend/src/App.css diff --git a/src/App.tsx b/frontend/src/App.tsx similarity index 100% rename from src/App.tsx rename to frontend/src/App.tsx diff --git a/src/api/fetchMovie.ts b/frontend/src/api/fetchMovie.ts similarity index 100% rename from src/api/fetchMovie.ts rename to frontend/src/api/fetchMovie.ts diff --git a/src/assets/react.svg b/frontend/src/assets/react.svg similarity index 100% rename from src/assets/react.svg rename to frontend/src/assets/react.svg diff --git a/src/components/MovieForm/index.tsx b/frontend/src/components/MovieForm/index.tsx similarity index 100% rename from src/components/MovieForm/index.tsx rename to frontend/src/components/MovieForm/index.tsx diff --git a/src/components/MovieModal/index.tsx b/frontend/src/components/MovieModal/index.tsx similarity index 100% rename from src/components/MovieModal/index.tsx rename to frontend/src/components/MovieModal/index.tsx diff --git a/src/components/MovieTable/index.tsx b/frontend/src/components/MovieTable/index.tsx similarity index 100% rename from src/components/MovieTable/index.tsx rename to frontend/src/components/MovieTable/index.tsx diff --git a/src/components/MovieTableRow/index.tsx b/frontend/src/components/MovieTableRow/index.tsx similarity index 100% rename from src/components/MovieTableRow/index.tsx rename to frontend/src/components/MovieTableRow/index.tsx diff --git a/src/components/Pagination/index.tsx b/frontend/src/components/Pagination/index.tsx similarity index 100% rename from src/components/Pagination/index.tsx rename to frontend/src/components/Pagination/index.tsx diff --git a/src/components/Pagination/styles.css b/frontend/src/components/Pagination/styles.css similarity index 100% rename from src/components/Pagination/styles.css rename to frontend/src/components/Pagination/styles.css diff --git a/src/components/PaginationButton/index.tsx b/frontend/src/components/PaginationButton/index.tsx similarity index 100% rename from src/components/PaginationButton/index.tsx rename to frontend/src/components/PaginationButton/index.tsx diff --git a/src/components/PaginationButton/styles.css b/frontend/src/components/PaginationButton/styles.css similarity index 100% rename from src/components/PaginationButton/styles.css rename to frontend/src/components/PaginationButton/styles.css diff --git a/src/components/index.ts b/frontend/src/components/index.ts similarity index 100% rename from src/components/index.ts rename to frontend/src/components/index.ts diff --git a/src/main.tsx b/frontend/src/main.tsx similarity index 100% rename from src/main.tsx rename to frontend/src/main.tsx diff --git a/src/types/movie.ts b/frontend/src/types/movie.ts similarity index 100% rename from src/types/movie.ts rename to frontend/src/types/movie.ts diff --git a/src/vite-env.d.ts b/frontend/src/vite-env.d.ts similarity index 100% rename from src/vite-env.d.ts rename to frontend/src/vite-env.d.ts diff --git a/tailwind.config.js b/frontend/tailwind.config.js similarity index 100% rename from tailwind.config.js rename to frontend/tailwind.config.js diff --git a/tsconfig.json b/frontend/tsconfig.json similarity index 100% rename from tsconfig.json rename to frontend/tsconfig.json diff --git a/tsconfig.node.json b/frontend/tsconfig.node.json similarity index 100% rename from tsconfig.node.json rename to frontend/tsconfig.node.json diff --git a/vite.config.ts b/frontend/vite.config.ts similarity index 100% rename from vite.config.ts rename to frontend/vite.config.ts