All Projects β†’ strongloop β†’ Loopback.io

strongloop / Loopback.io

Licence: other
LoopBack project site - now with documentation!

Projects that are alternatives of or similar to Loopback.io

Amplitude Ios
Native iOS/tvOS/macOS SDK
Stars: ✭ 216 (-1.82%)
Mutual labels:  hacktoberfest
Tor Socks Proxy
🐳 Tiny Docker(🀏 10MB) image as πŸ§… Tor SOCKS5 proxy πŸ›‘
Stars: ✭ 218 (-0.91%)
Mutual labels:  hacktoberfest
React Native Simple Dialogs
βš› Cross-platform React Native dialogs based on the Modal component
Stars: ✭ 218 (-0.91%)
Mutual labels:  hacktoberfest
Laminas Diactoros
PSR HTTP Message implementations
Stars: ✭ 216 (-1.82%)
Mutual labels:  hacktoberfest
Discord Twitter Bot
Posts Twitter Tweets to Discord through Webhook
Stars: ✭ 219 (-0.45%)
Mutual labels:  hacktoberfest
Jumpdrive
Flash/Rescue SD Card image for PinePhone and PineTab
Stars: ✭ 217 (-1.36%)
Mutual labels:  hacktoberfest
Bookmarks.dev
Bookmarks and Code Snippets Manager for Developers & Co
Stars: ✭ 218 (-0.91%)
Mutual labels:  hacktoberfest
Factory boy
A test fixtures replacement for Python
Stars: ✭ 2,712 (+1132.73%)
Mutual labels:  hacktoberfest
Wolvenkit
Mod editor/creator for RED Engine games. The point is to have an all in one tool for creating mods for the games made with the engine.
Stars: ✭ 218 (-0.91%)
Mutual labels:  hacktoberfest
City Scrapers
Scrape, standardize and share public meetings from local government websites
Stars: ✭ 220 (+0%)
Mutual labels:  hacktoberfest
Nix 1p
A (more or less) one page introduction to Nix, the language.
Stars: ✭ 219 (-0.45%)
Mutual labels:  hacktoberfest
Easyupipayment Android
πŸ“±Android Library to implement UPI Payment integration easily in Android App πŸ’³πŸ’Έ
Stars: ✭ 219 (-0.45%)
Mutual labels:  hacktoberfest
Hacktoberfest2020
A repo for new open source contributors to begin with open source contribution. Contribute and earn awesome swags.
Stars: ✭ 221 (+0.45%)
Mutual labels:  hacktoberfest
Taffy
🍬 The REST Web Service framework for ColdFusion and Lucee
Stars: ✭ 218 (-0.91%)
Mutual labels:  hacktoberfest
Site
The new frontend/backend code for https://christine.website
Stars: ✭ 220 (+0%)
Mutual labels:  hacktoberfest
Graphite exporter
Server that accepts metrics via the Graphite protocol and exports them as Prometheus metrics
Stars: ✭ 217 (-1.36%)
Mutual labels:  hacktoberfest
Dungeon Revealer
A web app for tabletop gaming to allow the game master to reveal areas of the game map to players, roll dice and take notes.
Stars: ✭ 218 (-0.91%)
Mutual labels:  hacktoberfest
Fomantic Ui
Fomantic-UI is a community fork of Semantic-UI
Stars: ✭ 2,755 (+1152.27%)
Mutual labels:  hacktoberfest
Tfsec
Security scanner for your Terraform code
Stars: ✭ 3,622 (+1546.36%)
Mutual labels:  hacktoberfest
Malwless
Test Blue Team detections without running any attack.
Stars: ✭ 215 (-2.27%)
Mutual labels:  hacktoberfest

loopback.io

LoopBack community site, http://loopback.io. This website now includes the LoopBack documentation.

NOTE: The website is served from the gh-pages branch.

This repository is provided under the MIT License.

Setup

To preview the website locally:

  1. Install Ruby and Bundler if you don't have them already.

  2. Clone this repo (you might use the SSH URL instead of HTTPS).:

git clone https://github.com/strongloop/loopback.io.git
  1. cd to the repository directory and run the following command:
$ cd loopback.io
$ bundle install

Bundler will look in the Gemfile for which gems to install. The github-pages gem includes the same version of Jekyll and other dependencies as used by GitHub Pages, so that your local setup mirrors GitHub Pages as closely as possible.

Run and view site locally

Run Jekyll using the following command:

$ npm start

Then, load http://localhost:4001/ on your browser.

NOTE: The docs part will be at http://localhost:4001/doc. It's not yet linked from the main "overview" part of the site, but will be once we launch (RSN).

Formatting

Jekyll uses a variant of Markdown known as Kramdown.

Jekyll uses the Liquid template engine for templating.

Incorporating external READMEs

The documentation incorporates README files from a number of LoopBack example repositories. We use the get-readmes utility to fetch the README files directly from GitHub. Here is how to update the READMEs

  1. npm install (first time/setup only)
  2. npm run fetch-readmes

From there, the README markdown files are incorporated into documentation articles using the standard Jekyll "include" syntax as follows (for example):

---
title: "Angular example app"
lang: en
layout: readme
source: loopback-example-angular
keywords: LoopBack
tags:
sidebar: lb2_sidebar
permalink: /doc/en/lb2/Angular-example-app.html
summary: A brief tutorial on creating an Angular client app using the Loopback AngularJS SDK.
---

{% include readmes/loopback-example-angular.md %}

Incorporating updates from loopback-next

We use a node script update-lb4-docs to copy over contents from loopback-next repository using @loopback/docs package. The script is responsible for copying over the markdown documentation and related tables, as well as the sidebar used for LoopBack 4 content. The changes are then picked up as part of Travis CI's builds along with README update scripts and deployed to GitHub Pages once successful. The upgrade-swagger-ui.js script is also run as part of the builds. If you'd like to make documentation changes for LoopBack 4, please do so on its own repository.

Linting Readmes

There is an additional npm script that "lints" the readmes for markdown formatting problems. It is currently "experimental", see this issue for more info.

You can run this script thus:

$ npm run lint-readmes

LoopBack.io Docs Search

Docs Search is powered by IBM Watson Discovery.

How it works

There are two parts of work to get this working:

  1. The Discovery service is one of the services provided by IBM Cloud. A collection is created with loopback.io as the URL we'd like to sync.

  2. The IBM Cloud function is used for the search function calling the discovery service and parse the output in the form that the LoopBack web site understands.

Front End

Each documentation page has a search bar the top. The search will redirect the user to a /search page to show the results. The results are retrieved from a IBM Cloud Function that acts as a proxy to protect Watson Discovery credentials. The search bar also contains a hidden form input that sets the sidebar value and Watson Discovery filters content based on this value to return context aware results. Ex: Searching for the word controller from a LoopBack 4 documentation page will return LoopBack 4 results. To search all documents you can search from the /search page. Community Docs and Contribution docs are included in all results.

Cloud Function

The code for the Cloud function can be found here. It is deployed to the same account and must be edited directly in IBM Cloud (formerly BlueMix). The repository exists to document code changes and have peer reviews. Credentials for accessing the Cloud Function can be obtained from Diana Lau OR you can ask them to re-deploy changes.

Your own version

You can deploy the code on your own IBM Cloud account and upload the URL for Discovery in search.html.

Contributing

This project uses DCO. Be sure to sign off your commits using the -s flag or adding Signed-off-By: Name<Email> in the commit message.

Example

git commit -s -m "feat: my commit message"

Also see the Contributing to LoopBack documentation to get you started.

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