Skip to content

pratyushbat/resumemaker

Repository files navigation

Resumemaker

This project was generated with Angular CLI version 16.1.0.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application 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|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

in package json ^ latest version same version ~ beta version

user action .ts

/* export class LoginRequestAction implements Action { readonly type = LOGIN_REQUEST; static readonly type = LOGIN_REQUEST; }

export class LoginSuccessAction implements Action { static readonly type = LOGIN_SUCCESS; readonly type = LoginSuccessAction.type;

constructor(public payload: User) { } }

export class LoginFailiureAction implements Action { readonly type = LOGIN_FAILIURE; static readonly type = LOGIN_FAILIURE

constructor(public payload: string) { } }

export class LogoutAction implements Action { readonly type = LOGOUT_ACTION; }

export class UserProfileRequestAction implements Action { readonly type = USER_PROFILE_REQUEST; }

export class UserProfileSuccessAction implements Action { readonly type = USER_PROFILE_SUCCESS;

constructor(public payload: User) { } }

export class UserUpdateAction implements Action { readonly type = USER_UPDATE_SUCCESS;

constructor(public payload: User) { } } */

/* export const loginRequest = createAction( LOGIN_REQUEST ); */

/* export const loginSuccess = createAction( LOGIN_SUCCESS, props<{ user: User }>() ); */

/* export const loginFailiure = createAction( LOGIN_FAILIURE, props<{ error: Error }>() ); */

/* export const logoutSuccess = createAction( LOGOUT_ACTION ); / / export const userProfileRequest = createAction( USER_PROFILE_REQUEST ); / / export const userProfileSuccess = createAction( USER_PROFILE_SUCCESS, props<{ user: User }>() ); */

/* export const userUpdate = createAction( USER_UPDATE_SUCCESS, props<{ user: User }>() ); */

/* export function UserReducer(state = initialState, action: Action): UserReducerState { switch (action.type) { case USER_PROFILE_REQUEST: case LOGIN_REQUEST: { return {...state, loggingIn: true ,error:null}; } case USER_PROFILE_SUCCESS: case LOGIN_SUCCESS: { return {...state, user: action.payload, loggingIn: false, loggedIn: true ,error:null}; } case LOGIN_FAILIURE: { return {...state, ...{ loggingIn: false, loggedIn: false ,error: action.payload}}; } case LOGOUT_ACTION: { return {...initialState}; } case USER_UPDATE_SUCCESS: { return {...state, user: action.payload}; } default: { return state; } } } */

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published