Skip to content

carrari/frontpress

 
 

Repository files navigation

FrontPress

A full front-end AngularJS template for WordPress API.

<p align="center">
    <a href="https://gitter.im/teles/frontpress?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge">
        <img src="https://badges.gitter.im/teles/frontpress.svg" alt="Join the chat at https://gitter.im/teles/frontpress">
    </a>
    <a href="https://www.codacy.com/app/josetelesmaciel/frontpress?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=teles/frontpress&amp;utm_campaign=Badge_Grade">
        <img src="https://api.codacy.com/project/badge/Grade/8da469f973d143189c352cdd852d23ca" alt="Codacy Badge">
    </a>
</p>

--

It's not another WordPress theme! It's a full website using WordPress API! I can't believe, sweet lord!! 🙌

Table of contents

Download, install and config

First of all, make sure you have installed the main dependencies:

# Clone or fork this repository. 
# If you wanna clone, run:
$ git clone [email protected]:teles/frontpress.git

# Install the dependencies
$ npm i && bower i
First time running the app:

Just run the command below and we'll create a configuration file called frontpress.json.

You may find more information about frontpress.json here.

$ gulp init

Run this to use the Angular Template Cache:

$ gulp templateCache
If you already have a configuration file: 🎉

If your fronpress.json file is already configured, just run the app:

$ gulp

Wait a few, and it will open a new tab on your browser.

Goals

Tests

Initial configurations
# Install a NodeJS version 5.0+ using nvm.
$ nvm install 5.0

# Using the installed version
$ nvm use 5.0
  • Then, run the command below to execute all the tests.
$ karma start
  • To run the tests while writing the code, just add the flag --no-single-run.

Wordpress Rest API

We support these versions of WordPress Rest API.

  • 1.1
  • 1.2
  • 2.0

License

MIT © Teles

About

⚡ Full front-end AngularJS template for WordPress API.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 92.9%
  • HTML 7.1%