Code Monkey home page Code Monkey logo

apple-react-function-based's Introduction

Apple-Clone

Apple.com clone web app that is built using React.js and Node.js

Motivation

I wanted to recreate the apple.com website using node for my back end and react for my front end.

Description

For the back end, I used Express for my server and MySql for my database. My REST-API is serving the iphone page from the database.

For the front end, I wanted to make the current apple.com better by using a third party API from Google Cloud, specifically youTube, and incorporating it to the website, so anyone can have access to Apple's youTube channel straight from the website.

Build Status

Live: here on Heroku.

Stack

  • Node
  • Express
  • React
  • MySql

APIs

  • YouTube from Google Cloud click

Requirements

  • Node
  • Nodemon

Setup

  • clone to computer using:
git clone https://github.com/birukkebede11/apple-react-function-based.git
  • run npm install from inside the backEnd directory AND the client directory.
cd backEnd
npm install
cd ../client
npm install

Note: you will need api key from the google cloud and Apple's youTube channel ID.

Create a .env file in the client directory:

REACT_APP_API_KEY=<your_youTube_api_key>
REACT_APP_CHANNEL_ID=<your_channel_id>
  • From inside backEnd folder type (requires Nodemon) to start server and client:
npm run dev

You can also just run the server for development:

npm run server

You can also just run the client for development:

npm run client

apple-react-function-based's People

Contributors

birukkebede11 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.