my-flix-angular-client
    Preparing search index...

    my-flix-angular-client

    MyFlixAngularClient

    MyFlix Angular Client is the frontend for the myFlix movie API. It’s built with Angular (standalone app, routing + SCSS) and includes:

    • login/registration
    • movie list & single movie view
    • profile management.


    • Node.js 18+ and npm
    • Angular CLI:
    npm install -g @angular/cli
    

    API base URL is configured in src/environments/environment.ts (and environment.prod.ts):

    export const environment = {
    production: false,
    apiBaseUrl: 'https://movie-api-w67x.onrender.com'
    };

    If your backend changes, update apiBaseUrl accordingly.

    npm install
    ng serve --open

    App runs at http://localhost:4200/

    npm run docs
    

    docs/index.html

    • POST /users — userRegistration(userDetails)
    • POST /login — userLogin(userDetails)
    • GET /movies — getAllMovies()
    • GET /movies/:title — getMovieByTitle(title)
    • GET /directors/:name — getDirectorByName(name)
    • GET /genres/:name — getGenreByName(name)
    • GET /users/:username — getUser(username)
    • GET /users/:username/movies — getFavoriteMovies(username)
    • POST /users/:username/movies/:movieId — addFavoriteMovie(username, movieId)
    • PUT /users/:username — editUser(username, updateData)
    • DELETE /users/:username — deleteUser(username)
    • DELETE /users/:username/movies/:movieId — removeFavoriteMovie(username, movieId)
    • Standalone Angular setup (no app.module.ts).
    • HttpClient is provided in app.config.ts via provideHttpClient().
    • Generated with Angular CLI 20.3.5
    • Development server:
    ng serve
    

    Open http://localhost:4200/.

    • Building:
    ng build
    

    Build output in dist/.

    • Code scaffolding:
    ng generate component component-name
    
    • For more schematics:
    ng generate --help
    

    GitHub Projects: https://github.com/users/claudias-hub/projects/1/views/1

    • Improve error handling for auth failures (snackbars/messages).
    • Add e2e tests when feature set stabilizes.

    Parts of this project’s documentation and code comments were drafted with assistance from an AI assistant (Abacus.AI ChatLLM Teams).