Skip to content

reflexer-labs/geb-website

Repository files navigation

Reflexer

Reflexer Website

Reflexer website is built with Gatsby and Contentful CMS.

Advantages of using this stack

  1. Gatsby is a framework built upon React and provides something called SSG (Static Site Generation) which means it generates HTML files at build time, and that is useful for SEO and Search Engines crawlers to rank the website since they do not read full js applications like normal react app.

  2. Gatsby connects with headless CMS called Contentful which provides a great GUI where we can just add model and content and save it somewhere for free (Gives us 1GB of storage) also it renders GraphQL API that we use it in Gatsby to show our content.

Bottom line is we are having the best of both, as Developer we use React like app and at the same time we are having some kind of a backend with an admin interface built for us for free to use it in content manipulation and as non-developer I can go manipulate content from an admin interface without touching the code. 🚀

Preview

A preview link on Render will be generated when you make a new branch with the fixes you want and then make a PR to the develop branch and this link stays alive as long as the PR is opened.

Deployment

  1. Development. https://reflexer-website.onrender.com

    This is used for staging changes/features and you can view it from here, also it updates with the latest changes everytime you merge a new branch into develop branch. (Takes around 2-3 mins for it for finish building and uploads the files to the url)

  2. Production. https://reflexer.finance

    You have to CREATE a new RELEASE! on MASTER branch.

    • Content Changes

      Unfortunately there is no easy way ATM for this except we have to release everytime we change something in the Contentful CMS, so all you have to do is just you come here after you are done publishing your changes on Contentful and then create a new release on master branch

    • Files Changes

      You have to make a PR and merge develop with master then create a new release on master and this will trigger github Actions and release the new version of the source files plus the new data from Contentful