/Books

A simple books management app.

Primary LanguageJavaScript

WELCOME TO Books-Express


TABLE OF CONTENT;

  • DESCRIPTION
  • PROJECT SETUP
  • AVAILABLE FUNCTIONALITY
  • TESTS
  • PROJECT DEMO

📄 DESCRIPTION;

This is a simple online books management app.. The main focus of this build in its present is the implementation of the banckend of the Books application using Express.


PROJECT SETUP

  1. Clone the Repository https://github.com/ekumamait/Books.git

  2. Navigate to the application directory cd Books

  3. install all dependencies npm i

  4. Run the application npm start


AVAILABLE FUNCTIONALITY;
URL Methods Functionality
/api/auth/signup POST signs up a user
/api/auth/login POST Logs in a user
/api/auth/book/ POST Create a new book entry
/api/auth/books/ GET Displays all books
/api/auth/book/:id GET Display a specific book
/api/auth/book/:id PUT Update a specific book
/api/auth/book/:id DELETE Delete a specific book

🔬 TESTS;
  • Tests for controllers

  • Tests for models

  • Tests for middleware

  • command to run tests: npm test


Project Demo;

Here is the link to the Demo: