Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdmedlock/be-demo
https://github.com/jdmedlock/be-demo
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jdmedlock/be-demo
- Owner: jdmedlock
- Created: 2022-11-10T17:15:22.000Z (about 2 years ago)
- Default Branch: development
- Last Pushed: 2023-04-12T20:57:29.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T14:17:27.873Z (3 months ago)
- Language: JavaScript
- Size: 221 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# be-demo
[contributors-shield]: https://img.shields.io/github/contributors/jdmedlock/be-demo.svg?style=for-the-badge
[contributors-url]: https://github.com/jdmedlock/be-demo/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/jdmedlock/be-demo.svg?style=for-the-badge
[forks-url]: https://github.com/jdmedlock/be-demo/network/members
[stars-shield]: https://img.shields.io/github/stars/jdmedlock/be-demo.svg?style=for-the-badge
[stars-url]: https://github.com/jdmedlock/be-demo/stargazers
[issues-shield]: https://img.shields.io/github/issues/jdmedlock/be-demo.svg?style=for-the-badge
[issues-url]: https://github.com/jdmedlock/be-demo/issues[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
## Table of Contents* [Overview](#overview)
* [Application Architecture](#application-architecture)
* [Installation & Configuration](#installation-configuration)
* [License](#license)## Overview
`be-demo` is a test platform for backend application server libraries,
practices, & techniques.## Application Architecture
This server is built using the following main libraries, services, and tools.
For all others and for current release dependencies please consult the
`package.json` file.| Dependency | Description |
|-------------|-----------------------------|
| Dotenv | Library for managing .env |
| ExpressJS | Frontend framework |The following backend services are invoked using a REST API:
| Route | Description |
|---------|---------------------------------------------------|
| wakeup | Wakes up the backend when the first FE page loads |![Wakeup](./public/wakeup.png)
## Installation & Configuration
1. Clone or fork this repo using git. Don't forget that to create a runnable application you'll also need the backend.
2. `npm install`
3. To run the app locally enter `npm run dev`
4. Open a new browser window and navigate to the URL `http://localhost:3100/wakeup`. This assumes that you haven't changed the default port number.
### Environment variables
The following environment variables must be set up for the app to run properly:
| Key | Value |
|-----------------|--------------------------------------|
| PORT | |
| CLOUDINARY_URL | cloudinary://: |
| CLOUDINARY_NAME | |## Release History
You can find what changed, when in the [release history](./docs/RELEASE_HISTORY.md)
## License
Copyright 2022
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
=======