chiavegatto / Android-Bookshop

Android book shop app. User can search and download(rent) books that are available in 3 Bookshops.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Bookshop

Description

This is an android app that enables a user to search books, add books to the cart, borrow and return books from 3 book shops.

The books in the bookshop are being managed by another app (website).

A User donwloads the app, creates an accout, searches a for a book,
selects a book to view details, then decide to add a book or several books to a cart.

The user can then view his cart and decide to 
    - checkout (borrow) a book from the cart (The number of available books is the automatically updated ),

    - if the book is not available to  checkout, the user can reserve it and  and be added to the wait queue for checkout a soon as a copy is available.

    - delete a book from the cart.

The user can view his borrowed books and
    - return a borrowed book.

The user can then view his history (returned books).

The code

The app is written in Android native using java.
The backend is written in
    - js
    - node
    - express
    - mongodb

Quickstart setup installation

Currently the app can only run using a test server (localhost).

Running the app using the localhost

- Clone/download the node server
- Navigate with the shell/cmd to the root of the server
- run the following npm commands one after the other
    $ npm install
    $ npm start
- The server is running.
- now obtain the ip address of the server by running 
    $ ipfonfig #shell
    $ ifconfig #cmd
- Use this ip address in your app, make sure the server and the phones are in the same homegroup (network).

Screenshots

Search a book

search-book search-book book-detail-in-search

Book detail view

book-in-cart


Sign in/up

Side menu sign-in sign-up

About

Android book shop app. User can search and download(rent) books that are available in 3 Bookshops.

License:MIT License


Languages

Language:Java 100.0%