Giter Site home page Giter Site logo

bartfastiel / ffm-java-22-1-review-iryna Goto Github PK

View Code? Open in Web Editor NEW

This project forked from irynakamenska/capstone-booklibrary

0.0 1.0 0.0 923 KB

Fork to do a full review of the existing code base

Java 60.66% TypeScript 30.00% CSS 8.26% HTML 1.01% Dockerfile 0.08%

ffm-java-22-1-review-iryna's Introduction

BookLibrary

Full-Stack Application to manage books of a library.
Books can be added, edited, rented, returned and deleted by the role librarian.
Adding of books to a library-database is simplified via Google Books API: books can be searched and then added via one click.
The role member can see his rented books and view & filter books of the library-database.

kamenska_iryna

API

Link to github issues: https://github.com/IrynaKamenska/Capstone-BookLibrary/issues

Clone this repository

git clone https://github.com/IrynaKamenska/Capstone-BookLibrary.git

Deployed to Fly. io.

https://capstone-book-library.fly.dev

Badges

Backend:
Lines of Code Coverage Security Rating Vulnerabilities Code Smells Bugs Reliability Rating Maintainability Rating

Frontend:
Lines of Code Code Smells Bugs Maintainability Rating Reliability Rating

Installation

  • Open project in an IDE
  • Run npm install in frontend folder
  • Allow installation of backend packages
  • Start backend application
  • Start frontend application (with start-button in package.json)
  • Open http://localhost:3000 in a browser
  • To start the application for the first time a user with a role Librarian must be stored in the MongoDB beforehand:
  • Open MongoDB-Compass and connect to mongodb://localhost:27017
  • Create a database named "library-db"
  • Create a collection named "book"
  • Create a collection named "appUser"
  • Create a Librarian in the "appUser" collection as follows:
  username: "JohnDoe"
  rawPassword: ""
  passwordBcrypt:"$2a$10$yef/EG0medAcG7P0IHyVh.1xAiwa7DUOAEAN/Tve6cOeRjyi2CioK"
  role: "LIBRARIAN"`

For password-hashing you can use e.g. https://bcrypt-generator.com/

ffm-java-22-1-review-iryna's People

Watchers

James Cloos 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.