{"id":18841667,"url":"https://github.com/subvisual/apprenticeship-app","last_synced_at":"2026-01-30T12:30:13.195Z","repository":{"id":149233966,"uuid":"39133719","full_name":"subvisual/apprenticeship-app","owner":"subvisual","description":"An internal application to manage the apprenticeship program.","archived":false,"fork":false,"pushed_at":"2015-07-31T14:01:41.000Z","size":1856,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-30T10:45:01.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","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/subvisual.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":"2015-07-15T11:41:59.000Z","updated_at":"2015-07-27T15:54:47.000Z","dependencies_parsed_at":"2023-04-01T14:27:55.829Z","dependency_job_id":null,"html_url":"https://github.com/subvisual/apprenticeship-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fapprenticeship-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fapprenticeship-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fapprenticeship-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fapprenticeship-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subvisual","download_url":"https://codeload.github.com/subvisual/apprenticeship-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239780122,"owners_count":19695734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-08T02:52:08.010Z","updated_at":"2025-02-20T04:42:30.380Z","avatar_url":"https://github.com/subvisual.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"Apprenticeship App [![Build Status](https://travis-ci.org/subvisual/apprenticeship-app.svg)](https://travis-ci.org/subvisual/apprenticeship-app)\n==================\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\".apprenticeship.png\" alt=\"Apprenticeship Logo\"\u003e\n\u003c/p\u003e\n\nGetting Started\n---------------\n\nBefore running meteor create a file `settings.json` in the root of the project with the following structure:\n\n```json\n{\n  \"headquarters\": {\n    \"appId\": \"\",\n    \"secret\": \"\"\n  },\n  \"email\": {\n    \"username\": \"\",\n    \"password\": \"\"\n  }\n}\n```\n\nRemember to fill in the settings with the correct information.\nTo start the application run `meteor --settings settings.json`.\n\nAPI\n---\n\nPart of the responsability of the apprenticeship-app is to expose an api for the rest of the company's applications to use.\nThe purpose of this api is to save applications.\n\nThere is only one endpoint available at the moment.\nThe following is the accepted method and url followed by the json object it recognises.\n\n```\nMETHOD: POST\nURL: HOST_URL/api/applications\n```\n\n```json\n{\n    \"name\": \"John Snow\",\n    \"email\": \"johnsnow@subvisual.com\",\n    \"phoneNumber\": \"911111111\",\n    \"other\": [{\n      \"question\": \"What do you like to do?\",\n      \"answer\": \"Kill wildlings!\"\n    },{\n      \"question\": \"What do you know?\",\n      \"answer\": \"Nothing.\"\n    }]\n}\n```\n\nChanging the Settings\n--------------------------\n\nAfter changing the `settings.json` file you need to recompile `secrets.tar.enc`, so that travis doesn't break when testing.\nFirst install travis cli:\n\n```\nget install travis\n```\n\nAfter the installation you need to login to travis:\n\n```\ntravis login\n```\n\nWhen you're done start by compressing the settings file:\n\n```\ntar cvf secrets.tar settings.json\n```\n\nWhen your done encrypt the compressed file\n\n```\ntravis encrypt-file secrets.tar --add\n```\n\nMake sure there isn't a duplication with the openssl command in `.travis.yml`.\nFigure out what changed and remove accordingly.\n\nCommit both `.travis.yml` and `.secrets.tar.enc`.\n**NEVER** commit the `secrets.tar` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubvisual%2Fapprenticeship-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubvisual%2Fapprenticeship-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubvisual%2Fapprenticeship-app/lists"}