From 2d83491839070e438de545808e70bdbf2bb9c782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Viricel?= Date: Mon, 7 Dec 2020 18:29:31 +0100 Subject: [PATCH] Add notes to README + Add redirects for Netlify + Reference Node engine in package.json --- .nvmrc | 1 + README.md | 9 +++++---- public/_redirects | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .nvmrc create mode 100644 public/_redirects diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..6665a53 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +13.12.0 diff --git a/README.md b/README.md index b48a384..7400cb2 100644 --- a/README.md +++ b/README.md @@ -29,16 +29,17 @@ You've been given the task of creating a simple application with create/read/del ### If you had more time, what would you improve/do differently? - - Use AntD + - Use AntD (or any CSS Framework) - CSS Module - Form Validations - Page Transitions - Loading State + - Setup environment variables + - Setup API proxy with Axios - More Accessibility - Component Lazy Loading - - Optimizations: - - Inject axios globally as $http. - - More test + - Inject axios globally as $http. + - More test ### How much time (more or less) it took you to complete the task? diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..75ae215 --- /dev/null +++ b/public/_redirects @@ -0,0 +1,2 @@ +# Netlify settings for single-page application +/* /index.html 200 \ No newline at end of file