All Projects → peasy → peasy-js-samples

peasy / peasy-js-samples

Licence: MIT license
Showcases business logic built with peasy-js and consumed by multiple clients

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to peasy-js-samples

Peasy.NET-Samples
Showcases a middle tier built with peasy and consumed by multiple client consumers
Stars: ✭ 33 (+73.68%)
Mutual labels:  web-api, sample-app, architectural-patterns, order-management, line-of-business
Erlach
☣⚫⚫ SPA Imageboad on WebSockets written on Erlang
Stars: ✭ 23 (+21.05%)
Mutual labels:  spa, single-page-app, single-page-applications
Knockout Spa
A mini but full-fledged SPA framework and boilerplate to build SPAs fast and scalable
Stars: ✭ 145 (+663.16%)
Mutual labels:  spa, single-page-app, single-page-applications
wordpress-svelte
Frontend writen on svelt
Stars: ✭ 17 (-10.53%)
Mutual labels:  spa, single-page-app, single-page-applications
Vanilla Ui Router
Simple vanilla JavaScript router
Stars: ✭ 42 (+121.05%)
Mutual labels:  spa, single-page-app, single-page-applications
Laravel Vue Starter
Well Documented Laravel Starter App From Development to Production. For Full Blown RESTFUL API and SPA with Beautiful UI Using Buefy / ElementUi For Reusable Vue Components
Stars: ✭ 76 (+300%)
Mutual labels:  spa, single-page-app, single-page-applications
laravel-vue-starter
Well Documented Laravel Starter App From Development to Production. For Full Blown RESTFUL API and SPA with Beautiful UI Using Buefy / ElementUi For Reusable Vue Components
Stars: ✭ 80 (+321.05%)
Mutual labels:  spa, single-page-app, single-page-applications
Vue Soundcloud
🎧 A SoundCloud client built with Vue and Nuxt
Stars: ✭ 141 (+642.11%)
Mutual labels:  spa, single-page-app, single-page-applications
CRUD-Laravel-Livewire-SPA
CRUD Laravel 7 & Livewire (SPA) Single Page Application
Stars: ✭ 34 (+78.95%)
Mutual labels:  spa, single-page-app, single-page-applications
Blapy
jQuery plugin that helps you to create and manage ajax and single page web applications (SPA) with almost no javascript coding to do it
Stars: ✭ 30 (+57.89%)
Mutual labels:  spa, single-page-applications
FlexDotnetCMS
A powerful, flexible, decoupled and easy to use and Fully Featured ASP .NET CMS, it can also be used as a Headless CMS
Stars: ✭ 45 (+136.84%)
Mutual labels:  single-page-app, single-page-applications
site
RailroadPM.org 2.x Site
Stars: ✭ 18 (-5.26%)
Mutual labels:  spa, single-page-app
react-redux-boilerplate
A React boilerplate based on Redux, React Router, styled components and Parcel
Stars: ✭ 62 (+226.32%)
Mutual labels:  spa, single-page-app
MyAPI
A template to create awesome APIs easily ⚡️
Stars: ✭ 117 (+515.79%)
Mutual labels:  web-api, express-js
elm-spa
Pure Elm library to easily build Single Page Applications
Stars: ✭ 37 (+94.74%)
Mutual labels:  spa, single-page-app
Ioing
Implement the solutions of performance improvement and componentization for your SPA (single page application) products with this Progressive Web App Development Engine.
Stars: ✭ 224 (+1078.95%)
Mutual labels:  spa, single-page-applications
bizbook-client
The repository of bizbook client project
Stars: ✭ 28 (+47.37%)
Mutual labels:  spa, single-page-applications
SPA-With-Blazor
Creating a Single Page Application with Razor pages in Blazor using Entity Framework Core database first approach.
Stars: ✭ 27 (+42.11%)
Mutual labels:  spa, single-page-app
Json Schema Editor
JSON Schema Editor is an intuitive editor for JSON schema. It provides a tree view to present the structure of schema, and a property inspector to edit the properties of schema element. Develop with Vue.js 2 and Firebase.
Stars: ✭ 194 (+921.05%)
Mutual labels:  spa, single-page-app
ajxnetcore
Its an innovative method to turn an ASP.NET Core Application Into Single Page Application, While enhancing the Software performance both on server and client side.
Stars: ✭ 31 (+63.16%)
Mutual labels:  spa, single-page-app

peasy

Showcases business logic built with peasy-js.

This sample application is a ficticious order entry / inventory management system. All efforts were made to keep this application as simple as possible, with a focus on how business logic can be written with peasy-js and consumed by multiple clients (react, angular, and nodejs).

Where can I get it?

Requirements

  1. nodejs - this application hosts a web api that the client applications rely on and requires node.
  2. postman, fiddler, cURL, or similar (optional) - these tools help to facilitate communications with http endpoints.
  3. MongoDB (optional) - this application by default is configured to work with in-memory data proxies, however, you can easily swap data proxies to interact with a mongodb instance if desired. See MongoDB Configuration for more details.

Running the application

From a command line, navigate to the peasy-js-samples directory and run:

  1. npm run install_dependencies_and_build_projects
  2. npm run server

samples

By default, the client (react and angular) applications are configured to use http implementations of the data proxies. These data proxies communicate with the http endpoints hosted in node.

In turn, the http endpoints are configured to use in-memory data proxies. However, there are a few configuration possibilities. The configurations section provides details on setting up many potential configurations.

Configurations

Client → In-Memory

In this scenario, the client consumes business services that are injected with data proxies that communicate with in-memory data stores.

archlessnode

Client → Web API → In-Memory (Default configuration)

In this scenario, the client consumes business services that are injected with data proxies that use HTTP to communicate with the Web API application. In turn, the Web API application uses business services that are injected with data proxies that communicate with in-memory data stores.

archlessmongo

Client → Web API → MongoDB

In this scenario, the client consumes business services that are injected with data proxies that use HTTP to communicate with the Web API application. In turn, the Web API application uses business services that are injected with data proxies that communicate with a MongoDB database.

architecture

Testing out the Web API

With the application up and running you can navigate to the following urls:

Web API Walkthrough

This walkthrough covers creating a customer, category, product, and placing an order on behalf of the new customer. It also covers submitting and shipping an order to see how it affects inventory.

Like what you see?

Please consider showing your support by starring the project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].