Sample notes App. (Think Evernote, but less)
- ASP.Net Backend.
- Angular disconnected
This will install all node_modules
and bower_components
needed
npm install
This will run the concatenation build script and inline all html templates into the template cache.
gulp
- Always have a controller per state
- Define state controller in state definition
- Pretty much follow this: Style Guide by John Papa
- Follow these Git Commit Guidelines
- If you decide on a standard, make a note of it here...
- notes (abstract, layout)
- notes.auth
- notes.auth.login
- notes.auth.register
- notes.home (shows all notebooks)
- notes.notebook (notebook selected, show notes)
- notes.notebook.note (single note selected)
- notes.auth
- I thought about having a
notes.notebook.new
andnotes.notebook.note.new
state, but i don't feel that new states should be able to live in the URL history. I don't think a user should be able to "back-button" their way back to this actionable new state
- notebookService
- list
- getById
- saveNotebook
- shareNotebook
- deleteNotebook
- listNotes
- getNoteById
- saveNote
- shareNote
- deleteNote
- authService
- login
- register
- forgotPassword
- userService
- searchByUsername
- Notebook
- I don't know about this just yet
- Not sure this will provide value as the user will most likely select a notebook
- The best use case is if we are repeating notebooks on a page with notes inside. Ex: show all
- Unless we allow a notebook to list all notes, and then put a single note in the book into edit mode
- Note
- Most probable use case
<notebook>
<note></note>
<note></note>
<note></note>
</notebook>