All Projects → nodew → haskell-realworld-example

nodew / haskell-realworld-example

Licence: BSD-3-Clause license
A Haskell implementation of realworld.io

Programming Languages

haskell
3896 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to haskell-realworld-example

scala-http4s-realworld-example-app
Example of a RealWorld app backend powered by Scala + http4s
Stars: ✭ 35 (-10.26%)
Mutual labels:  realworld-backend
hackernews
📰 HackerNews API
Stars: ✭ 40 (+2.56%)
Mutual labels:  servant
haskell-tic-tac-toe
A multiplayer web real-time implementation of the famous Tic Tac Toe game in Haskell.
Stars: ✭ 51 (+30.77%)
Mutual labels:  servant
servant-beam-realworld-example-app
Exemplary fullstack Medium.com clone powered by Servant and Beam
Stars: ✭ 33 (-15.38%)
Mutual labels:  servant
servant-static-th
Embed a directory of static files in your application and serve them from your Servant server
Stars: ✭ 14 (-64.1%)
Mutual labels:  servant
servant-starter-app
A template to get started with servant, postgresql-simple and cookie authentication
Stars: ✭ 17 (-56.41%)
Mutual labels:  servant
line-bot-sdk
🍥 Haskell向けLINE Messaging API SDK
Stars: ✭ 31 (-20.51%)
Mutual labels:  servant
echo-gorm-realworld-app
realworld application built with Golang + Echo + Gorm
Stars: ✭ 18 (-53.85%)
Mutual labels:  realworld-backend
kotlin-ktor-realworld-example-app
Real world backend API built in Kotlin with Ktor + Kodein + Exposed
Stars: ✭ 117 (+200%)
Mutual labels:  realworld-backend
go-realworld-example-app
Exemplary real world application built with Go, Gin, and go-pg
Stars: ✭ 48 (+23.08%)
Mutual labels:  realworld-backend
truthy
Open source headless CMS API written using NestJS, that has pre built modules like User Management, Role Management, Permission Management, Email Module, Account Settings, OTP, Throttling, RBAC support, Localization, and many more.
Stars: ✭ 200 (+412.82%)
Mutual labels:  realworld-backend
symfony-realworld-example-app
Symfony 5 codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
Stars: ✭ 89 (+128.21%)
Mutual labels:  realworld-backend
golang-echo-realworld-example-app
Exemplary real world backend API built with Golang + Echo
Stars: ✭ 403 (+933.33%)
Mutual labels:  realworld-backend

Haskell-realworld-example

A Haskell implementation of realworld.io

Tech stack

  • RIO is an alternative Prelude
  • Servant for web api implementation
  • cryptonite for Cryptography
  • PostgreSQL for persistence
  • Rel8 for interacting with PostgreSQL databases

Get start

git clone https://github.com/nodew/haskell-realworld-example.git
cd haskell-realworld-example

# Run with docker
docker-compose -f ./docker-compose.yml -f up

# Otherwise, manually build
stack build

# Setup postgres connection string
POSTGRES_CONNECT_STRING="host=localhost port=5432 user=postgres password=postgres dbname=conduit connect_timeout=10"
# Setup default key for JWT
JWK_STRING=xxxxxxxxxxxxxxxx

stack exec conduit-server-exe

TODO

  • Add integration tests
  • Add DB migrator
  • Build full static Haskell binaries with docker or nix
  • Support docker compose
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].