Skip to content

Instantly share code, notes, and snippets.

View SlimenTN's full-sized avatar
👋
happy to see you

Slimen Arnaout SlimenTN

👋
happy to see you
View GitHub Profile
@SlimenTN
SlimenTN / app.component.html
Created May 6, 2020 14:19
Parse list of blogs coming via GraphQL
<h1>Welcome to QraphQL Client for Angular</h1>
<div>
<h3>List of blogs</h3>
<ul>
<li *ngFor="let blog of blogs">{{ blog.title }} ({{ blog.author.firstName + ' ' + blog.author.lastName}})</li>
</ul>
</div>
@SlimenTN
SlimenTN / app.component.ts
Last active May 6, 2020 14:20
GraphQL example with Angular
import { Component, OnInit } from '@angular/core';
import { Apollo } from 'apollo-angular';
import gql from 'graphql-tag';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
@SlimenTN
SlimenTN / LightFramework_.htaccess
Created October 17, 2016 13:27
Light is a micor framework based on MVC architecture
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^/?(.*)$ app_launcher.php [L]
@SlimenTN
SlimenTN / LightFramework_.htaccess
Created October 17, 2016 13:24
Light is a micor framework based on MVC architecture.
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^/?(.*)$ app_launcher.php [L]