Skip to content
This repository has been archived by the owner on Nov 28, 2021. It is now read-only.

eddiejaoude/stargate

Repository files navigation

🤖 Discord bot using Stargate 🤖

Total alerts

Stargate is a data gateway deployed between client applications and a database. It's built with extensibility as a first-class citizen and makes it easy to use a database for any application workload by adding plugin support for new APIs, data types, and access methods. YouTube video of Stargate YouTube thumbmnail for Stargate

Technologies Used

GitHub actions

Tag Name Triggers Results
Changelog status Change Log Pushes to main branch Updates release tag
CodeQL status CodeQL Status Pushes & Pull Request Checkout repository, installs dependencies, build files, perform analysis
Docker Publish status Docker Publish Status Published releases build, test, push to registory, deploy
Docs status Docs status Pushes to doc/ repository Checkout source files, build doc files, deploy
Labels status Labels status Pushes to doc/labels.json checkout source files, install deps, import labels
Node CI status Node CI status Pushes & Pull Request Checkout source files, install dependencies, lint source files, verify build, run tests
Stale issues and PRs status Stale issues and PRs status Iterval of every 30 minutes Updates issue / PR messages & labels

Screenshot

screenshot

Quickstart

  1. Fork the project
  2. Clone project using git clone [email protected]:<YOUR-USERNAME>/stargate.git
  3. Navigate into the project using cd stargate
  4. Run cp .env.example .env
  5. Add the respective env-vars to the .env file
  6. Install dependencies npm install
  7. Run the docker container for stargate (not this repo) with docker-compose up

Docs

Full docs deployed to https://eddiejaoude.github.io/stargate/ and available in the repo at docs/README.adoc

Building the docs

Install AsciiDoctor and CodeRay.

npm run docs

Phase 1

Goals

A video tutorial on how to use Stargate serverless

Features:

  • CRUD usage of Stargate
  • Discord Bot (bio, social links, timezone)
  • 5-10mins edited video

Challenges

  • Cassandra is associated with being "scary"
  • People using what they are used to even if the wrong tool for the job
  • People use what they hear most for example Mongo or an equivalent in the frontend space React

Storytelling

  • That it is not any more difficult than similar alternatives
  • Simple and quick to use at hackathons and build prototypes
  • Scalable so that enterprise projects can use it too
  • Serverless is an affordable option for everyone (also has a free tier)
  • Stargate is open source and can grow and scale with the project

Problem

  • Awareness of Stargate
  • Cassandra scares people, usually perceived as being "difficult" or "hard"
  • Educating people on the benefits of using Stargate

Solution

  • Short / concise video (5-10mins)
  • 1min social teaser video
  • Include what is Stargate serverless
  • Build a simple Discord bot, to get/set user details and read/write to DB using Stargate serverless (bio, socials)

Vision

  • Easily digestible content
  • More projects on Github using Stargate
  • Clear and engaging message
  • Lowering the barrier to entry
  • Low cost of usage
  • Community excited about it

Impact

  • Evergreen content
  • Searchable content
  • Concise / digestible content for everyone to get started
  • Community building their own projects with Stargate serverless

DataStax Discord Bot v0.1

Made with ❤️ by an awesome open source community!