Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

📱Choose your iPhone is a screen showing multiple phone to choose. When you pick a colour or capacity the image will change and the prices will update.

License

Notifications You must be signed in to change notification settings

PyColors/choose-your-iPhone

Repository files navigation

Choose your iPhone Build Status

N|Solid

Choose your iPhone is a screen show multiple phone to choose. When you pick a colour or capacity the image will change and the prices will update.

Tech

Choose your iPhone uses a number of open source projects to work properly:

  • React - A JavaScript library for building user interfaces
  • MUI - A lightweight CSS framework
  • Webpack - Bundle assets scripts
  • Eslint - Pluggable JavaScript linter
  • Babel - The compiler for writing next generation JavaScript

And of course Choose your iPhone itself is open source with a public repository on GitHub.

Installation

Choose your iPhone requires Node.js v6+ to run.

Install the dependencies and devDependencies.

$ cd Choose your iPhone
$ npm install

Start the server

Start the local server on with livereload by webpack: port:8080

$ npm run dev

Test

Runs the test.
$ jest or npm test
Runs the test watcher in an interactive mode.
$ jest --watch or npm test --watch
To generate code coverage reports.
$ jest --coverage

For production

Builds JavaScript, images, and, CSS or SCSS files for production to the dist folder. It correctly bundles React in production mode and optimizes the build for the best performance.

$ npm run build

I like Cloud9 and if you are using for your projects. You will get an error message like: Invalid Host header The installations of webpack-dev-server on cloud9 generate this message as he uses HTTPS. Getting webpack-dev-server to run on cloud9 and resolve this issue.

  1. Go to webpack folder
  2. Open 'dev.js'
  3. Then, put your URL workspace project from cloud9 here, without trailing slash.

License

MIT

Free Software, Hell Yeah!

About

📱Choose your iPhone is a screen showing multiple phone to choose. When you pick a colour or capacity the image will change and the prices will update.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /