GithubHelp home page GithubHelp logo

knex-library's Introduction

Knex Libary App

For this application you will be building a small library application. We'll start with one resource "authors" and build onto it.

Part 1

A user of your application should be able to see all the authors, create a new author, update an author and delete an author. This should all be done using Knex and with RESTful routing. Use the express router to clean up your routes.

Part 2

Continue to build off of your library app from the previous lesson and add an additional resource - Books. Every book should have an author and one author can have many books.

You will need to create an additional migration and ensure you have a column for the author_id of every book in your books table. Continue to keep your routes restful and remember that your books routes should be nested inside of your authors routes.

Part 3

Your users love the app! But they want to be able to assign "categories" to books. Some examples are "non fiction", "historical", "science", but many books can be in many different categories. Add the additional tables necessary for categories. Users should be able to see all categories and add, update and remove categories as well.

Part 4 - BONUS

Add search functionality to your application! Users should be able to search for authors, books and categories.

knex-library's People

Contributors

elie avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.