nim-realworld-example-app
nim-realworld-example-app copied to clipboard
Nim implementation of the RealWorld example app
Nim codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
Demo RealWorld
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:
- Issue the
nimble build
command and then run the output binary placed in thebuild
directory. - Execute
nimble server
which builds the backend and spins up the server.