Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodsoman committed Sep 10, 2023
2 parents 7c8e5af + d77fc20 commit bf4d91d
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 50 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
73 changes: 23 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,43 @@
# Getting Started with Create React App
# Movie-App

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

## 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`
Welcome to Movie-App! This web application allows you to make your movie discovery experience enjoyable and user-friendly. It provides a curated list of popular movies by default and allows you to search for specific movies matching your keywords.

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

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
- **Popularity List:** The default view presents a list of movies sorted by popularity.
- **Search:** Use the search feature to find movies based on your keywords.
- **Rating Indicators:** Movies are equipped with rating indicators - green for 8 or above, orange for 5 or above, and red for below 5.
- **Responsive Design:** Enjoy a seamless user experience across various screen sizes, from mobile to desktop.

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

### `npm run eject`
To use this project, you'll need to have React installed. Follow these steps:

**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.
1. Clone the repository.
2. Navigate to the project directory.
3. Run the following command to install dependencies:
npm install
4. Start the development server:
npm start

This project is created using Create React App, which provides a robust development environment.

## Learn More

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

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
## Contributing:
- If you would like to contribute to the project, please fork the repository and submit a pull request with your changes.

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)
## License:
- This project is licensed under the MIT License.

### 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)
15 changes: 15 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,21 @@ header {
display: flex;
justify-content: center;
align-items: center;
<<<<<<< HEAD
height: 55px;
padding: 0.8rem 0;
cursor: pointer;
margin-bottom: 4px;
box-shadow: 0px 0px 2px rgba(0, 255, 255, 0),
0px 2px 4px rgba(0, 255, 255, 0.5), 0px 4px 8px rgba(0, 255, 255, 0.5),
=======
height: 65px;
padding: 0.5rem 0;
cursor: pointer;
margin-bottom: 4px;
box-shadow: 0px 0px 2px rgba(0, 255, 255, 0),
0px 2px 4px rgba(0, 255, 255, 0.762), 0px 4px 8px rgba(0, 255, 255, 0.5),
>>>>>>> d77fc20af3640404326e5f4385f9fad7b85384a6
0px 8px 16px rgba(0, 255, 255, 0.5);
}

Expand Down Expand Up @@ -517,8 +526,14 @@ footer {
}

.glowing-txt {
<<<<<<< HEAD
margin-right: 0.4em;
margin-left: 0.5rem;
=======
margin-right: 17px;
margin-right: 0.4em;
margin-left: 0.7rem;
>>>>>>> d77fc20af3640404326e5f4385f9fad7b85384a6
}

.nav-links button {
Expand Down

0 comments on commit bf4d91d

Please sign in to comment.