An open API service indexing awesome lists of open source software.

https://github.com/noud/gripp-api-platform-react-openapi

Gripp client React Redux, Progressive Web App (PWA), mobile client consuming RESTful JSON-LD API
https://github.com/noud/gripp-api-platform-react-openapi

javascript react shell

Last synced: 2 months ago
JSON representation

Gripp client React Redux, Progressive Web App (PWA), mobile client consuming RESTful JSON-LD API

Awesome Lists containing this project

README

          

# [React](https://reactjs.org) [Redux](https://redux.js.org) [Progressive Web App (PWA)](https://en.wikipedia.org/wiki/Progressive_web_applications) [REST](https://en.wikipedia.org/wiki/REST) [JSON-LD](https://json-ld.org) conform [OpenAPI](https://swagger.io/specification) to [API v3](https://api.gripp.com/public/api3.php) from [Gripp.com](https://www.gripp.com)

![Gripp client React Redux](./docs/react-redux-rest-openapi-gripp.png?raw=true "Gripp client React Redux")

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/noud/react-redux-rest-openapi-gripp/master/LICENSE)
[![master](https://img.shields.io/badge/current-dev-aa11ff.svg)](https://github.com/noud/react-redux-rest-openapi-gripp/releases)

[API-First](https://swagger.io/resources/articles/adopting-an-api-first-approach/) development to facilitate a [Rapid-application development (RAD)](https://en.wikipedia.org/wiki/Rapid_application_development) process.

## [Gripp Symfony](https://github.com/noud/gripp_symfony/blob/master/README.md) back end

## Provisioning

For instance use an existing Docker workspace. :
```bash
cd laradock && docker-compose exec --user=laradock workspace bash
```
Provision the app with JavaScript Node.js NPM & YARN packages.:
```bash
cd react-redux-rest-openapi-gripp && bin/provision.sh
```
Console output will tell you the server address.:
```bash
Compiled successfully!

You can now view gripp-admin in the browser.

Local: http://localhost:3000/
On Your Network: http://172.20.0.5:3001/
```
Add this Your Network url to your [Gripp Symfony](https://github.com/noud/gripp_symfony/blob/master/README.md) .env.local file.:
```bash
CORS_ALLOW_ORIGIN=^http://172.20.0.5(:[0-9]+)?$
```

## Generating

We generate large part of the app:
```bash
cd react-redux-rest-openapi-gripp && bin/generate.sh
```
## Usage

Browse to the app:
```bash
/opt/google/chrome/chrome http://172.20.0.5:3001/
```
## Developing

Feel free to contribute.

## Tools

Created with [React in Eclipse](https://www.genuitec.com/tech/react-in-eclipse) ([Eclipse Marketplace](https://marketplace.eclipse.org/content/react-codemix))
[Eclipse](https://www.eclipse.org/) is free open-source project that grows with your contributions.