Accelerate is a platform for developing and deploying REST-ful APIs as fast as the developers could think of them. It is built on MySQL, Express, Angular 4 and Node implementations, and generates all the necessary models/controllers required for REST. All generated models/controllers are also fully customizable to suit any additional requirements.
- Node, Express, MySQL Database and angular-cli
- ng2-file-upload (https://github.com/valor-software/ng2-file-upload)
- Setup and install MySQL Database, Node, Express and angular-cli
- Javascript and Typescript literacy is preferable
- Download the Accelerate v1.0 repository. (npm & docker packages coming soon...)
- Extract Accelerate into a folder "<your folder name>" of your choice.
- Navigate to the folder "<your folder name>" using
the command line interface and type:
npm install
to install the node dependencies. - Create a new Angular 4 project inside the folder
"<your folder name>" by typing:
ng new <your webapp name>
- Navigate into the folder of "<your webapp name>" and install
ng2-file-upload by typing:
npm install --save ng2-file-upload
- Copy the "w3css.css" file found in the folder "<your folder name>/Angular" into the "<your webapp name>/src" folder
- Edit the ".angular-cli.json" file to include the "w3css.css" file under the scripts tag.
- Compile the Angular 4 project by typing :
ng build
- Copy the contents of the folder "<your folder name>/Angular/src" found in Accelerate into the "<your webapp name>/src/app" folder of your Angular 4 web app. Replace all the files inside the "<your webapp name>/src/app" folder when prompted.
- Compile the Angular 4 project again by typing :
ng build
- Navigate to "<your folder name>/app" and edit the file called settings.js, changing the following values;
- database.host : the address of MySQL Database
- database.user : username for the DB
- database.password : password of the DB
- client.folder : the path to the
dist
folder generated by angular-cli after successfully building the web app
- Run "accelerate-setup.sql" in MySQL database.
- Type:
npm start
from "<your folder name>" to start the server. - Sign-Up (uses passport-local) and start using Accelerate to speed up your development cycles. 🎉
- What the hell is this?
It's a program/bilerplate which will generate generic MVC models for both the front-end and
backsideback-end of your system.
- Who can use this?
Accelerate was designed for both developers and end-users in mind. It was built for
desperate studentsdevelopers off the shelf but with sometwerkingtweaking it can also serve as an end-user system.