Skip to content
Super Simple Book Lending App (made with Angular)
TypeScript HTML CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
e2e
src
.angular-cli.json
.editorconfig
.gitignore
README.md
karma.conf.js
package.json
protractor.conf.js
tsconfig.json
tslint.json

README.md

Book Lending App (Angular)

This project was generated with Angular CLI version 1.6.8.

This repo is part of the tiny project/demo/portfolio for a Super Simple Book Lending App.

It is responsible for creating the graphical user interface, managing the API calls, and control user access in each action (borrow, reserve, return).

How to install

Assuming you already have Angular CLI and you already installed and deployed the repos book-lending-app-auth and book-lending-app-api, the following steps will explain how to install this project on your machine.

  1. Clone this repo
  2. Install the dependent modules
  3. Open the file src/app/service/login.service.ts and update the urls of the API call to the one you created installing the repo book-lending-app-auth.
  4. Open the file src/app/service/book-lending.service.ts and update the url of the API call in the methods getBookList() and postActionBook() to the one you created installing the repo book-lending-app-api.
    1. For the method postActionBook() don't paste the entire url. This method is dynamically taking the last two path parameters, the first one is the utility (reservations/lendings/returnings), and the second one is the id of the book.
  5. To execute in local mode run ng serve --open.

How to uninstall

Just delete the entire folder.

You can’t perform that action at this time.