Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simplicitesoftware/nodejs-demo
Basic Node.js(R) demo using node.js & browser API
https://github.com/simplicitesoftware/nodejs-demo
Last synced: about 14 hours ago
JSON representation
Basic Node.js(R) demo using node.js & browser API
- Host: GitHub
- URL: https://github.com/simplicitesoftware/nodejs-demo
- Owner: simplicitesoftware
- Created: 2014-07-10T09:38:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T09:38:11.000Z (4 months ago)
- Last Synced: 2024-07-16T19:25:40.189Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.97 MB
- Stars: 0
- Watchers: 4
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Simplicité Software](https://platform.simplicite.io/logos/logo250-grey.png)
* * *Node.js® demo
=================This project is a simple web frontend example using
the [Simplicité® node.js® & brower JavaScript API](https://www.npmjs.com/package/simplicite)
to connect to a Simplicité® demo backend instance from the **server-side**.Usage
-----This project is packaged to deploy on CloudFoundry but can also be used locally.
To run it locally you need to install (or update) the required packages:
```bash
npm install
```Then you can run the application by:
```bash
npm run start
```The following environment variables are required to point to the appropriate Simplicité® backend instance:
- `SIMPLICITE_URL`: URL of the instance (e.g. `http://:[/]`)
- `SIMPLICITE_USERNAME`: user name
- `SIMPLICITE_PASSWORD`: user password- the `/` root page displays the demo product catalog
- the `/user` page displays information about the userUsage on CloudFoundry
---------------------Adjust the `manifest.yml` to your needs:
- The deployment name, host and domain
- The host, port, root environment variables pointing to the above Simplicité® instanceTo deploy manually use:
```bash
cf push
```To undeploy manually use:
```bash
cf delete
```License
=======Copyright 2014-2024 Simplicité Software
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:[](http://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.