Giter VIP home page Giter VIP logo

jsblocks-seed's Introduction

jsblocks-seed

Starting template for jsblocks project

Run the project

  • Clone the repository or directly download it from here
git clone https://github.com/astoilkov/jsblocks-seed.git
  • Install dependencies. Navigate to the folder and run:
npm install
  • Run the application
npm start

Server-side rendering

The rendering is enabled by running app.js file which creates an express application. The command below executes node app.js and then navigates to http://localhost:8000 in your browser.

npm run node

Application structure

app directory

The app directory contains all files needed to run the application. The idea is to be able to use the app folder individually without the need of the files in the root directory:

js/             --> Place all your JavaScript files here. Recommended: use bower for external libraries
css/            --> Place all your CSS files here. Recommended: use bower for external libraries
views/          --> Place all your jsblocks application views(.html files)
index.html      --> Main application file. Include all your views from the views/ folder here
bower.json      --> Manages bower components. For more information about bower visit http://bower.io

root directory

The root directory contains project helper files:

app.js          --> The code used to run the application with server-side rendering
package.json    --> Manages npm packages. For more information about npm visit http://npmjs.com
.gitignore      --> File describing which files and folders to be skipped when pushing to GitHub
README.md       --> This file
LICENCE         --> The licence of this project

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.