Skip to content

Instantly share code, notes, and snippets.

View tsega's full-sized avatar
🏰
Working from home

Tsegaselassie Tadesse tsega

🏰
Working from home
View GitHub Profile
@tsega
tsega / temp.md
Created August 17, 2019 13:52
Temp

Upgrade Status report

Custom modules and themes

RSVP List 1

Scanned on Sat, 08/17/2019 - 09:12.


2 errors found. Items categorized "Fix now" are uses of deprecated APIs in

Upgrade Status report
--------------------------------------------------------------------------------
Custom modules and themes
--------------------------------------------------------------------------------
RSVP List 1
--------------------------------------------------------------------------------
Scanned on Sat, 08/17/2019 - 09:12.
--------------------------------------------------------------------------------
2 errors found. Items categorized "Fix now" are uses of deprecated APIs in
@tsega
tsega / settings.json
Created December 27, 2019 11:54
Rest-a-culous - https://github.com/tsega/restaculous, sample settings file
{
"name": "Movies",
"description": "A REST API endpoint for a Movie streaming app.",
"author": "Tsegaselassie Tadesse <tsegaselassi@gmail.com>",
"directory": "./movies-api-tmp",
"repository": {
"type": "git",
"url": "http://git.gebeya.com/tsega/movie-api.git"
},
"config": [
@tsega
tsega / Ahad Hotel Booking API setting.json
Last active January 3, 2020 07:04
The restaculous settings.json file for Ahad Platform Hotel Booking API
{
"name": "Ahad Hotel Booking API",
"description": "Ahad Platform Hotel Booking API.",
"author": "Tsegaselassie Tadesse <tsegaselassi@gmail.com>",
"directory": "../ahad-hotel-booking-api",
"repository": {
"type": "git",
"url": "https://github.com/tsega/ahad-hotel-booking-api.git"
},
"authentication": true,
@tsega
tsega / d9_porting_weekend_setup.md
Last active June 7, 2020 13:05
How to contribute to Drupal 9 Porting Weekend

How to prepare for Drupal 9 Porting Weekend

If you haven't heard about it, there is an important event scheduled for May 22 & 23, 2020 to do mass porting of Drupal 8 modules and themes to Drupal 9.

The following a set of instructions will show you how to contribute to that effort.

For a more detailed detailed account please see Kristen Pol's blog post, Preparing yourself for Drupal 9 porting weekend.

1. Install Drupal 8 + Helper Modules

  1. First thing to do, of course, is to install Drupal 8 - the recommended way is to use composer. For alternative setups, see @mradcliffe comment below.
@tsega
tsega / rector.yml
Created May 23, 2020 05:55
Sample Drupal Rector configuration file
imports:
- { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8-all-deprecations.yml" }
# includes:
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.0-deprecations.yml" }
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.4-deprecations.yml" }
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.5-deprecations.yml" }
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.6-deprecations.yml" }
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.7-deprecations.yml" }
parameters:
@tsega
tsega / restaculous.md
Last active June 11, 2021 12:17
Restaculous

What?

A Node.js + Express REST API generator, that produces a highly structured application with the following features:

  • Fully tested API endpoints with CRUD operations
  • Express-Validator Integration
  • Automatically generate API documentation
  • Linting of source to ensure proper code formatting
  • Authentication
  • .env Integration