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.
For the latest version, please check out the develop
branch.
First you need to set up the nim
compiler and the nimble
package manager. You can obtain them together from official Nim site.
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.
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.