Giter VIP home page Giter VIP logo

startcode-2.-sembuja's Introduction

Simple template to create SPA's with plain JavaScript using Babel, Webpack and Webpacks devserver

Getting started

  • If not already done, install nodejs and a sufficient JavaScript Editor (we suggest vs-code)
  • Clone this project
  • In the folder were it was cloned into, type npm install
  • In the folder it was cloned into (if you have installed vs-code) type "code ." to open vs-code
  • In the folder it was cloned into type npm start, to run the project via Webpacks development server
  • A browser window should now open, rendering the project hosted on Webpacks dev-server. You now have a local web server with hot reloading. Any changes made in your code are directly reflected in the browser (How cool is that?)

Supporting video, related to the first use with the Fetch and Promises exercises given in period2, week2.

๐Ÿ“บ Getting started with the Fetch and Promise exercises

Deploy to Nginx

If you have prepared Nginx for hosting this project, you can deploy it using the simple script 'deploy.sh' found in the root of the project Make sure to set the values for XXXX and DROPLET_URL first

Using Bootstrap that requires the Bootstrap JavaScript

To minimize the footprint made by this code, it does not include the JavaScript part of BootStrap. If you need it, follow these steps:

  • In the root of the project type: npm install jquery popper.js
  • In your index.js file, add this import just ABOVE the line that includes the bootstrap.css: import "bootstrap"

startcode-2.-sembuja's People

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.