GithubHelp home page GithubHelp logo

johnpaulada / wikipedia-viewer Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 68 KB

A Wikipedia Viewer. Built for FreeCodeCamp. Built with Moon, Material Design Lite, Pingy CLI, etc.

Home Page: https://wikipedo-viewer.surge.sh/

HTML 75.18% JavaScript 24.82%
freecodecamp freecodecamp-project freecodecamp-challenge freecodecamp-curriculum wikipedia-viewer moon pingy-cli material-design-lite

wikipedia-viewer's Introduction

Wikipedo

A Wikipedia viewer. Built for FreeCodeCamp.

Codepen: https://codepen.io/jepe-ada/pen/wegERo

forthebadge forthebadge forthebadge

Screenshot

Wikipedo Screenshot

Instructions

Development Instructions

  • Install NPM and Node first if you haven't yet.
  • Install Pingy with npm install -g @pingy/cli.
  • Run npm install and yarn.
  • Run pingy dev to start the development server. This will open the project with hot reloading.

Deployment Instructions

  • Run pingy export. Doing this will create the dist folder.
  • Navigate to the dist folder and deploy however you want.
  • Optional: If you want to deploy with Surge, install Surge first and run surge on this directory.

Directory Structure

  • The images folder contains the images for this README.
  • The scripts folder contains the JS code for the project. You can read the scripts section below for more information.
  • The styles folder contains the CSS code for the project. You can read the styles section below for more information.
  • The dist folder contains the exported files for deployment. This is generated by pingy export.

Scripts

The source script here is main.babel.js. After pingy export, this file and all its dependencies is converted to main.js. To use this in your HTML, you reference this as main.js. So if you have a scripts.babel.js, it is converted to scripts.js, which you reference like so:

<script src="scripts/scripts.js" defer></script>

This main.babel.js contains ES6 code. You can also try Coffeescript, etc. Follow the Pingy link below for more information.

Styles

The source stylesheet here is main.scss. After pingy export, this file and all its dependencies is converted to main.css. To use this in your HTML, you reference this as main.css. So if you have a styles.scss, it is converted to styles.css, which you reference like so:

<link rel="stylesheet" href="styles/styles.css">

This main.scss contains SCSS code. You can also try Sass, Stylus, etc. Follow the Pingy link below for more information.

Stack

  • Frontend UI library: Moon - Like Preact for React but for Vue.
  • Design Library: Material Design Lite - A very simple and lightweight material design library.
  • Build Tool: Pingy - Zero-configuration build tool.
  • Package Manager: Yarn - Like on NPM on steroids.
  • Hosting: Surge - Super fast hosting for static pages.

License

MIT

wikipedia-viewer's People

Stargazers

 avatar

Watchers

 avatar  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.