Code Monkey home page Code Monkey logo

the-yummy-pizza-ionic's Introduction

The Yummy Pizza Frontend Web Application

The Yummy Pizza is a simple pizza delivery web application built with Ionic.

*** Important Notes: The demo only include Munich city in deliver coverage area.

Features

  • Pizza ordering system.
  • Login/Register is not necessary.
  • View order history with details.

TODO:

  • Improve validation of each form.
  • Improve the UI & UX.
  • Any other useful features.

Tech

The Yummy Pizza uses a number of open source technologies that are good for rapid prototyping at minimum cost:

Installation

Install the dependencies and devDependencies and start the app using npm.

$ cd the-yummy-pizza-ionic
$ npm install
$ npm start

Deploying to Firebase Hosting

Using Firebase Hosting, we can deploy our application's static files (HTML, CSS, JavaScript, etc) to the web with a single command. To get started, we'll download firebase-tools via npm:

$ npm install -g firebase-tools

Read through firebase hosting quickstart to get your site up and running in minutes.

Then, run the following commands:

$ firebase init

Then choose the name of the Firebase app you're deploying and enter www when prompted for your public directory. This will generate a firebase.json file. Update the file to include the following rewrites and headers configuration:

{
  "hosting": {
    "public": "www",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ],
    "headers": [
      {
        "source": "/build/app/**",
        "headers": [
          {
            "key": "Cache-Control",
            "value": "public, max-age=31536000"
          }
        ]
      },
      {
        "source": "ngsw-worker.js",
        "headers": [
          {
            "key": "Cache-Control",
            "value": "no-cache"
          }
        ]
      }
    ]
  }
}

Deploy your app by running the command:

$ npm run build:firebase:prod

Note that you can use any hosting service you'd like to deploy The Yummy Pizza web app, you don't need to use Firebase Hosting.

Companion apps

These are the other components associated with this project.

App Repo
Server-side API https://github.com/ljieyao/the-yummy-pizza-laravel

License

MIT

the-yummy-pizza-ionic's People

Contributors

ljieyao avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

aichouramine

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.