Clojure web server from scratch with deps.edn

15 November 2019
clojure-cli logo

Discover how to build a Clojure web server from the ground up using Clojure CLI tools to create and run the project and deps.edn to manage the dependencies.

Update: Practicalli Clojure WebApps has newer versions of this guide. Take a look at the Status Monitor and Banking on Clojure projects

This project will be used to build a web server that will serve our API, which we will build in future posts and study group broadcasts.

Continue reading →

Streamline Contributions with GitHub Pull Request Templates

5 November 2019
github logo

Pull requests are very valuable to project maintainers, especially if they follow guidelines for the project. Using a pull request template allows project maintainers to define the most effective way to contribute right inside the contribution projects.

Project maintainers, especially on very active projects, rarely have time to spend on triage of pull requests. Generally the simpler a pull request the easier it is for a maintainer to review it and accept it.

Previously we created GitHub issue templates, for which their can be many. one pull request template as all pull requests are the same type.

Continue reading →

Improving communication with GitHub issue templates

4 November 2019
github logo

Create templates for issues and pull requests can greatly improve feedback and contributions, especially as an open source project maintainer. We will look specifically at issue templates.

Templates can ask people to provide specific information, or request use of a tool for generating system information (e.g. Spacemacs). Automatic assignment and labelling saves time on issue triage by the project maintainers.

Templates can be created for most shared Git repository services, i.e GitHub, GitLab, BitBucket, etc.

Continue reading →

Clojure powered blogging with Cryogen

20 October 2019
cryogen logo

A website for blogging doesn't need to be a complex content management system, a simple and lightweight static website generator can create engaging websites that are easy to manage with Git.

Cryogen is a static site generator written in Clojure, allowing content to be written in either markdown or asciidoc. Posts and pages are configured with Clojure hash-maps to manage the meta-data and layout information for each, including .

Cryogen seems very quick to generate a site and a local server can be run to automatically generate an updated website when changes to posts and pages are saved.

Continue reading →

journey to the edge of clojure

9 August 2019
clojure-cli logo

This article is a work in progress

Clojure CLI tools is a relatively new approach to creating an managing projects. The Edge project from JUXT takes the approach and extends it with its own features, such as being able to update projects created from the edge configuration.

Unlike Leiningen and Boot templates which are one of tasks, you can update a project you created a while ago with Edge and bring it up to date. It will be interesting to try this out in future articles.

Continue reading →