GithubHelp home page GithubHelp logo

pizzalab's Introduction

PizzaLab

An Angular 6 application developed for my internship project at Sync Lab S.l.r..

Abstract

PizzaLab is a web application aimed to help any local take-away pizza shop.

It lets users register new orders, set-up deliveries with Google Maps integration, manage the product inventory and keep tracks of past orders.

Installation

To run or extend the project there are just a few steps required:

  1. Download or clone this repository;

  2. Make sure you have a valid npm and Angular installation. Check out the respectives documentations here and here.

  3. From the root folder, run (may take some time):

    npm install
    
  4. Important: open the file /src/index.html and change YOUR_API_KEY in

    <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places"></script>
    

    with a valid Google Maps API Key. Check out the official documentation here form more information on how to get one.

The application is supposed to work with a fully functional RESTful back-end. For development purpose, PizzaLab can (almost entirely) work with a local fake REST API thanks to json-server (check out the official documentation here).

A populated test database is already provided (see the file /db.json). To start json-server, run:

json-server --watch db.json

The addresses for all Http calls are hardcoded and point to the standard address given by json-server: http://localhost:3000/.

Development server

For a dev server, run:

ng serve

Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

To build the project, run:

ng build

The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

pizzalab's People

Contributors

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