Code Monkey home page Code Monkey logo

star-wars-dashboard's Introduction

Star Wars Dashboard

Greenkeeper badge

Getting Started

Requirements

To get started first you should either clone or download the repository.

You should also have node.js and npm installed on your computer.

To download the node.js just click on the link, usually npm is installed along with node.js.

Installing

The first step you must follow to run the project is to install all its dependencies.

The following commands should do this for you.

npm install

Gulp.js tasks

List of tasks included in tasks.

  • images.js responsible for copying and optimizing images to the dist / assets / images folder.
  • javascripts.js concatenates all files included in app / src / ** / *. js, compiles and generates a mined bundle.
  • pug.js concatenates all files included in app / static / templates / ** / *. pug, compiles and generates final HTML.
  • server.js starts local server with Browser Sync.
  • stylus.js compiles .styl files to .css.
  • watch.js notes code changes.

Starting with Gulp.js

In this project gulp.js is used to automate routine tasks.

Commands to start your gulpfile.babel.js.

  • gulp to execute the default task.
  • gulp images to optimize images
  • gulp javascripts to compile .js files
  • gulp pug to compile .pug files
  • gulp browserSync to start the local server
  • gulp stylus to compile .styl files
  • gulp watch to start observer of code changes

Or you can simply type

npm run start
  • After starting the gulp default task or using npm run start, two links will be available to access the project.

Run ESLint

This project uses ESLint to catch errors in the Javascript file code.

To run ESLint.

npm run lint

Structure of the app folder

Below the folder structure.

├── app
│   ├── src
│   │    ├── components
│   │    ├── utils
│   │    └── app.js
│   └── static
│        ├── images
│        │    └── svg
│        ├── stylesheets
│        │    ├── base
│        │    ├── components
│        │    ├── config
│        │    ├── layout
│        │    │     ├── includes
│        │    │     ├── section
│        │    │     └── views
│        │    └── application.styl
│        └── templates
│               ├── components
│               ├── includes
│               ├── mixins
│               ├── views
│               └── index.pug

Developed with

Development

This project was developed with <3 and Javascript.

Credits

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.