Skip to content

Blogging application written in Haskell-Scotty, Blaze-HTML and PostgreSQL.

License

Notifications You must be signed in to change notification settings

RuchitaGanurkar/ScottyProject

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HaskRead

HaskRead is a web-based blogging application designed to facilitate hands-on learning with the Scotty Web-Framework. This application allows users to experience the simplicity and power of Scotty alongside other technologies like Blaze-html for templating and PostgreSQL for database management.

Technologies Used

  • Scotty: A lightweight web framework for Haskell, inspired by Ruby's Sinatra.
  • Blaze-html: A library for Haskell that provides an HTML templating engine.
  • PostgreSQL: An open-source relational database system.

Features

  1. User Authentication using JWT.
  2. CRUD on POST.
  3. Nested Comments.

Getting Started

To get HaskRead up and running on your local machine, follow these simple steps:

Prerequisites

Ensure you have the following installed:

Installation

  1. Clone the repository

    Open your terminal and clone the Scotty-Crud repository using Git:

    git clone https://github.com/yourusername/HaskRead.git
    

    Navigate into the project directory:

    cd HaskRead
    
  2. Set up the database

    Make sure PostgreSQL is running. Create a new database for the project and note down the credentials; you'll need to configure these in the code.

  3. Configure your environment

    Update the database configuration in the application to match your PostgreSQL settings.

  4. Run the application

    Use Cabal to run the application:

    cabal run
    

The application should now be running on your local server. Open your web browser and navigate to the address provided in your terminal to start using HaskRead.

About

Blogging application written in Haskell-Scotty, Blaze-HTML and PostgreSQL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 99.0%
  • Other 1.0%