Chat-app-server - Backend layer that exposes some APIs

Overview

A server app built using Shelf, configured to enable running with Docker.

This sample code handles HTTP GET requests to / and /echo/

Running the sample

Running with the Dart SDK

You can run the example with the Dart SDK like this:

$ dart run bin/server.dart
Server listening on port 8080

And then from a second terminal:

$ curl http://0.0.0.0:8080
Hello, World!
$ curl http://0.0.0.0:8080/echo/I_love_Dart
I_love_Dart

Running with Docker

If you have Docker Desktop installed, you can build and run with the docker command:

$ docker build . -t myserver
$ docker run -it -p 8080:8080 myserver
Server listening on port 8080

And then from a second terminal:

$ curl http://0.0.0.0:8080
Hello, World!
$ curl http://0.0.0.0:8080/echo/I_love_Dart
I_love_Dart

You should see the logging printed in the first terminal:

2021-05-06T15:47:04.620417  0:00:00.000158 GET     [200] /
2021-05-06T15:47:08.392928  0:00:00.001216 GET     [200] /echo/I_love_Dart
You might also like...

Simple Chat UI - This template is a simple chat ui build with flutter ui toolkit.

Simple Chat UI - This template is a simple chat ui build with flutter ui toolkit.

Simple Chat UI This template is a simple chat ui build with flutter ui toolkit. TODO dark mode support image support gif, video, ... web mode desktop

Apr 24, 2022

Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.

Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.

Official Flutter packages for Stream Chat Quick Links Register to get an API key for Stream Chat Flutter Chat SDK Tutorial Chat UI Kit Sample apps Thi

Dec 25, 2022

Actively maintained, community-driven Firebase BaaS for chat applications with an optional chat UI.

Actively maintained, community-driven Firebase BaaS for chat applications with an optional chat UI.

Flutter Firebase Chat Core Actively maintained, community-driven Firebase BaaS for chat applications with an optional chat UI. Flyer Chat is a platfor

Jan 2, 2023

The app that i built during the IITM Session on "Working with APIs in Flutter"

api_test A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Dec 18, 2021

Get google api credentials - A Dart CLI app to obtain credentials for accessing Google APIs

get_google_api_credentials A Dart CLI app to obtain credentials for accessing Go

Jan 28, 2022

A showcase of the most common Flutter animation APIs.

A showcase of the most common Flutter animation APIs.

Flutter Animations Gallery This project is a showcase of the most common Flutter animation APIs. Preview Also available as a Flutter web demo. Setting

Dec 10, 2022

A Flutter plugin that provides assets abstraction management APIs without UI integration, you can get assets (image/video/audio) on Android, iOS and macOS.

A Flutter plugin that provides assets abstraction management APIs without UI integration, you can get assets (image/video/audio) on Android, iOS and macOS.

photo_manager Photo/Assets management APIs for Flutter without UI integration, you can get assets (image/video/audio) from Android, iOS and macOS. 提供相

Jan 4, 2023

A library for building REST APIs easily with Dart

A library for building REST APIs easily with Dart modeled after Express JS for Node Js. The library is still a work in progress and open to contributi

Oct 4, 2022

Public interface definitions of Google APIs for Dart and gRPC

Public interface definitions of Google APIs for Dart and gRPC. Getting started I

Feb 23, 2022
Owner
Andrea Bozzelli
Software Developer
Andrea Bozzelli
A library that exposes device specific speech recognition capability

speech_to_text A library that exposes device specific speech recognition capability. This plugin contains a set of classes that make it easy to use th

null 0 Apr 24, 2022
A mobile client for the public apis repository, 1400+ free apis to use able to be navigated through your phone :)

Public APIs mobile app Your assistant app that will help you discover and pick the next API for your next development project What it contains, you sa

Gwhyyy 4 Dec 25, 2022
FFloat, although simple and easy to use, can satisfy all your imagination of the floating layer.

ffloat FFloat, although simple and easy to use, can satisfy all your imagination of the floating layer. Born and elegant, supporting precise position

Fliggy Mobile 221 Oct 25, 2022
Core layer of flutter projects.

Core layer usable in every Flutter project. Features Results: It usable for return operation result, message and/or data. DisplayMessages: Use them fo

Emre 1 Jan 14, 2022
Mentorup App developed using Flutter/Dart and Aqueduct as backend server is an app to help the startups

Mentorup App developed using Flutter/Dart and Aqueduct as backend server is an app to help the startups of various domains initiated by the budding entrepreneurs to get guidance and funding from the mentors and funders respectively.

Ekta Masrani 1 Dec 14, 2021
Appwrite is a secure end-to-end backend server for Web, Mobile, and Flutter developers that is packaged as a set of Docker containers for easy deployment 🚀

A complete backend solution for your [Flutter / Vue / Angular / React / iOS / Android / *ANY OTHER*] app Appwrite 0.12 has been released! Learn what's

Appwrite 28.2k Jan 3, 2023
Bhargav Reddy 10 Nov 12, 2022
Chat app flutter - A Simple Chat App UI With Flutter

Flutter Chat App UI. Flutter Chat App UI. This is a simple flutter application w

null 1 Mar 5, 2022
flutter chat app with firebase , provider and api with all chat app functions

Full Chat Flutter App In this app we use FireBase Services(firestore - storage - auth - cloud messageing ) Dio for api setiing such as sending remote

Ahmed EL Bagory 35 Dec 14, 2022
Tag chat is a simple and basic chat app created with flutter

TagChat What is TagChat? Tag chat is a simple and basic chat app created with flutter. Description TagChat use firestore as backend Currently it suppo

Mahesh Khatri 2 Jun 22, 2022