Giter Site home page Giter Site logo

samcfinan / angular-4-material-pos Goto Github PK

View Code? Open in Web Editor NEW
53.0 9.0 33.0 1.03 MB

POS written in Angular 4 with Angular Material UI

Home Page: https://angularpos.samfinan.com

License: MIT License

TypeScript 68.18% JavaScript 2.47% HTML 19.32% CSS 10.04%
angular angular4 firebase pos angular-material2 firebase-database firestore firebase-auth crud

angular-4-material-pos's Introduction

Angular 4 POS

A basic point-of-sale demo application built in Angular 4. This project uses Angular Material UI elements (https://material.angular.io) and a Firebase Cloud Firestore and Firebase Auth backend (https://firebase.google.com).

The purpose is to demonstrate a simple POS using modern frameworks. Users can perform transactions, add/modify products (with image upload), create new user accounts, and see a paginated transaction history. Adding/removing users and products is restriced to Admin users.

DEMO: https://angularpos.samfinan.com

This project was generated with Angular CLI version 1.4.4.

Project built by Sam Finan (www.samfinan.com) for fun & games.

How to Use

  1. Clone project
  2. Run npm install
  3. Create Firebase environment config files (see below).
  4. Run ng serve

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Firebase Configuration

Create src/environments directory and environment.ts and environment.prod.ts configuration files. The configuration files should use the following format and can be retrieved from your Firebase console.

export const environment = {
  production: false,
  // Initialize Firebase
  firebaseConfig: {
    apiKey: 'xxxxxx',
    authDomain: 'angularpos.firebaseapp.com',
    databaseURL: 'https://angularpos.firebaseio.com',
    projectId: 'angularpos',
    storageBucket: 'angularpos.appspot.com',
    messagingSenderId: 'xxxxxx'
  }
};

Build

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

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

angular-4-material-pos's People

Contributors

angular-cli avatar samcfinan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-4-material-pos's Issues

Demo user?

Hi. Is there a demo user to use with the demo?

Data Base Structure

Hi,

I installed the project and run.

I want to try it locally but I need the data base structure.

Can you help me?

Thanks.

Error when setting up

Hi there. When setting up the POS on my domain, I am getting this error in the console and guest + password reset is not working. Also, how would I go about creating a user on there before my own admin is created (like creating my own user)?
image

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.