Git Product home page Git Product logo

vanilla-js-spa's Introduction

Vanilla Javascript SPA

This project is about adding to my portfolio a Single Page Application(SPA) built with Vanilla Javascript. You can see it in action here.

Screenshots

Home

Home

Search term log

Search term log

Running The project

Considering this project uses ES6 modules - that are subject to Same-origin policy - messing with files requires a local server like live-server(for instance), which can be easily installed on VS Code.

Key features:

  • The app is fully responsive
  • A modularized yet minimalist code base achieved with ES6+ modules and template strings
  • Search log history can be used to trigger same searches again
  • Search log history is precisely dated, showing always the last searches
  • Search log is saved to local storage
  • Searching terms also works in the url
  • Routing between pages keeps navigation history

Project´s intentional restrictions:

  • No Javascript frameworks
  • No DOM/UI libraries such as jQuery or Zepto
  • No bundlers like gulp or webpack
  • No Javascript or CSS processors/transpilers of any nature
  • No package managers like npm or yarn

What was allowed:

  • A CSS framework with a design system approach, since it doesn´t break project´s restrictions
  • Running a local host server(as ES6+ modules require one)
  • A routing library(also in Vanilla JS) for helping on SPA behaviors

vanilla-js-spa's People

Stargazers

Roman avatar

Watchers

James Cloos avatar Renato Lins avatar

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.