You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project uses npm. Run the follow to get set up.
37
+
38
+
```
39
+
npm i
40
+
```
41
+
36
42
### Production build of the app
37
43
38
44
To see the app running optimally you can do a production build of the app and see that working locally.
@@ -44,6 +50,8 @@ npm run start
44
50
45
51
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
46
52
53
+
I would advise testing with the production build and using an incognito browser window.
54
+
47
55
### Local development run
48
56
49
57
To benefit from hot reloading while working on the app you can run..
@@ -178,11 +186,12 @@ I had limited time so here are a few other things I would look at..
178
186
- Storybook for individual components - this would actually make working on the components a breeze.
179
187
- Better display for small screens - I would love to put more time into this, I think the search page could be optimised quite nicely for smaller screens
180
188
- You could even add additional image sizes to the api endpoint and use different image sizes for different media queries
181
-
- Optimise our endpoints but reducing the payload size - that is currently data we send to the frontend that isn't used
182
-
- It's not the prettiest web app (I'm not really a designer) again with a bit more time it would be good to put a bit more polish on it terms of looks
189
+
- Optimise our endpoints but reducing the payload size - there is currently data we send to the frontend that isn't used
190
+
- It's not the prettiest web app (I'm not really a designer) again with a bit more time it would be good to put more polish on it terms of looks
183
191
- Add husky to get checks running on push
184
192
- Start to move the components into their own folders and using barrel files. The folders would contain tests, storybook files and other sub-components
185
193
- There is still some opportunity for code reuse in the endpoints and some of the components (such as MovieListItem and MovieDetailsView)
194
+
- Set up a pipeline using github actions and establish a live environment
0 commit comments