Giter Site home page Giter Site logo

satoshi-testaccount / magic-8-ball Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luigi055/magic-8-ball

0.0 0.0 0.0 135 KB

React App with a mini REST api made with Node.js and Express.js base on Magic 8 Ball

Home Page: https://magic-8-ball-app.herokuapp.com/about

JavaScript 65.85% CSS 26.34% HTML 7.80%

magic-8-ball's Introduction

Magic 8 Ball App

Magic 8 Ball is a simple web application that represents the original toy with the same answers for both English and Spanish options. The Magic 8-Ball is a toy used for fortune-telling or seeking advice, developed in the 1950s and manufactured by Mattel. It is often used in fiction since the answer can sometimes be accurate, inaccurate, or statistically improbable.

Know more about Magic 8 ball

Motivation and Inspiration

Since i was a kid. i've always wanted to have a Magic 8 ball. so a couple a weeks surfing in the internet i saw a magic 8 ball again and i thought "hey it's a good chance to make one by my own" i also wanted to try a simple integration frontend-backend and have the oportunity to use create-react-app and refresh knowledge on the prop-types library which i used to use it a lot before it was separate from the core react library. in the rest api.there are 2 GET request that bring all the options. one in English and the other one in Spanish. and fetch all the options from react depending the selected language via AJAX using axios and async/await

Repository

https://github.com/luigi055/Magic-8-Ball

Project URL

Full App on Heroku https://magic-8-ball-app.herokuapp.com/

Table of contents

Tech Stack

  • Full Integration App
    • Concurrently
    • Creat React App
  • Webpack / React.js
    • React.js
    • React DOM
    • Create-react-app
    • axios
    • prop-types
    • react-animate-on-change
    • React Router DOM
  • Mini REST api (Node.js)
    • Express.js
    • body-parser

Visual Studio Code Extensions

  • Babel ES6 / ES7
  • Beautify css/sass/scss/less
  • Color Highlight
  • ESLint
  • expand-region
  • Git History (git log)
  • open in browser
  • prettier - javascript formatter
  • stylelint

OS Compatibility

This boilerplate is thought to be use in multi platform specificlly in windows 7, 8, 10, linux (tested in ubuntu, antergos), and in OSX.

any problem related with Operating System please i'll be glad to know about it. so, create an issue.

Installation

First step clone this repo

$git clone https://github.com/luigi055/Magic-8-Ball.git

And then dependning wheather you use npm or yarn

Case using yarn:

$cd magic-8-ball && yarn

Case using npm

$cd magic-8-ball && npm install

Global Packages

In order to have all the power of this boilerplate you can donwload the following packages

React

using the latest verison of react which is React Fiber or React V16 with also react-router-dom.

Production

$yarn run start

Clearing Public Folder

There's an easy way to remove the public folder via npm or yarn script. sometimes we need to build it and we forget or ir annoying being removing it manually so you can remove this using the following script

$yarn run clear

Software Used

Author

License

This project is licensed under the MIT License.

magic-8-ball's People

Contributors

luigi055 avatar satoshi-testaccount 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.