Skip to content

For Meetup events that give away prizes, application will randomly select winners

Notifications You must be signed in to change notification settings

dalelotts/prize-o-tron

 
 

Repository files navigation

PrizeOTron

Dependency Status devDependency Status

Commitizen friendly

Live Page

This project was generated with Angular CLI.

Support the project

I know this is a tiny application but many people use it to award meetup prizes (high 5 to all of us) - if you happen to use this app please click the star button (at the top of the page) - it means a lot to all the contributors.

Project setup

  1. Install node
  2. Fork this repository (click the fork button in the top right of the screen)
  3. Clone your fork git clone https://github.com/[your-user-name]/prize-o-tron
    • ^^ Note that you must replace [your-user-name] with your github user name.
  4. Install project dependencies
    cd prize-o-tron
    npm install
    npm test
    
  5. Start the server npm run-script start:watch <- This runs the app locally only
  6. Visit http://localhost:4200

Heroku Server

The app runs slightly differently when deployed to Heroku than when running locally. To run under the same configuration as Heroku, do the following:

cd prize-o-tron
npm install
npm run build
npn start <- runs a local express server on port 4200

Navigate to http://localhost:4200/.

The app will NOT automatically reload if you change any of the source files.

Development server

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

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

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.

Running all tests

Run npm test to execute all unit and end-to-end tests.

Running unit tests

Run npm run-script test:unit to execute only the unit tests via Karma.

Running end-to-end tests

Run npm run-script test:e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

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

About

For Meetup events that give away prizes, application will randomly select winners

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 69.7%
  • HTML 15.0%
  • JavaScript 9.6%
  • CSS 5.7%