{"id":20811201,"url":"https://github.com/andromedatechnology/startedincroatia-api","last_synced_at":"2026-04-28T04:34:26.433Z","repository":{"id":249782216,"uuid":"577520732","full_name":"AndromedaTechnology/startedincroatia-api","owner":"AndromedaTechnology","description":"Best of Croatia","archived":false,"fork":false,"pushed_at":"2022-12-13T03:20:48.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T14:46:01.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://startedincroatia.com","language":"TypeScript","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/AndromedaTechnology.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-12T23:20:07.000Z","updated_at":"2022-12-12T23:26:37.000Z","dependencies_parsed_at":"2024-07-23T10:39:58.553Z","dependency_job_id":null,"html_url":"https://github.com/AndromedaTechnology/startedincroatia-api","commit_stats":null,"previous_names":["andromedatechnology/startedincroatia-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndromedaTechnology%2Fstartedincroatia-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndromedaTechnology%2Fstartedincroatia-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndromedaTechnology%2Fstartedincroatia-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndromedaTechnology%2Fstartedincroatia-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndromedaTechnology","download_url":"https://codeload.github.com/AndromedaTechnology/startedincroatia-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158971,"owners_count":20245669,"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-17T20:37:47.185Z","updated_at":"2025-12-27T07:33:24.858Z","avatar_url":"https://github.com/AndromedaTechnology.png","language":"TypeScript","funding_links":["https://www.patreon.com/moltouni","https://www.buymeacoffee.com/moltouni"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eStarted In Croatia.com\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://startedincroatia.com\"\u003e\u003cimg src=\"https://startedincroatia.com/img/icons/logo.jpg\"  alt=\"Started In Croatia Logo\" /\u003e\u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://startedincroatia.com\"\u003eBest of Croatia\u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://startedincroatia.com\"\u003e\u003cimg src=\"https://heroku-badge.herokuapp.com/?app=habitus-api\u0026style=flat\u0026svg=1\u0026root=api\"  alt=\"Heroku\" /\u003e\u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cimg src=\"https://badges.aleen42.com/src/node.svg\" alt=\"Node\" /\u003e\n  \u003cimg src=\"https://badges.aleen42.com/src/typescript.svg\" alt=\"TypeScript\" /\u003e\n  \u003cimg src=\"https://badges.aleen42.com/src/docker.svg\" alt=\"Docker\" /\u003e\n  \u003cimg src=\"https://badges.aleen42.com/src/jest_1.svg\" alt=\"Jest\" /\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://medium.com/@StartedInCroatia\"\u003e\u003cimg src=\"https://badges.aleen42.com/src/medium.svg\" alt=\"Medium\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://twitter.com/StartedInCro\"\u003e\u003cimg src=\"https://badges.aleen42.com/src/twitter.svg\" alt=\"Twitter\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.patreon.com/moltouni\"\u003e\u003cimg src=\"https://badges.aleen42.com/src/patreon.svg\" alt=\"Patreon\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.buymeacoffee.com/moltouni\"\u003e\u003cimg src=\"https://badges.aleen42.com/src/buymeacoffee.svg\" alt=\"Buymeacoffee\" /\u003e\u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\nAPI for [**StartedInCroatia**](https://startedincroatia.com) [[Github - Frontend](https://github.com/AndromedaTechnology/startedincroatia)].\n\n```\nStarted in Croatia.\n\nOpen-Source.\n```\n\n# 1. Technology\n\n- TypeScript\n- Koa.js\n- Database: MongoDB: Mongoose\n- Config: Dotenv, Joi\n- Testing: Jest: SuperTest, MongoDBMemoryServer\n- Docker: MongoDB\n\n# 2. Features\n\n- 🥰 Link CRUD\n- 🔐 JWT auth for Admin actions\n\n# 3. Run\n\n**Docker**\n\nRuns `MongoDB` container.\n\n```\ncd docker\ncp .env.example .env\ndocker-compose up -d\n```\n\n**Application**\n\n```\n# Return to root\ncd ..\ncp .env.example .env\nnpm i\nnpm run dev\n```\n\n# 4. Tests\n\nUsing `Jest` Testing Framework.\n\nJest uses `SuperTest` and `MongoDBMemoryServer`.\n\n```\nnpm run test\n```\n\n# 5. Postman\n\nCheck out [Postman Documentation]().\n\nPre-set environment variables:\n\n- `host`\n- `admin_password`\n\nDynamic environment variables,\nautomatically set in tests:\n\n- `access_token`\n\n# 6. Protected Routes [Admin access]\n\nFew routes are protected with `jwtCheck` middleware.\n\nRequests going to these routes require `Authorization: Bearer {token}` header.\n\n**Protected Routes**\n\n- [Link][update,delete]\n\n**Getting access token**\n\nEndpoint: `POST /auth/token`.\n\nBody: `{ password: ADMIN_PASSWORD }`.\n\n**Admin password**\n\n`ADMIN_PASSWORD` is defined in `.env` file.\n\nIt defaults to `secret`.\n\n# 7. Frontend\n\nWritten in `TypeScript`,\n\nusing `Vue.js` and `Vuetify`.\n\n**Join the open-source development - [Github - StartedInCroatia - Frontend](https://github.com/AndromedaTechnology/StartedInCroatia)**.\n\nCheck the live version at [startedincroatia.com](https://startedincroatia.com).\n\n# 8. Social\n\n- [Medium](https://medium.com/@StartedInCroatia)\n- [Twitter](https://twitter.com/StartedInCro)\n\n\u003cbr/\u003e\n\u003ch3 align=\"center\"\u003e\n  Crafted with ❤️ \u003cbr /\u003e\n  by contributors around the 🌍 World and \u003ca href=\"https://andromeda.technology/\"\u003e🌌 Andromeda\u003c/a\u003e.\n\u003c/h3\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandromedatechnology%2Fstartedincroatia-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandromedatechnology%2Fstartedincroatia-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandromedatechnology%2Fstartedincroatia-api/lists"}