Skip to content

Instantly share code, notes, and snippets.

View eldarseitabla's full-sized avatar
👨‍💼
Work

Eldar Sieitablaiev eldarseitabla

👨‍💼
Work
View GitHub Profile
@eldarseitabla
eldarseitabla / BusinessCard.md
Created April 8, 2023 10:06
Business Card - eldar.seitabla.com

Business Card - eldar.seitabla.com

Tech stack:

  • React.js
  • AWS Amplify
  • DynamoDB
  • GraphQL
  • GitHub
  • CI/CD (Dev/Prod)
@eldarseitabla
eldarseitabla / README.md
Created August 25, 2018 18:58 — forked from tmilos/README.md
Modified Preorder Tree Traversal

Modified Preorder Tree Traversal

Hierarchical data metrics that allows fast read operations on tree like structures.

Based on Left and Right fields that are set during tree traversal. When entered into node value is set to it's Left, when exiting node value is set to it's Right.

Sample implementation

@eldarseitabla
eldarseitabla / compositePrimaryKeyInSequelize.js
Created August 25, 2018 09:29
Composite Primary Key in Sequelize
/*
* Migration
*/
'use strict';
module.exports = {
up: function(queryInterface, Sequelize) {
return queryInterface.createTable('Users', {
firstName: {
type: Sequelize.STRING
},
@eldarseitabla
eldarseitabla / A-RBAC-in-Database.md
Last active June 28, 2019 23:04
RBAC - (role based access control) schemas in mysql, postgres and sqlite

RBAC - (role based access control) schemas in mysql, postgres and sqlite

This is data shemas for build RBAC

  • PostgreSQL shema
  • MySQL shema
  • Sqlite shema