Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janosh/afara
Homepage of the German student-run non-profit Afara e.V. built Svelte and Contentful.
https://github.com/janosh/afara
algolia contentful education graphql non-profit ssr svelte
Last synced: 2 months ago
JSON representation
Homepage of the German student-run non-profit Afara e.V. built Svelte and Contentful.
- Host: GitHub
- URL: https://github.com/janosh/afara
- Owner: janosh
- License: mit
- Created: 2021-01-21T12:21:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T16:29:47.000Z (9 months ago)
- Last Synced: 2024-05-01T23:40:41.073Z (8 months ago)
- Topics: algolia, contentful, education, graphql, non-profit, ssr, svelte
- Language: Svelte
- Homepage: https://afara.foundation
- Size: 412 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
Afara e.V.
[![Deployment](https://github.com/janosh/afara/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/janosh/afara/actions/workflows/gh-pages.yml)
[![Lighthouse](https://github.com/janosh/afara/actions/workflows/lighthouse.yml/badge.svg)](https://github.com/janosh/afara/actions/workflows/lighthouse.yml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/janosh/afara/main.svg)](https://results.pre-commit.ci/latest/github/janosh/afara/main)
![GitHub repo size](https://img.shields.io/github/repo-size/janosh/afara?label=Repo+Size)Afara is a non-profit organization from Würzburg, Germany aiming to support educational and youth welfare projects in Africa.
This site is built with [Svelte](https://github.com/sveltejs/svelte) and [Contentful](https://contentful.com).
## Setup
Running this site locally requires [`git`](https://git-scm.com) and [`pnpm`](https://pnpm.io) (or [`npm`](https://npmjs.com)). With those installed, do:
1. Clone the repo and change into its directory.
```sh
git clone https://github.com/janosh/afara && cd afara
```2. (optional) Setup [`pre-commit` hooks](https://pre-commit.com).
```sh
pre-commit install
```3. Install dependencies.
```sh
pnpm
```4. Copy `.env.example` to `.env`.
```sh
cp .env.example .env
```Then open `.env` and insert your [Contentful space ID and access token](https://contentful.com/developers/docs/references/authentication). These are found in the settings menu of a Contentful space under 'API keys'.
5. Start the dev server.
```sh
pnpm dev
```## Deployment
This site is deployed as static HTML to [GitHub Pages](https://github.com/janosh/afara/deployments/activity_log) ([by this action](.github/workflows/gh-pages.yml)).