All Projects → GTBitsOfGood → website

GTBitsOfGood / website

Licence: AGPL-3.0 license
Our website, built from the ground up with Svelte + Sapper to connect nonprofits, students, and everyone else in between with Bits of Good 🚀

Programming Languages

Svelte
593 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to website

sapper-authentication-demo
A demonstration of Auth with Sapper + JWT + Server Side Rendering + RBAC
Stars: ✭ 102 (+155%)
Mutual labels:  sveltejs, sapper
permacoop
Open source and eco design ERP solution reserved for worker-owned business.
Stars: ✭ 167 (+317.5%)
Mutual labels:  sveltejs, sapper
svelte3-translation-ru
Russian translation of the official Svelte resources
Stars: ✭ 49 (+22.5%)
Mutual labels:  sveltejs, sapper
svelte-meteor-data
Reactively track Meteor data inside Svelte components
Stars: ✭ 14 (-65%)
Mutual labels:  sveltejs
memento-svelte-electron-typescript
Template to create a desktop app with Svelte, TailwindCSS, Electron and TypeScript (with electron-updater, electron-reload and electron-builder)
Stars: ✭ 27 (-32.5%)
Mutual labels:  sveltejs
svelte-component-library-template
A base for building Svelte component library.
Stars: ✭ 62 (+55%)
Mutual labels:  sveltejs
svelte-progressbar
A multiseries, SVG progressbar component made with Svelte
Stars: ✭ 85 (+112.5%)
Mutual labels:  sveltejs
gomodest-starter
A complex SAAS starter kit using Go, the html/template package, and sprinkles of javascript.
Stars: ✭ 68 (+70%)
Mutual labels:  sveltejs
svelte-webcomponents
A ready-to-use project template to build custom elements (web components) with Svelte 3 with support and examples for web components, jest, sass, nested components with props, eslinting, stylelinting, Github actions, propagating custom events from shadow-DOM to real-DOM etc.
Stars: ✭ 22 (-45%)
Mutual labels:  sveltejs
svelteify
📲 Customizable and dependencies-less Material components with Svelte
Stars: ✭ 43 (+7.5%)
Mutual labels:  sveltejs
svelte-click-outside
A wrapper component that provides click outside detection
Stars: ✭ 28 (-30%)
Mutual labels:  sveltejs
svelte-hamburgers
Custom Hamburger Icons in Svelte with ease
Stars: ✭ 27 (-32.5%)
Mutual labels:  sveltejs
svelte-persistent-store
A Svelte store that keep its value through pages and reloads
Stars: ✭ 111 (+177.5%)
Mutual labels:  sveltejs
http-interceptors
The Web apps in this monorepo make HTTP requests and require uniform consistency in how they are executed and handled. This monorepo demonstrates the same app written with Angular and with Svelte. Each app uses HTTP interceptors. The Angular app uses HttpClient and its interceptors while the Svelte app uses Axios and its interceptors.
Stars: ✭ 46 (+15%)
Mutual labels:  sveltejs
svelte-interview-questions
Concepts and Questions related to Svelte - Part of official Svelte resources list
Stars: ✭ 18 (-55%)
Mutual labels:  sveltejs
cv
My online CV using Svelte
Stars: ✭ 35 (-12.5%)
Mutual labels:  sveltejs
template
Elder.js template project. It is part template, part tutorial. Dive in!
Stars: ✭ 101 (+152.5%)
Mutual labels:  sveltejs
plate-app
🍛 What's on your Plate?
Stars: ✭ 49 (+22.5%)
Mutual labels:  sveltejs
svelte-headlessui
Unofficial Svelte port of Headless UI components
Stars: ✭ 564 (+1310%)
Mutual labels:  sveltejs
svelte-pagination
Example of a pagination component in Svelte
Stars: ✭ 15 (-62.5%)
Mutual labels:  sveltejs

Welcome to BoG Web 👋

Twitter: bholmesdev

The official landing site for Bits of Good 🚀

Tech stack breakdown

The bits of good landing page is built on some modern tooling to keep everything nice and future-proof. Let's dive into what we're using.

Our frontend framework: SvelteJS

Everything you see is built on SvelteJS, a component-based framework that magically disappears There are countless reasons we chose this framework, as it brings a host of benefits for decreasing bundle size and load times. However, we mainly chose it because of how easy the syntax is to understand! You can read more here to learn why it's so awesome, or just dive into the docs to start experimenting yourself.

Sapper

Along with Svelte, we are using Sapper to make wiring everything up a bit easier. Mainly, Sapper provides:

  • Automatic client-side routing out of the box. Basically, any component in the src/routes directory becomes its own page you can link to using a regular old <a> tag!
  • Preloading of information before loading the page. This makes it easy to fetch our website's text content and other resources before the initial page load.
  • Spinning up a server to serve all our pages, complete with server-side rendering!

Our site content: Contentful

For basically every text field you see on the site, we're fetching it using Contentful. This is a headless CMS that allows us to host all of our images, text, markdown, etc. in one place.

This is a huge benefit for our designers, who can now just edit a textbox or upload an image to see it appear on the site!

Install Dependencies

yarn install

Set up Contentful content model

For external contributors or contributors that don't have access to Bits of Good's Contentful API key, you can run the seed-contentful script to seed a data export into your own Contentful account

Script Usage: yarn seed-contentful

This command will ask you for a space ID, and access tokens for the Contentful Management and Delivery API. It will import the data export into your Contentful space and create a local .env with environment variables to retrieve data from Contentful.

Start up the site

If you're working in development, run the following to build + run the site with live reloading goodness:

yarn dev

For production builds, run the following to build and start the site:

yarn build && yarn start

In either case, you should be able to visit localhost:3000 to see the website in action!

Run the tests

This site uses Cypress for thorough end-to-end testing. To start up the testing environment, you can run:

yarn test

This will start the server and open Cypress. You can (and should!) add tests in cypress/integration/spec.js — consult the Cypress docs for more information.

Contributors

👤 Ben "Over-engineered" Holmes

👤 Rishov Sarkar

👤 Max Karpawich

Show your support

Give a ⭐️ if this project helped you!

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