Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

exoscale/angular-jobs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jobs: Angular JS demo app, with a clojure API

Ultra simple CRUD API, with a client-side, single-page Angular JS app. The stored model is meant to handle information for a job board.

The API exposes only 3 routes:

  • GET /jobs: retrieve jobs
  • POST /jobs: create a new job, an ID is assigned
  • DELETE /jobs/:id: deletes a job by ID

The app is served as un-minified static content, sources are available in the resources/public directory.

The Angular application is contained in a single file but provides a service, controller and router for a single page application.

Building

This relies on leiningen, you will also need a working JDK and JRE.

lein uberjar

The resulting build artifact will be in target/cyanite-0.5.0-standalone.jar

Running

Just run the artifact with java:

java -jar target/cyanite-0.5.0-standalone.jar

As an alternative, you can use leiningen:

lein run

Releases

No releases published

Packages

No packages published