{"id":16447234,"url":"https://github.com/junekelly/jetcan-server","last_synced_at":"2026-06-11T03:31:29.922Z","repository":{"id":17650138,"uuid":"20454660","full_name":"JuneKelly/jetcan-server","owner":"JuneKelly","description":"Jetcan server","archived":false,"fork":false,"pushed_at":"2014-09-30T13:44:22.000Z","size":760,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T11:36:16.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuneKelly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-03T18:36:43.000Z","updated_at":"2015-03-22T10:44:58.000Z","dependencies_parsed_at":"2022-09-02T22:01:18.570Z","dependency_job_id":null,"html_url":"https://github.com/JuneKelly/jetcan-server","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/JuneKelly/jetcan-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuneKelly%2Fjetcan-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuneKelly%2Fjetcan-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuneKelly%2Fjetcan-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuneKelly%2Fjetcan-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuneKelly","download_url":"https://codeload.github.com/JuneKelly/jetcan-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuneKelly%2Fjetcan-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34181554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T09:50:07.276Z","updated_at":"2026-06-11T03:31:29.900Z","avatar_url":"https://github.com/JuneKelly.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jetcan-server\n\n![jetcan-logo](resources/images/jetcan_transparent_200x200.png)\n\nA snippet-saving app in Clojure, PostgreSQL and AngularJS.\n\n\n# Dependencies\n\nTo run jetcan-server, you will need to have a PostgreSQL 9.3 instance available.\nCreate the `jetcan` database like so:\n```\nCREATE DATABASE jetcan\n  WITH OWNER = {{USERNAME}}\n       ENCODING = 'UTF8'\n       TABLESPACE = pg_default\n       LC_COLLATE = 'C'\n       LC_CTYPE = 'C'\n       CONNECTION LIMIT = -1\n       TEMPLATE template0;\n```\n\n\n\nSystem Dependencies:\n\n- ensure you have nodejs and npm installed\n- ensure you have ruby and the ```sass``` rubygem installed:\n  ```gem install sass```\n- use npm to install grunt: ```npm install -g grunt-cli``` (may require sudo)\n\n\n# Environments\n\njetcan uses leiningen profiles and the lein-environ plugin to manage\ndifferent run-time environments. The three important environments\nare `dev`, `testing` and `production`. Variables which differ by environment\ncan either be set in the appropriate section of project.clj, or set as shell\nenvironment variables before starting the server:\n- `DB_URI` : the uri of the postgres database, ex: `//localhost/my_jetcan`\n- `DB_USER`: username to use to connect to the database\n- `DB_PASSWORD`: password to use to connect to the database\n- `SECRET`: a string to use as the secret when generating secure web tokens,\n  in production this should be a unique, random string and kept secret.\n\n\n# Getting started\n\nTo start the jetcan server:\n\n- run ```npm install``` to install the required node packages\n- run ```bower install``` to install front-end libraries\n- Either edit the project.clj file and fill in the environment settings for\n  the 'dev' environment, or export the appropriate values for\n  `DB_USER`, `DB_PASSWORD` and `DB_URI` in your shell.\n- run `lein with-profile dev migratus migrate` to set up\n  the `jetcan` database tables.\n- run ```grunt server``` to fire up the development server,\n  with coffeescript compilation and live-reloading.\n\n\n# Migrations\n\nThis project uses the [migratus](https://github.com/pjstadig/migratus)\nlibrary to handle database migrations. To create a new set of migrations,\nuse the `migrate:new` grunt task:\n```\n$ grunt migrate:new:add-some-table\n```\nThis will create timestamped files in `resources/sql/migrations`,\nending in `add-some-table.up.sql` and `add-some-table.down.sql`\n\nTo run migrations for the local dev environment, do the following:\n```\n$ lein with-profile dev migratus migrate\n```\n\n\n# Testing\n\nFirst, set up a `jetcan_test` database,\nand run `lein with-profile testing migratus migrate` to set up the tables.\n\nThen, to run the backend tests: `grunt test:backend`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunekelly%2Fjetcan-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunekelly%2Fjetcan-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunekelly%2Fjetcan-server/lists"}