Implementation of a challenge to create a prototype of a group ordering tool
TypeScript JavaScript CSS PHP HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.editorconfig
.gitignore
README.md
karma-shim.js
karma.conf.js
package-lock.json
package.json
protractor.conf.js
proxy.php
tsconfig.json
tslint.json
typedoc.json
webpack.config.js

README.md

ng2-group-order

This is a small application I created using Angular 2 and TypeScript. Be sure to read more about it in my blog post. The original code of this project is in the master-jan-8-2016 tag. Some small amount changes have been done to improve the UX and add some other basic functionality, but this is still not a production ready version of the app.

Usage

IMPORTANT This code is just the result of a small challenge I took upon myself, this is not production ready.

ng2-webpack was used as a base for my app. If you really want to run this yourself, look up the instructions in the ng2-webpack repository.

You will have to these things:

  • create a Firebase account
  • create a Meetup OAuth2 client
  • create a config.ts file in ./src/ and use these contents with the data of your created clients
// src/config.ts
export const FIREBASE_ROOT = '';
export const OAUTH2_CLIENT_ID = '';
export const OAUTH2_REDIRECT_URL = '';
export const MEETUP_MEMBER_SELF = '';

You will have to create a firebase.json file if you'd want to deploy using Firebase's CLI tool.

Proxy

If you've read my blog post on this project, you'll have noticed I had to use a proxy script to reach the Meetup API. You can find the script in proxy.php