GithubHelp home page GithubHelp logo

hthou / folio_app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aditshah07/folio_app

0.0 1.0 0.0 1.15 MB

JavaScript 94.62% Groovy 0.03% Makefile 0.12% HTML 0.09% CSS 3.91% Shell 0.06% Perl 1.17%

folio_app's Introduction

Library patron empowerment in the FOLIO project

To Run the Application on Mac:

  1. You need node(npm) installed.
  2. Run (npm install) in the my-app directory. It will install all the dependencies of the project.
  3. Run command (npm start) it will host the server then it will ask for option to run on ios or android.
  4. You end a emulator on the system to run the application.
  5. For ios you can get xcode and android you can get android studio.
  6. Once the emulator is running then it will install the packages on the emulator.
  7. Then it will direct you to login page.
  8. To login in the system use username: diku_admin and password: admin

To Run the test:

  1. Run command (npm test) in the my-app directory.
  2. To run only the test file run command (npm test App.test.js) in the my-app directory.

In Folio mobile App, we used MVC design pattern, routing the pages is controller, screens are the views and Folio is the Model.

For our React-Native JavaScript code, we follow ESLint code style.

The code we writed is listed below:

  • App.js -- The entrance of App, contains the main navigater.

  • App.test.js -- Test cases

  • package.json -- Package information

  • navigation/ -- Folder contains navigators

  • navigation/RootNavigation.js -- Go to login screen, notification api for further development

  • navigation/MainTabNavigator.js -- Three tabs, switches Homepage, Profilepage and Settingspage

  • screens/ -- Screens Folder

  • screens/data/

  • screens/data/url.json -- Folio url

  • screens/data/loan.json -- Some sample loan info for display on ProfileScreen

  • screens/data/resources.json -- Contains subject items with initilal value.

  • screens/data/languages.json -- Contains language items with initilal value.

  • screens/image/ -- image folder

  • screens/lib/

  • screens/lib/LoginButton.js -- LoginButton component

  • screens/LoginScreen.js -- LoginScreen Component

  • screens/HomeScreen.js -- HomeScreen Component contains New Books and News

  • screens/ProfileScreen.js -- ProfileScreen contains user information.

  • screens/SettingsScreen.js -- Settings page for user perference

  • screens/BookScreen.js -- Book details page

folio_app's People

Contributors

aditshah07 avatar hthou avatar ruoyanhuang 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.