bb1100 / ravenous

Codecademy React.js project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project was bootstrapped with 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 to view it in the browser.

The page will reload if you make edits.
You will 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 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 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.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: 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

Making a Progressive Web App

This section has moved here: 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

Deployment

This section has moved here: 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


NOTES FOR RAVENOUS PROJECT PART 4: Congratulations! You’ve completed the Ravenous project!

You’ve come a long way. You started the project by:

Hard coding business information Simulating a list of businesses Simulating a query to the Yelp API Now, your project is at a state where all of these initial issues have been solved. You can now search the Yelp API for restaurants that match a search option!

Over the course this project, you utilized the React library, importing and exporting components, the Yelp API, props, and more to achieve a fully functioning Yelp-like clone.

You should be proud of how far you’ve come. As you continue towards your goal of building front-end web apps, you’ll continue to use many of these foundational skills as you learn more challenging and advanced concepts.

We suggest that you push your React knowledge by adding features to Ravenous. This will allow you to not only reinforce your new skills, but create something unique and exciting in the process. We’ve provided a few ideas for how to improve Ravenous in the hint below, but now that you know how to code, you can implement any feature you want!

Once again, congratulations on a successful project and thank you for all of the hard work you put into this project. Enjoy!

Below is a list of some potential features to add to Ravenous:

Make addresses clickable and have them open the address in Google Maps in a new tab Make images clickable and have them open the business’ website in a new tab Clicking on a different sorting option automatically requeries the Yelp API, rather than having to manually click “Let’s Go” again Implement your own type of sort (for example, by entering a distance or radius from a central location) Allow you to search by pressing “Enter” (or “Return”) on your keyboard, as opposed to manually clicking Add autocompletion of addresses to the “Location” input

About

Codecademy React.js project


Languages

Language:JavaScript 67.1%Language:CSS 22.8%Language:HTML 10.2%