Giter Club home page Giter Club logo

angular2-timesheet's Introduction

Timesheetz In Angular 2

build status

Prerequisites

Node 6.x.x (node -v)
npm 3.x.x (npm -v)

Install and Run

API

cd api
npm install
npm start

Client

cd ng-client
npm install
npm start

FAQ/Troubleshooting

I'm on a different version of Node. Or, I don't want to fully commit to Node 6 on this machine.

Use nvm on Mac for Node versioning.

Use nvm-windows on Windows for Node versioning

NOTE: Usage of these packages allow for easy transitioning between node versions, but they do 'takeover' your npm directory, so you may need to redo any globally installed packages that you've installed

angular2-timesheet's People

Contributors

dschau avatar erichelgeson avatar jondejong avatar mcacek avatar nogsmpls avatar

Stargazers

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

Watchers

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

angular2-timesheet's Issues

Need a pipe

Need a implementation of a custom pipe for workshop purposes

Extract core functionality into a core module

Core functionality like http and auth services should be extracted into a core module and then imported into the root module. This promotes a cleaner codebase and also adds emphasis the the fact that these are common across the application and are not feature module specific.

Custom Validators are not validating form

Example: New Timesheet date validators

If a custom validator on a form is failing, the form is still considered valid (form.valid == true) if the regular validators are all valid.

Use an angular2 wrapper for the slides

Allows us to do some cool things, a la display actual Angular 2 components alongside Markdown (think: ComponentPlayground in the React world)

@mcacek

(I can probably do this; PR at some point in the future)

Update application to use lazy route loading

We need a means of demonstrating lazy loading within this application. I'd rather not pollute this application with unnecessary functionality but we need to either include lazy loading in the application or find another way to demonstrate how this can be implemented. I am thinking that this is either code in the app or a slide?

Unify package.json and NPM scripts

Right now we have 2 node projects: The API and the the client. Merge these into one project with one unified set of dependencies and run scripts. This will be one less step to kick off workshops.

Cannot access the auth package via index.ts

Via the index.ts, I believe we should be able to import from the auth package like this:
import {IdentityService, LocalStorage} from '../auth';

But that doesn't work. Instead we need to use this format:

import {IdentityService} from '../auth/identity.service';
import {LocalStorage} from '../auth/localStorage';

Authorization in API

The API does authentication, but not authorization. No URL is actually protected by token access.

Timesheet progress bar

Timesheet details view should have a progress bar (like the implementation in Angular 1)

Clean up SASS

There is a lot of SASS copy and pasted that should be moved up in the component tree. Also that resulted in a lot of unused duplicate SASS that should be removed.

Semantic code issue

IntelliJ is telling me there semantic errors with login.service.ts. I can't figure out what's wrong with it. Usually in this case I eventually find out there the IDE is correct and there is something wrong with the code. But I'm a a loss. Extra eyes on this to make sure I'm not missing something would be nice.

Externalize extHttp service configuration

ExtHttp currently has a hardcoded configuration which should be replaced with a provider configuration via CoreModule.forRoot. ExtHttp should not determining configuration based on its own inspection of the runtime environment and instead should be provided with that configuration.

Cannot read property 'provide' of null

Hi guys,

I am tryting to clone and install this repo and getting an error. Running on Windows 10 with Node 7.7.3 and npm 4.1.2. Tried on early versions as well and got same error.

** NG Live Development Server is running on http://localhost:4200. **
Hash: 128196aa548d9fc95a24
Time: 13335ms
chunk {0} main.bundle.js, main.bundle.js.map (main) 104 kB {2} [initial] [rendered]
chunk {1} styles.bundle.js, styles.bundle.js.map (styles) 30.6 kB {3} [initial] [rendered]
chunk {2} vendor.bundle.js, vendor.bundle.js.map (vendor) 4.55 MB [initial] [rendered]
chunk {3} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]

ERROR in Cannot read property 'provide' of null
webpack: Failed to compile.

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.