Overview
The following describes an example project that creates a REST API using Haskell as a GAE custom runtime component.The component is built using Scotty a lightweight web framework and makes use of the Aeson library to marshal to and from Json.
The API describes a simple TODO application with a list of items held in memory and is an extension of work by Sean Hess.
All the code for the project may be found at: https://github.com/andywhardy/haskell-gae
Prerequisites
- To run locally you must have Haskell and Stack installed on your operating system.
- To upload to GCP you must have editor rights to a GCP project and have the gcloud tool installed and available on your path.
For further information on installing Haskell or Stack for your OS please see:
https://www.haskell.org/platform/
http://docs.haskellstack.org/en/stable/README.html
The following may be useful info for setting up GCP:
https://cloud.google.com/compute/docs/projects
https://cloud.google.com/sdk/gcloud/
Guide
Clone project from git
git clone https://github.com/andywhardy/haskell-gae
Setup
cd haskell-gae
stack setup
Build
stack build
Run
stack exec haskell-gae
Local test
http://localhost:8080/items
http://localhost:8080/items/1
http://localhost:8080/items/2
Deploy
gcloud preview app deploy --promote --version test-1 app.yaml
GAE test
https://haskell-gae-rest-dot-<YOUR_PROJECT_ID>.appspot.com/items
I like this post, it's a very useful lot to me and this is a very excellent post. I hope it will more helpful in my future. I expect more updates in your blog...
ReplyDeleteExcel Training in Chennai
Advanced Excel Training in Chennai
Tableau Training in Chennai
Pega Training in Chennai
Oracle DBA Training in Chennai
Unix Training in Chennai
Power BI Training in Chennai
Oracle Training in Chennai
Excel Training in Chennai
Advanced Excel Training in Chennai
This post is much helpful for us. This is really very massive value to all the readers and it will be the only reason for the post to get popular with great authority.
ReplyDeleteSelenium Training in Chennai
Selenium Course in Chennai
Angularjs Training in Chennai
AWS Training in Chennai
Big Data Analytics Courses in Chennai
Blue Prism Training in Chennai
CCNA Course in Chennai
Selenium Training in OMR
I am impressed with the way you describe a topic and make it clear to the readers. Thanks for sharing and do share more.
ReplyDeleteSpoken English Classes in Adyar
Spoken English Classes in T-Nagar
Spoken English Classes in Porur
Spoken English Classes in Chennai
Spoken English in Chennai
Spoken English Class in Anna Nagar
english to kannada typing
ReplyDeleteimo for pc
ReplyDeleteimo for pc
ReplyDeleteGreat Article. Thank you for sharing! Really an awesome post for every one.
ReplyDeleteIEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Project Domains for IT It gives you tips and rules that is progressively critical to consider while choosing any final year project point.
Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining the authors explore the idea of using Java in Big Data platforms.
Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai
I like the blog format as you create user engagement in the complete article. Thanks for the informative posts.
ReplyDeleteWeb Designing Course Training in Chennai | Web Designing Course Training in annanagar | Web Designing Course Training in omr | Web Designing Course Training in porur | Web Designing Course Training in tambaram | Web Designing Course Training in velachery
Amazing Article sir, Thank you for giving the valuable Information really awesome.AWS certification course in Chennai
ReplyDeletecoin haber - koin haber - kripto para haberleri - coin haber - instagram video indir - instagram takipçi satın al - instagram takipçi satın al - tiktok takipçi satın al - instagram takipçi satın al - instagram takipçi satın al - instagram takipçi satın al - instagram takipçi satın al - instagram takipçi satın al - binance güvenilir mi - binance güvenilir mi - binance güvenilir mi - binance güvenilir mi - instagram beğeni satın al - instagram beğeni satın al - google haritalara yer ekleme - btcturk güvenilir mi - binance hesap açma - kuşadası kiralık villa - tiktok izlenme satın al - instagram takipçi satın al - sms onay - paribu sahibi - binance sahibi - btcturk sahibi - paribu ne zaman kuruldu - binance ne zaman kuruldu - btcturk ne zaman kuruldu - youtube izlenme satın al - torrent oyun - google haritalara yer ekleme - altyapısız internet - bedava internet - no deposit bonus forex - erkek spor ayakkabı - tiktok jeton hilesi - tiktok beğeni satın al - microsoft word indir - misli indir
ReplyDeleteGreat post! I really enjoyed reading it. Keep sharing such articles. Looking forward to learn more from you.Thanks for sharing.
ReplyDeleteReactjs Training in Chennai |
Best Reactjs Training Institute in Chennai |
Reactjs course in Chennai
www.escortsmate.com
ReplyDeleteescortsmate.com
https://www.escortsmate.com
tiktok jeton hilesi
ReplyDeletetiktok jeton hilesi
binance referans kimliği
gate güvenilir mi
tiktok jeton hilesi
paribu
btcturk
bitcoin nasıl alınır
yurtdışı kargo
evden eve nakliyat
ReplyDeleteinstagram takipçi satın al
instagram takipçi satın al
instagram beğeni satın al
tiktok takipçi satın al
bitcoin nasıl alınır
plaj havlusu
toptan zeytinyağı
bardak makinası
İnstagram takipçi satın al! İnstagram takipçi sitesi ile takipçi satın al sende sosyal medyada fenomen olmaya bir adım at. Sende hemen instagram takipçi satın almak istiyorsan tıkla:
ReplyDelete1- takipçi satın al
2- takipçi satın al
3- takipçi satın al
MMORPG OYUNLARI
ReplyDeleteinstagram takipçi satın al
tiktok jeton hilesi
TİKTOK JETON HİLESİ
antalya saç ekimi
referans kimliği nedir
İnstagram takipçi satın al
Metin pvp
instagram takipçi satın al
Smm panel
ReplyDeleteSmm panel
is ilanlari
İnstagram takipçi satın al
hirdavatciburada.com
beyazesyateknikservisi.com.tr
SERVİS
Tiktok para hilesi indir
ümraniye daikin klima servisi
ReplyDeletemaltepe mitsubishi klima servisi
kartal vestel klima servisi
ümraniye vestel klima servisi
çekmeköy bosch klima servisi
ataşehir bosch klima servisi
çekmeköy arçelik klima servisi
ataşehir arçelik klima servisi
maltepe samsung klima servisi