This repository contains a very simple demonstration web application that manages a list of TO DOs, made with the Electro framework.
Although this is not a Javascript framework, we liked the concept behind TodoMVC, so we decided to create an example application for Electro that uses the same template and operation logic.
- PHP >= 5.6
- Composer
- Npm
- PHP Extensions:
- PDO
- CURL
- Mcrypt
- GD2
Electro uses Composer to manage its dependencies. So, before using Electro, you will need to make sure you have Composer installed on your machine.
This example uses Npm to manage its dependencies. So, before using the example, you will need to make sure you have npm installed on your machine.
One way to do it is using the command-line:
git clone https://github.com/electro-framework/todomvc.git
cd todomvcOn your project's root directory, type:
composer installIf you don't have Bower installed on your machine, the command will show an error message during installation. You may ignore it, as Bower is not required for this project.
On your project's root directory, type:
bin/workman initYou can use an Apache Web Server you have already installed, or you may use Electro's built-in web server.
On your project's root directory, type:
bin/workman server:startOpen the web application on your browser at http://localhost:8000.
If you are using the built-in werb server and you are done using the application, you may run the
bin/workman server:stopcommand to stop it.
The Electro framework is open-source software licensed under the MIT license.
Electro framework - Copyright © Cláudio Silva and Impactwave, Lda.