Skip to content

edenia/proton-full-stack-boilerplate

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Proton Full Stack Boilerplate

Edenia Boilerplate

A highly scalable skeleton with best practices, fullstack monorepo containing our front end and backend boilerplates.

Features!

This boilerplate features all the latest technologies and practices in the industry.

  • Hapi
  • Hasura
  • React
  • Kubernetes
  • EOSIO

Installation

Getting Started

Some things you need before getting started:

First Time

By default, if the .env files doesn't exist, the make run command will copy the content from .env.example to .env, this is done to help with the first running time of the project, please, make sure to update the environment variables according to your needs.

Quick Start

  1. Clone this repo using git clone --depth=1 https://github.com/edenia/proton-full-stack-boilerplate.git.
  2. Move to the appropriate directory: cd full-stack-boilerplate.
  3. Run make run in order to start the project using docker compose.

At this point you can navigate to http://localhost:3000.

File Structure

Within the download you'll find the following directories and files:

β”œβ”€β”€ docs
β”‚Β Β  └── img
β”œβ”€β”€ hapi
β”‚Β Β  └── src
β”‚Β Β      β”œβ”€β”€ config
β”‚Β Β      β”œβ”€β”€ routes
β”‚Β Β      β”œβ”€β”€ services
β”‚Β Β      └── utils
β”œβ”€β”€ hasura
β”‚Β Β  β”œβ”€β”€ metadata
β”‚Β Β  β”œβ”€β”€ migrations
β”‚Β Β  └── seeds
β”œβ”€β”€ kubernetes
β”œβ”€β”€ utils
β”œβ”€β”€ wallet
β”‚Β Β  └── config
└── webapp
    β”œβ”€β”€ public
    └── src
        β”œβ”€β”€ components
        β”‚Β Β  β”œβ”€β”€ Footer
        β”‚Β Β  β”œβ”€β”€ Header
        β”‚Β Β  β”œβ”€β”€ Loader
        β”‚Β Β  β”œβ”€β”€ Message
        β”‚Β Β  β”œβ”€β”€ PageTitle
        β”‚Β Β  └── Sidebar
        β”œβ”€β”€ config
        β”œβ”€β”€ context
        β”œβ”€β”€ gql
        β”œβ”€β”€ language
        β”œβ”€β”€ layouts
        β”‚Β Β  └── Dashboard
        β”œβ”€β”€ routes
        β”‚Β Β  β”œβ”€β”€ About
        β”‚Β Β  β”œβ”€β”€ Help
        β”‚Β Β  β”œβ”€β”€ Home
        β”‚Β Β  └── Route404
        β”œβ”€β”€ theme
        └── utils

Technical Documentation

Infrastructure Diagram

Technologies Specification

Kubernetes Cluster

At EOS Costa Rica, we build software taking into consideration a high availability of the services that can integrate it. For this, we use Kubernetes, that allows to isolate modules in order to reduce the risk of the system collapsing. In the image above, you can take a look at our representation of the architecture we consider is more suitable to our purposes.

Web Application

This FullStack Template uses React.js as a Frontend Library which together with other tools like Apollo Client, GraphQL and Material UI brings a robust solution for building Single Page Applications out of the box.

Backend

Hasura GraphQL Server

Hasura technology maps a PostgreSQL database and provides a reliable and easy-to-use API. This allow us to focus on critical features of our projects, delegating mechanic CRUD (Create, Read, Update, Delete) operations. Hasura also enables custom REST handling capabilities with the possibility to integrate a custom REST server, that way we can extend the base CRUD functionalities and build custom business logic.

Hapi REST Server

We need to handle REST custom requests coming from the Hasura GraphQL server. For this, we use hapi.dev, which is a simple and easy-to-use backend framework.

EOSIO Blockchain Technology Integration

As a company that delivers EOSIO blockchain-based solutions, we build a template which contains EOSIO integration, specifically eosjs. This allow us to iterate quickly over the more challenging features of our projects.

Contributing

Please Read EOS Costa Rica's Open Source Contributing Guidelines.

Please report bugs big and small by opening an issue

This project follows the all-contributors specification. Contributions of any kind welcome!

About Edenia

Edenia runs independent blockchain infrastructure and develops web3 solutions. Our team of technology-agnostic builders has been operating since 1987, leveraging the newest technologies to make the internet safer, more efficient, and more transparent.

edenia.com