mint-lang / mint-realworld

Mint implementation of https://realworld.io frontend

Home Page:https://realworld.mint-lang.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mint Realworld

Mint codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with Mint including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the Mint community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

This implemenation only uses the Mint language and it's standard library without any third party dependencies.

To learn more about Mint check out the Guide

Differences

There are a few difference to other implementations:

  • since Mint has a built in way of styling HTML elements we wanted to showcase that, so the design of the application greatly differs from the original one
  • the end result is also a Progressive Web App which is not included in the original spec
  • the routes are not using hash

Development Server

Follow these steps to get up and running:

  1. Install Mint ( https://www.mint-lang.com/install )
  2. Clone the repository
  3. Install dependencies with mint install
  4. Start the development server mint start
  5. That's it!

Production Build

Just run mint build and everything is built into the dist folder.

Running Tests

Just run mint test to run the sample tests.

About

Mint implementation of https://realworld.io frontend

https://realworld.mint-lang.com

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Mint 99.5%Language:HTML 0.5%