Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

exoscale/angular-jobs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

About

demo angularjs app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published