Skip to content

Latest commit

 

History

History
37 lines (18 loc) · 1.57 KB

readme.md

File metadata and controls

37 lines (18 loc) · 1.57 KB

RealWorld Example App

Nim 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 Nim including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the Nim 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

For the latest version, please check out the develop branch.

Getting started

Setting up nim and nimble

First you need to set up the nim compiler and the nimble package manager. You can obtain them together from official Nim site.

Building the project

The project can be built with the nimble build command executed from the project's root directory. In addition to the actual building process, nimble downloads the dependencies of the project.

For more information on the usage nimble, please see nim-lang/nimble.

Running the Conduit backend

There are two options available:

  1. Issue the nimble build command and then run the output binary placed in the build directory.
  2. Execute nimble server which builds the backend and spins up the server.