Git Product home page Git Product logo

bitbrew-console's Introduction

BitBrew Console

Console for BitBrew's second-generation connected vehicle platform.

Supported Browsers

We aim to support most modern browsers, which currently includes:

Please note that Internet Explorer is not on this list!

We officially support the last 3 versions of each browser listed. The app may work in other browsers and versions, but it's not guaranteed.

Project Overview

This app uses a few pieces of tech worth highlighting:

Other noteable tooling includes:

  • Browserslist keeps a centralized list of supported browsers that can be accessed across tools.
  • Babel compiles future JavaScript to current, well-supported JavaScript.
  • ESLint and stylelint check for errors and consistent code style.
  • Prettier automatically formats a variety of file types, allowing for consistent code formatting throughout the project.
  • webpack builds the app.

Additional libraries are used as necessary but aren't listed here to keep the length reasonable. You can always find them in the package.json file.

Development Workflow

Before you can start developing, you'll need to run git clone [email protected]:pdhoopr/bitbrew-console.git to copy the repository to your computer.

After cloning your repo, you'll want to navigate into the repository folder and run yarn install to download the project's dependencies.

Note: Yarn is a package for managing dependencies, much like npm. You could use npm instead, but then Yarn wouldn't track any changes to dependencies in the yarn.lock file. So, just go ahead and use Yarn for everything in this project. It's recommended to install Yarn using an OS-specific method (e.g., brew install yarn), but you can install it via npm, too (i.e., npm install --global yarn).

Once you've installed the dependencies, you can make use of the available npm scripts to help you develop the app by running yarn <SCRIPT_NAME> in your terminal. The one that is probably most immediately relevant is yarn start, which runs a development version of the app locally. Once the app is finished compiling, the URLs you can access it at will be listed in the terminal.

Note: For security-related reasons, the app needs to appear as though it's running on a subdomain of bitbrew.com. This is accomplished by editing your computer's hosts file, usually by running a command like sudo nano /etc/hosts. You might have to enter your password to open the file. Once it's open, add a new line to the file like 127.0.0.1 local.bitbrew.com. Just make sure the domain you use for this line matches whatever domain is shown in the "Local" section of the terminal output.

You can always find the entire list of scripts in the package.json file. Some other useful ones are:

  • build: Builds a production version of the app that is suitable for deployment.
  • check:css: Runs Stylelint on all the CSS (styled-components) in the project.
  • check:format: Lists any files that aren't formatted as Prettier would like them to be.
  • check:js: Runs ESLint on all the JavaScript in the project.
  • ci: Runs all checks and builds the app if they pass.
  • format: Runs Prettier on all project files supported by Prettier.

bitbrew-console's People

Contributors

pdhoopr avatar

Watchers

 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.