Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AndrewJBateman/angular-frontend-notes

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โšก Angular Frontend Notes

  • Angular app to allow a user to Create, Read, Update & Delete (CRUD) simple notes comprising a title and description.
  • Clicking on a note navigates to that note where it can be edited.
  • Tutorial code by Devstackr * see ๐Ÿ‘ Inspiration below. Note some changes were required to pass tslint tests
  • Note: to open web links in a new window use: ctrl+click on link

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

๐Ÿ“„ Table of contents

๐Ÿ“š General info

  • Notes can be viewed and deleted from the notes list.
  • Clicking on a note lets user edit it.
  • Fade-out gradient used with text to keep note cards all the same size.
  • List includes a filter so user can search for key words and filtered results will order themselves in terms of relevancy.
  • There is no backend for this app. A refresh loses all notes from the notes array.
  • Bulma CSS framework used to style components etc.
  • 5 part Youtube tutorial series in Angular 8. Upgraded to Angular 12.

๐Ÿ“ท Screenshots

Angular page

๐Ÿ“ถ Technologies

๐Ÿ’พ Setup

  • Run npm i to install dependencies
  • To start the server on localhost://4200 type: 'ng serve'
  • To create a build file in a docs folder type ng build --prod. This will deployed in github-pages when code is commited and pushed to Github

๐Ÿ’ป Code Examples

  • on initialisation of note-details.component.ts check if note is new using the note id.
ngOnInit() {
  // new note or editing existing one?
  this.route.params.subscribe((params: Params) => {
    this.note = new Note();
    if (params.id) {
      this.note = this.notesService.get(params.id);
      this.noteId = params.id;
      this.new = false;
    } else {
      this.new = true;
    }
  })
}

๐Ÿ†’ Features

  • Bulma CSS styles used for the first time.

๐Ÿ“‹ Status & To-do list

  • Status: Working. Passes lint test.
  • To-do: Nothing. Could add local storage or a backend (e.g. google Firebase).

๐Ÿ‘ Inspiration

๐Ÿ“ License

  • This project is licensed under the terms of the MIT license.

โœ‰๏ธ Contact

About

๐Ÿ“‹ Angular tutorial app to allow user to enter notes and to list these notes in cards.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.