Skip to content

back-end-project-week: Megan Fontenot#478

Open
meganfontenot wants to merge 16 commits into
bloominstituteoftechnology:masterfrom
meganfontenot:megan-fontenot
Open

back-end-project-week: Megan Fontenot#478
meganfontenot wants to merge 16 commits into
bloominstituteoftechnology:masterfrom
meganfontenot:megan-fontenot

Conversation

@meganfontenot

Copy link
Copy Markdown

@johnoro

Trello Link: https://trello.com/b/YjXXvCsr/lambda-notes-backend-megan-fontenot

Backend MVP Features:

  • Add data persistenc using a Relational Database. We suggest you start with SQLite3.
  • Create a Web API for the React application you built in the front-end project week.
  • Build endpoints for each of the following features:
  • Display a list of notes.
  • Create a note with a title and content.
  • View an existing note.
  • Edit an existing note.
  • Delete an existing note.
  • Modify your front-end so that it uses your newly created Web API.

Extra Features:

  • Setup Auto-Deploy on Heroku
  • Provide documentation for how to interface with your api.
  • Add pagination for long lists of notes.
  • Create and display tags that can be added to notes and stored in the Database.
  • Allow users to clone notes.
  • Search functionality.
  • Create a Registration Page that allows users to create accounts for your app and sign in with email/password.
  • Allow users to sign in with a third party service (google, facebook, github, club penguin, etc...)
  • Allow users to create Lists and assign notes to a list.
  • Allow users to attach images to notes.
  • Allow multiple users to collaborate on notes.
  • Add Unit and Integration Tests.

@johnoro johnoro left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore your node_modules!
Looks great, Megan!

Comment thread middleware/helpers.js
},

editNote: (id, note) => {
return db("notes").where("id", id).update(note);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use your already existing dbConfig helpers rather than recreating them?

Comment thread seeds/01_notes.js

exports.seed = function(knex, Promise) {
// Deletes ALL existing entries
return knex('table_name').del()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming 'table_name' here is meant to be 'notes'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants