/robinhood-react-js

Robinhood Clone Challenge! - React JS build out of Robinhood app account page. Material-UI, FinnHub API.

MIT LicenseMIT

robinhood-react-js

Robinhood ReactJS Clone v1.01 - ReactJS, Material-UI, FinnHub API. Live stock and crypto prices.


App is live at: https://robinhood-react-84145.web.app/


How to:

To code a web app similar to the one at the domain https://robinhood-react-84145.web.app/ using the codebase from https://github.com/KevinRoozrokh/robinhood-react-js, you can follow the following step-by-step guide:

  1. Set up the development environment:

    • Install Node.js and npm (Node Package Manager) if you haven't already.
    • Choose a code editor or integrated development environment (IDE) for development.
  2. Clone the codebase:

    • Open a terminal or command prompt.
    • Navigate to the desired directory where you want to clone the project.
    • Run the following command to clone the repository:
      git clone https://github.com/KevinRoozrokh/robinhood-react-js.git
      
  3. Install dependencies:

    • Navigate into the project directory:
      cd robinhood-react-js
      
    • Run the following command to install the project dependencies:
      npm install
      
  4. Configure the app:

    • Open the project in your code editor.
    • Look for a configuration file or files that contain environment variables or settings, such as .env or config.js.
    • Set any required configuration variables based on your environment (e.g., API keys, endpoints).
  5. Start the development server:

    • Run the following command to start the development server:
      npm start
      
    • This will launch the app in your default web browser, running on http://localhost:3000.
  6. Explore and modify the code:

    • Open the project in your code editor.
    • Explore the directory structure and familiarize yourself with the codebase.
    • Make any necessary modifications or enhancements to meet your requirements.
  7. Test the app:

    • Write and execute tests to ensure the app's functionality works as expected.
    • Use testing frameworks like Jest and React Testing Library for writing and running tests.
  8. Build and deploy the app:

    • Once you are satisfied with your modifications, build a production-ready version of the app.
    • Run the following command to create an optimized build:
      npm run build
      
    • Deploy the built files to a hosting service like Firebase Hosting or another hosting platform of your choice.
  9. Continuously maintain and update the app:

    • Monitor and address any reported issues or bugs.
    • Implement new features or improvements based on user feedback.
    • Keep your dependencies up to date by regularly updating them.

Please note that this guide assumes you have basic knowledge of React.js and how to work with Node.js and npm. Additionally, ensure you have reviewed any documentation or README files provided in the codebase repository to understand any specific instructions or requirements for the Robinhood React app.


To code a web app similar to the one at the domain https://robinhood-react-84145.web.app/ without this codebase, here is a high-level overview of the steps involved. Here's a step-by-step guide:

  1. Set up the development environment:

    • Install Node.js and npm (Node Package Manager) if you haven't already.
    • Choose a code editor or integrated development environment (IDE) for development.
  2. Create a new React app:

    • Open a terminal or command prompt.
    • Navigate to the desired directory where you want to create your project.
    • Run the following command to create a new React app:
      npx create-react-app robinhood-app
      
  3. Configure the app:

    • Once the app is created, navigate into the project directory:
      cd robinhood-app
      
    • Open the project in your code editor.
    • Modify the src directory to build the desired components and functionality for your Robinhood app.
    • Update the public directory with any required static assets (e.g., images, icons, etc.).
    • Modify the public/index.html file to set the correct title and add any necessary meta tags.
  4. Set up routing (if applicable):

    • If your app requires multiple pages or routes, install a routing library such as React Router:
      npm install react-router-dom
      
    • Configure the routes in your app by creating the necessary components and defining the routes in a routing configuration file.
  5. Implement authentication and authorization (if applicable):

    • Determine the authentication mechanism you want to use (e.g., OAuth, Firebase Authentication, etc.).
    • Follow the documentation for your chosen authentication method to implement user sign-up, login, and logout functionality.
    • Handle user authentication state throughout the app.
  6. Connect to a backend (if applicable):

    • Determine the backend services you want to use (e.g., Firebase Realtime Database, Firestore, etc.).
    • Set up the necessary APIs or SDKs to connect your app to the backend services.
    • Implement the required functionality to read and write data to the backend, such as fetching stock data, user portfolio, etc.
  7. Style the app:

    • Use CSS or a CSS framework (e.g., Bootstrap, Tailwind CSS) to style your app.
    • Create or modify the necessary CSS files to achieve the desired visual appearance.
  8. Test the app:

    • Write unit tests and integration tests to ensure the app's functionality is working as expected.
    • Use testing frameworks like Jest and React Testing Library to write and run tests.
  9. Build and deploy the app:

    • Once you are satisfied with your app's functionality and design, build a production-ready version of the app.
    • Run the following command to create an optimized build:
      npm run build
      
    • Deploy the built files to a hosting service like Firebase Hosting or another hosting platform of your choice.
  10. Continuously maintain and update the app:

    • Monitor and address any reported issues or bugs.
    • Implement new features or improvements based on user feedback.
    • Keep your dependencies up to date by regularly updating them.

Please note that this is a simplified overview, and the actual implementation details can vary depending on the specific requirements of your Robinhood app. Make sure to refer to the documentation of the libraries and services you choose to use for more detailed instructions.


Coded by Kevin Roozrokh.

Portfolio: https://kevinroozrokh.github.io/

Github: https://github.com/KevinRoozrokh

Email: KevRooz@Outlook.com


Kevin's Social Media Links:

Github Github.io Linkedin Facebook Instagram Twitter Reddit


Version Notes //

Version v1.00 Code set to private. Lists. Add list. Crypto tabs. Hover effects.

Version v1.01 Added live crypto prices.