GithubHelp home page GithubHelp logo

lindakovacs / fcc-personal-library Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yagoestevez/fcc-personal-library

0.0 1.0 0.0 107 KB

Project #3 of the "Information Security & Quality Assurance" certification on freeCodeCamp.

JavaScript 78.38% CSS 8.62% HTML 13.00%

fcc-personal-library's Introduction

FreeCodeCamp

Information Security & Quality Assurance Projects


All tests passed. Both client and server working as expected.

Try it out!

If you want to try the converter, open this link on Glitch.

Test the app

To test the app, just run npm test (after npm i, of course).

User Stories
  1. Nothing from my website will be cached in my client as a security measure.
  2. I will see that the site is powered by 'PHP 4.2.0' even though it isn't as a security measure.
  3. I can post a title to /api/books to add a book and returned will be the object with the title and a unique _id.
  4. I can get /api/books to retrieve an aray of all books containing title, _id, & commentcount.
  5. I can get /api/books/{_id} to retrieve a single object of a book containing title, _id, & an array of comments (empty array if no comments present).
  6. I can post a comment to /api/books/{_id} to add a comment to a book and returned will be the books object similar to get /api/books/{_id}.
  7. I can delete /api/books/{_id} to delete a book from the collection. Returned will be 'delete successful' if successful.
  8. If I try to request a book that doesn't exist I will get a 'no book exists' message.
  9. I can send a delete request to /api/books to delete all books in the database. Returned will be 'complete delete successful' if successful.
  10. All 6 functional tests required are complete and passing.

Yago Estévez

fcc-personal-library's People

Contributors

yagoestevez avatar

Watchers

 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.