-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from NoelDeMartin/clean-up
Clean up
- Loading branch information
Showing
9 changed files
with
75 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Solid Hello World | ||
# Solid Hello World (solid-file-client) | ||
|
||
This is a simple application illustrating how to get started with [Solid](https://solidproject.org/) using the [solid-file-client](https://github.com/jeff-zucker/solid-file-client) library. | ||
|
||
It only has two dependencies: [an authentication library](https://github.com/inrupt/solid-client-authn-js) and [solid-file-client](https://github.com/jeff-zucker/solid-file-client). Everything else is plain HTML, CSS and JavaScript. All the functionality related to Solid is contained in a single file; `solid.js`. | ||
|
||
## Understanding the code & Usage instructions | ||
|
||
This example follows the same structure as the other examples, so you follow the [same instructions](../). | ||
This example follows the same structure as other examples in this repository, so you can follow these [general instructions](../). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Solid Hello World (REST API) | ||
|
||
This is a simple application illustrating how to get started with [Solid](https://solidproject.org/). | ||
|
||
It only has two dependencies: [an authentication library](https://github.com/inrupt/solid-client-authn-js) and [an RDF parsing library](https://github.com/rdfjs/N3.js). Everything else is plain HTML, CSS and JavaScript. All the functionality related with Solid is contained in a single file; `solid.js`. | ||
|
||
## Understanding the code & Usage instructions | ||
|
||
This example follows the same structure as other examples in this repository, so you can follow these [general instructions](../). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,12 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<title>Solid Hello World</title> | ||
<title>Solid Hello World (REST API)</title> | ||
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css"> | ||
</head> | ||
|
||
<body> | ||
<h1>Solid-Rest-Api Hello World</h1> | ||
<h1>Solid Hello World<br><small>(REST API)</small></h1> | ||
|
||
<div id="loading"> | ||
<p>Loading...</p> | ||
|
@@ -19,11 +19,11 @@ <h1>Solid-Rest-Api Hello World</h1> | |
<p>Hi there!</p> | ||
<p> | ||
This page is a showcase of a simple <a href="https://solidproject.org/" target="_blank">Solid application</a> | ||
built using JavaScript, CSS and HTML. You can look at the source code and learn how to use it in the | ||
<a href="https://github.com/0dataapp/hello/tree/main/solid/solid-rest-api" target="_blank">solid-rest-api repository</a>. | ||
built using JavaScript, CSS and HTML. You can look at the source code and learn how to use it in | ||
<a href="https://github.com/0dataapp/hello/tree/main/solid/solid-rest-api" target="_blank">the repository</a>. | ||
</p> | ||
|
||
<p>If you want to see other examples, you can find them here: <a href="../index.html">Solid Hello World Examples</a>.</p> | ||
<p>If you want to see other examples, you can find them here: <a href="../">Solid Hello World Examples</a>.</p> | ||
|
||
<button id="login-button" type="button" onclick="login()">Log in with Solid</button> | ||
</div> | ||
|
@@ -37,7 +37,7 @@ <h2>Your tasks</h2> | |
<button type="button" onclick="createTask()">Create new task</button> | ||
</div> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/n3-browserify@1.11.1"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/n3@1.12.1/browser/n3.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@inrupt/[email protected]/dist/solid-client-authn.bundle.js"></script> | ||
<script src="solid.js"></script> | ||
<script src="main.js"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters