Project Boilerplate

What is a Boilerplate?#

A boilerplate is a framework or template for the development of a project. It is a project structure already defined in advance that serves to streamline the organization and development of the software. Accelerates the integration of solutions and formats that serve to drive the development of a new project to production.

At EOS Costa Rica we have created three boilerplate repositories: Front-End Boilerplate , Back-End Boilerplate and Full-Stack Boilerplate.

Front-End Boilerplate#

EOS Costa Rica Front-End Boilerplate

"Front-end" refers to the user interface and in the context of a web application is the application that runs in the user's web browser.

We use React JS, a JavaScript library for building high-performance and component-based user interfaces that facilitates the development of user interfaces. complex user with predictable code and easy to debug.

Front-End Tech Stack#

React Component Collections#

We have developed a collection of components in React for EOSIO. You can see the components we have built in our [EOS Costa Rica React Components Storybook] (https://guias.eoscostarica.io/docs/tutoriales/tutorial-react#componentes-en-eos-costa-rica) For more information about the components you can visit Component Repository.

Back-End Boilerplate#

EOS Costa Rica Back-End Boilerplate

"Back-end" refers to the server application, can be described is the data access layer of an application that contains the business logic for managing data within the application.

Back-End Tech Stack#

Infrastructure#

GraphQL / Hasura#

The Hasura GraphQL engine automatically generates your GraphQL schema and resolvers based on your tables / views in Postgres. You do not need to write a GraphQL schema or solvers.

The Hasura console gives you user interface tools that speed up your data modeling process or working with your existing database. The console also automatically generates migrations or metadata files that you can edit directly and check in your version control.

The Hasura GraphQL engine allows you to do anything you would normally do with Postgres by providing GraphQL on top of native Postgres constructs.

Get more information at Hasura.

HTTP API (HAPI)#

hapi.js (commonly known as hapi) is short for HTTP API. It is a rich framework for creating applications and services. It was originally designed for rapid development of RESTful API services using JavaScript, but has since grown into a complete web application framework with out-of-the-box features, input validation, authentication, caching, and more recently, support. for real-time applications with web socket support.

Get more information at hapi.

EOSIO#

EOSIO is a third generation blockchain that will achieve the goal of providing an immutable, permanent, traceable and verifiable record of all activity in container warehouses. These data will be public and may be consumed by any external third party.

Get more information at EOSIO components.

PostgresDB#

"PostgreSQL is a powerful open source object relational database system with over 30 years of active development that has earned it a solid reputation for reliability, robustness and performance".

PostgreSQL comes with many features intended to help developers build applications, administrators protect data integrity and create fault tolerant environments, and manage their data no matter how large or small the data set is. Get more information at PostgresDB.

Full-Stack Boilerplate#

EOS Costa Rica Full-Stack Boilerplate.

The Full-Stack Boilerplate contains both the client and server software. We have created a highly scalable skeleton with best practices, fullstack monorepo that contains our front-end and back-end boilerplates.

Full-Stack Diagram#

full-stack-boilerplate

Last updated on by JustinCast