Coder Social home page Coder Social logo

mdelapenya / apio-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liferay-labs/apio-workshop

0.0 2.0 0.0 295 KB

Material for a workshop to understand how to create Hypermedia REST APIs using APIO Architect

Home Page: https://github.com/liferay/com-liferay-apio-architect

License: GNU Lesser General Public License v3.0

Java 93.99% Dockerfile 0.58% JavaScript 0.29% TypeScript 4.14% CSS 0.15% HTML 0.84%

apio-workshop's Introduction

How to develop Liferay Portal APIs with Apio Architect

This project provides a base Liferay project to learn how to use Apio Architect to expose Hypermedia REST APIs of different interconnected Liferay Portal services.

The project modules bring the concept of recipe into Liferay Portal.

Our goal in this workshop is to expose Hypermedia REST APIs that strongly "rest" on shared vocabularies, so that they follow standards as much as they can.

Prepare Liferay Portal 7.1 GA1 instance

Deploy Application Jars

Once you have the Liferay Portal 7.1 GA1 instance ready with the latest Apio Architect version and the demo data creators, you are ready to deploy the Liferay Recipes application into your instance.

If you are using docker

Just execute ./gradlew dockerDeploy

If you are using a local Tomcat instance

Just update the gradle.properties liferay.recipes.deploy.dir property to your $LIFERAY_HOME/deploy folder and execute gradle deploy in the root of the repository.

The data

This project comes with its own set of demo data, so you don't have to create any user, site or mock data. You just need to focus on coding (yay!!).

Specifically, once the packages are deployed, the following data will be created:

Launch client app

For launching the client app you just have to run ../gradlew startApp from the restaurant-app directory. Then navigate to http://localhost:4200 on your preferred browser.

Code time!

The steps for the workshop can be found here.

apio-workshop's People

Contributors

alejandrohdezma avatar victorg1991 avatar

Watchers

 avatar  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.