uPortal Application Framework

App Framework for uPortal

License

License

GroupId

GroupId

org.apereo.uportal
ArtifactId

ArtifactId

uportal-app-framework
Last Version

Last Version

20.0.0
Release Date

Release Date

Type

Type

war
Description

Description

uPortal Application Framework
App Framework for uPortal
Project URL

Project URL

https://github.com/uPortal-Project/uportal-app-framework
Project Organization

Project Organization

Apereo
Source Code Management

Source Code Management

https://github.com/uPortal-project/uportal-app-framework

Download uportal-app-framework

How to add to project

<!-- https://jarcasting.com/artifacts/org.apereo.uportal/uportal-app-framework/ -->
<dependency>
    <groupId>org.apereo.uportal</groupId>
    <artifactId>uportal-app-framework</artifactId>
    <version>20.0.0</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/org.apereo.uportal/uportal-app-framework/
implementation 'org.apereo.uportal:uportal-app-framework:20.0.0'
// https://jarcasting.com/artifacts/org.apereo.uportal/uportal-app-framework/
implementation ("org.apereo.uportal:uportal-app-framework:20.0.0")
'org.apereo.uportal:uportal-app-framework:war:20.0.0'
<dependency org="org.apereo.uportal" name="uportal-app-framework" rev="20.0.0">
  <artifact name="uportal-app-framework" type="war" />
</dependency>
@Grapes(
@Grab(group='org.apereo.uportal', module='uportal-app-framework', version='20.0.0')
)
libraryDependencies += "org.apereo.uportal" % "uportal-app-framework" % "20.0.0"
[org.apereo.uportal/uportal-app-framework "20.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

uPortal-app-framework

Questions? Get in touch.

npm version Maven Central

Build Status

dependencies Status devDependencies Status Dependency Status Greenkeeper badge

Coverage Status

bitHound Overall Score

Time to PR close Time to issue close

CII Best Practices Semver Keep a Changelog Google code style

uPortal ecosystem incubating badge Apereo Incubating badge

uPortal-app-framework is a front-end framework for building web applications that users experience as "apps in the portal".

This package includes the uPortal-home header, settings, footer, and some reusable components :

uPortal app framework screenshot

Learn more about the reusable components on our docs page

Requirements

Java (only if you want a maven artifact)

Quickstart

uportal-app-framework provides the primary HTML page at the root of the context that hosts your AngularJS single page application. In order to introduce your own content, uportal-app-framework's extension point is 'my-app/main.js'.

Getting Started with uportal-app-framework

In your existing Maven war project, add the following dependency:

<dependency>
  <groupId>org.apereo.uportal</groupId>
  <artifactId>uportal-app-framework</artifactId>
  <version>x.y.z</version>
  <type>war</type>
</dependency>

(uportal-app-framework is available in The Central Repository.)

Start by creating the folder 'src/main/webapp/my-app' within your Maven war project, and copy uportal-app-framework's main.js in to it. uportal-app-framework includes RequireJS to help you load any additional JavaScript assets you wish, you'll do that in this file.

See my-app-seed for a great starter app using this frame.

Getting Started with static

This gives you the basic frame in a static content type way. Just add your files to the proper directory and you should be all set. This module is still a work in progress. Note it only works right now as the root context (if you want to change, update the index.html). This module is mostly used for development on the frame itself.

In components/js/app-config.js set

  • SERVICE_LOC.portalLayoutRestEndpoint to /portal/api/layout, and
  • SERVICE_LOC.widgetApi.entry to staticFeeds/

to source the mock data for the example the home page showcasing some widgets.

Testing

We love tests. We setup karma to run our tests.

To run the test suite:

npm test

Running locally

To build and run on a Superstatic server:

npm run static:dev

Maven

You can also create a artifact using maven. There's a pom.xml file in the root directory. The maven build will use the normal npm build and bundle into a deliverable war file.

Running the documentation

To run the Jekyll docs locally:

cd docs

bundle exec jekyll serve

You may need to install the Jekyll bundler on your machine. See Jekyll's quick-start guide for instructions.

org.apereo.uportal

Apereo uPortal project

Open source enterprise portal by and for higher education. A project of the Apereo Foundation.

Versions

Version
20.0.0
19.0.3
19.0.2
19.0.1
19.0.0
18.1.1
18.1.0
18.0.1
18.0.0
17.0.3
17.0.2
17.0.1
17.0.0
16.0.2
16.0.1
16.0.0
15.0.0
14.0.1
14.0.0
13.1.2
13.1.1
13.1.0
13.0.0
12.2.0
12.1.0
12.0.0
11.0.0
10.3.0
10.2.0
10.1.1
10.1.0
10.0.0
9.2.1
9.2.0
9.1.0
9.0.2
9.0.1
9.0.0
8.0.0
7.0.0
6.1.0
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0