iris-contrib / Examples
Licence: mit
This repository contains small and practical examples for the Iris Web Framework.
Stars: ✭ 581
Labels
Projects that are alternatives of or similar to Examples
Deepspeech Examples
Examples of how to use or integrate DeepSpeech
Stars: ✭ 356 (-38.73%)
Mutual labels: examples
Design Patterns
Contains examples of design patterns that implemented in php
Stars: ✭ 375 (-35.46%)
Mutual labels: examples
Elm Architecture Tutorial
How to create modular Elm code that scales nicely with your app
Stars: ✭ 4,147 (+613.77%)
Mutual labels: examples
Romaniancoderexamples
Java / SpringBoot / Angular examples for the Romanian Coder YouTube channel
Stars: ✭ 353 (-39.24%)
Mutual labels: examples
Rxjava2 Android Samples
RxJava 2 Android Examples - Migration From RxJava 1 to RxJava 2 - How to use RxJava 2 in Android
Stars: ✭ 4,950 (+751.98%)
Mutual labels: examples
Prose
Microsoft Program Synthesis using Examples SDK is a framework of technologies for the automatic generation of programs from input-output examples. This repo includes samples and sample data for the Microsoft Program Synthesis using Example SDK.
Stars: ✭ 470 (-19.1%)
Mutual labels: examples
Learning Rust
Rust 学习之路 > Rust Programming Tutorial, include articles, interview, example, problems.
Stars: ✭ 376 (-35.28%)
Mutual labels: examples
Interactive Examples
Home of the MDN live code editor interactive examples
Stars: ✭ 389 (-33.05%)
Mutual labels: examples
Example Ios Apps
A curated list of Open Source example iOS apps developed in Swift. An amazing list for people who are beginners and learning ios development and for ios developers who need any example app or feature.
Stars: ✭ 461 (-20.65%)
Mutual labels: examples
C Cpp Notes
Notes about modern C++, C++11, C++14 and C++17, Boost Libraries, ABI, foreign function interface and reference cards.
Stars: ✭ 363 (-37.52%)
Mutual labels: examples
Aws Doc Sdk Examples
Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.rst file below.
Stars: ✭ 4,575 (+687.44%)
Mutual labels: examples
Kotlin Flow Android Examples
Kotlin Flow Android Examples - How to use it in Android Project
Stars: ✭ 424 (-27.02%)
Mutual labels: examples
Kotlin Coroutines Android Examples
Learn Kotlin Coroutines for Android by Examples. Learn how to use Kotlin Coroutines for Android App Development.
Stars: ✭ 572 (-1.55%)
Mutual labels: examples
Apisprout
Lightweight, blazing fast, cross-platform OpenAPI 3 mock server with validation
Stars: ✭ 519 (-10.67%)
Mutual labels: examples
Go Packages
A large repository of code and documented examples for Go's standard package library.
Stars: ✭ 467 (-19.62%)
Mutual labels: examples
Examples
This repository provides easy to understand code snippets on how to get started with web development with the Go programming language using the Iris web framework. This branch contains the latest iris master examples. For the stable's version examples navigate through the v12 branch.
To read the Iris documentation please navigate to the wiki pages instead.
Examples are tested using Windows 10, Ubuntu 20.04 with Microsoft's Visual Studio Code and built using the Go 1.15.0.
Table of Contents
- Serverless
- REST API for Apache Kafka
- URL Shortener
- Dropzone.js
- Caddy
- Database
- HTTP Server
- Configuration
- Routing
- Logging
- API Documentation
- Testing
- Recovery
- Profiling
- File Server
- View
- Overview
- Layout
- Basic
- A simple Layout
- Layouts:
yield
andrender
tmpl funcs - The
urlpath
template func - The
url
template func - Inject Data Between Handlers
- Inject Engine Between Handlers
- Embedding Templates Into App Executable File
- Write to a custom
io.Writer
- Parse a Template from Text
- Blocks
- Blocks Embedded
- Pug:
Actions
- Pug:
Includes
- Pug Embedded`
- Ace
- Django
- Amber
- Amber Embedded
- Jet
- Jet Embedded
- Jet 'urlpath' tmpl func
- Jet Template Funcs from Struct
- Handlebars
- Third-Parties
- Request ID
- Request Rate Limit
- Request Referrer
- Webassembly
- Request Body
- Response Writer
- Compression
- Localization and Internationalization
- Authentication, Authorization & Bot Detection
- Cookies
- Sessions
- Websocket
- Dependency Injection
- MVC
- Overview
- Repository and Service layers
- Hello world
- Basic
- Singleton
- Regexp
- Session Controller
- Authenticated Controller
- Versioned Controller
- Websocket Controller
- Register Middleware
- gRPC
- gRPC Bidirectional Stream
- Login (Repository and Service layers)
- Login (Single Responsibility)
- Vue.js Todo App
- HTTP Error Handler
- Error Handler
- Handle errors using mvc.Result
- Handle errors using PreflightResult
- Handle errors by hijacking the result
- Bootstrapper
- Desktop Applications
- Middlewares (Community)
Run
- Install the Go Programming Language, version 1.15+ from here.
-
Download the examples and copy-paste them to your
$GOPATH/src/github.com/iris-contrib/examples
- Install Iris with
go get -u github.com/kataras/iris/[email protected]
To run an example, open a terminal session and execute:
$ cd $GOPATH/src/github.com/iris-contrib/examples/compression
$ go mod init
$ go run main.go
Do not forget to star or watch the Iris project.
Any troubles with examples?
https://github.com/iris-contrib/examples/issues
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].