https://github.com/n1ghtdev/movies-app
https://github.com/n1ghtdev/movies-app
tmdb-api
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/n1ghtdev/movies-app
- Owner: n1ghtdev
- License: mit
- Created: 2020-08-25T18:01:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T12:30:58.000Z (almost 6 years ago)
- Last Synced: 2025-02-28T15:37:36.474Z (over 1 year ago)
- Topics: tmdb-api
- Language: TypeScript
- Homepage: https://n1ghtdev.github.io/movies-app
- Size: 979 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
`create-react-app` typescript template powered by `husky` and `lint-staged`.
Every time you commit new changes `husky` runs `lint-staged` which configured to run ESLint and Prettier. This way you don't have to worry about code-styling.
## Extend `eslint`
If you need other `eslint` configs or plugins, you can easily add those with `npm` or `yarn` and edit `.eslintrc.json` file.
Read more about [CRA: Extending the ESLint config](https://create-react-app.dev/docs/setting-up-your-editor/#experimental-extending-the-eslint-config).
## Absolute imports
Edit [tsconfig.json](./tsconfig.json) `paths` property to add more absolute import paths:
```json
"paths": {
"@components/*": ["src/components/*"],
"@hooks/*": ["src/hooks/*"]
}
```
## TravisCI
See [example.travis.yml](./example.travis.yml) for some examples.
## Future plans
- [ ] CSS styling guide (styled, emotion, css modules)
## Available Scripts
In the project directory, you can run:
### `yarn start` or `npm start`
Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.
### `yarn test` or `npm test`
Launches the test runner in the interactive watch mode.
### `yarn build` or `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.