Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Movie DB website #56

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9130408
Initial commit create react app
KristianSkog Oct 2, 2022
3fbcc9a
Added fetch to themoviedb api
KristianSkog Oct 3, 2022
76b4c65
Created two new components for displaying movies
KristianSkog Oct 3, 2022
1ce3fc6
Added material-ui
KristianSkog Oct 4, 2022
988b1f3
Updated moviecard and moviegrid components with material ui design
KristianSkog Oct 4, 2022
b6bac25
Added react-router
KristianSkog Oct 5, 2022
7dadcf3
Added react-router to movie components
KristianSkog Oct 5, 2022
a3374c0
Added eslint and prettier
KristianSkog Oct 6, 2022
30c3d6b
Improved react router with new page layout
KristianSkog Oct 7, 2022
653ccdc
Eslint exists in react-scripts so removed it from package.json
KristianSkog Oct 7, 2022
711341b
Prettier updated index.js quotations from single to double
KristianSkog Oct 7, 2022
9105580
Added functionality to load more movies
KristianSkog Oct 8, 2022
966dc7d
Fix load more button displaying when loader is visible
KristianSkog Oct 8, 2022
8b94645
Removed unused code inside of Error Page
KristianSkog Oct 8, 2022
b448191
Removed css files and added global styling using Material UI global s…
KristianSkog Oct 9, 2022
ff2fe0c
Removed unused code from PageLayout
KristianSkog Oct 9, 2022
6c8d8ab
Improved fetch code and added new top rated view
KristianSkog Oct 9, 2022
b4367d7
Centered load more button and loading indicator in moviegrid
KristianSkog Oct 9, 2022
39446d9
Removed console.log from api/index.js
KristianSkog Oct 9, 2022
1478956
Updated Navbar code and design
KristianSkog Oct 9, 2022
f592606
Pind node version in package.json using volta node manager
KristianSkog Oct 10, 2022
4e3893d
Updated README
KristianSkog Oct 10, 2022
1d06413
Updated navbar styling and added mobile menu
KristianSkog Oct 10, 2022
45226d6
Updated MovieCard design
KristianSkog Oct 10, 2022
be429c0
Removed container from pageLayout
KristianSkog Oct 10, 2022
7c7c124
Movie grid code update and added container
KristianSkog Oct 10, 2022
61d4366
Movie detailed view big design and code update
KristianSkog Oct 10, 2022
e8ab8b4
Updated LoadingIndicator design
KristianSkog Oct 10, 2022
793ab86
Small code update Error Page
KristianSkog Oct 10, 2022
44e39af
Code update inside app.js
KristianSkog Oct 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:jsx-a11y/recommended",
"react-app",
"react-app/jest",
"prettier"
],
"rules": {
"react/prop-types": 0,
"react/react-in-jsx-scope": 0
},
"plugins": ["react", "import", "jsx-a11y"],
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"]
}
}
}
}
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
76 changes: 75 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,78 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Tools

Node v16.17.1

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

# Work sample - Application developer

## Assignment
Expand Down Expand Up @@ -41,4 +116,3 @@ Also send us an e-mail to let us know!
### Good luck!

---

Loading