Coder Social home page Coder Social logo

sidra's Introduction

SIDRA

This is a simple Electron + React.js template (with live reload). It was designed to work without the need of a development server running in the background, like so many other templates, and it's hence free of cross domain request constraints (CORS).

Installing

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/itsarisid/Sidra.git my-app
# Go into the repository
cd my-app
# Install dependencies
npm install

Running

npm run start

Testing

The tool of choice is Jest as used at Facebook. Create files with the extension *.test.js and they will be run through

npm run test

Packaging

Replace the icon inside the build folder and run

npm run release

Check the dist folder for the app

How Electron Works with React

This template compiles all *.js files in src into standard JS and copies it to app. There it includes *.html and *.css together with the main.js start file. From then it runs and packages using gulp as run through npm.

Extending the Template

Some useful tools include:

  1. Spectron
  2. Karma + Jasmine
  3. Ant Design (a React based UI Framework)

Copyright

The template is made available through the Creative Commons Licence. The logo icon was provided by Vecteezy.

sidra's People

Contributors

itsarisid avatar

Stargazers

 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.