megoth / rdfjs

A demo website that displays various ways of handling RDF data with JavaScript
https://rdfjs.dev
MIT License
5 stars 2 forks source link
javascript linked-data rdf react semantic-web typescript vite

RDF + JS = ❤

This is the Git repository for rdfjs.dev, which is a website that aims to make it easier for developers to use RDF (aka Linked Data, aka Semantic Web) in combination with JavaScript or TypeScript. The website is not affiliated with the RDF/JS Community Group, although they've graciously allowed me to use their logo for this website.

If you want me to add another library or otherwise improve upon the existing content, please let me know by creating an issue. This is a project I'm maintaining on my free time, so I cannot promise a quick reply, but I'll try to get back to you.

This website is created using Vite, React, React Router, React Hook Form, and useLocalStorage. The design is composed using Bulma, React Icons, and Prism. It's written in TypeScript, TSX, MDX, and CSS Modules. For authentication in the Solid demos I've made use of @ldo/solid-react.

Using the website as template for your apps

The project is licensed using the MIT License, so there are few restrictions wrt reusing the code. If anything, I would like for this to be a good starting point for RDF frontend apps, so let me know if you have any feedback on that.

To get everything up and running, clone the repo and install dependencies:

npm install

Now you can start development by running npm run dev.

If you want to build the site, run npm run build. You can preview the output by running npm run preview.

I'm using Vercel for continuous integration and I can recommend it for these kinds of projects.