{"id":13553603,"url":"https://github.com/EddieGustafsson/RestAPI","last_synced_at":"2025-04-03T05:31:11.676Z","repository":{"id":44486204,"uuid":"217719537","full_name":"EddieGustafsson/RestAPI","owner":"EddieGustafsson","description":"RestAPI based on TP's web services (Wiki, Blog and Calendar)","archived":true,"fork":false,"pushed_at":"2022-02-10T12:42:18.000Z","size":3656,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-04T01:32:47.417Z","etag":null,"topics":["blog","calendar","mongodb","nodejs","rest-api","web-services","wiki"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/EddieGustafsson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.MD","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-26T14:19:14.000Z","updated_at":"2023-01-27T21:36:49.000Z","dependencies_parsed_at":"2022-09-04T08:40:18.095Z","dependency_job_id":null,"html_url":"https://github.com/EddieGustafsson/RestAPI","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/EddieGustafsson%2FRestAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddieGustafsson%2FRestAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddieGustafsson%2FRestAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddieGustafsson%2FRestAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EddieGustafsson","download_url":"https://codeload.github.com/EddieGustafsson/RestAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246944377,"owners_count":20858773,"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":["blog","calendar","mongodb","nodejs","rest-api","web-services","wiki"],"created_at":"2024-08-01T12:02:29.270Z","updated_at":"2025-04-03T05:31:11.421Z","avatar_url":"https://github.com/EddieGustafsson.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","nodejs"],"sub_categories":[],"readme":"\n# RestAPI\n## Introduction\nThis is a [RESTful](https://en.wikipedia.org/wiki/Representational_state_transfer) API based on [TP](https://github.com/Shrimpis/TP)'s web services, which is a backend for a wiki, blog and calender. \n\nTo see the current documentation for this API then see the [wiki](https://github.com/EddieGustafsson/RestAPI/wiki), please remember that this API still is under development, therefore some documentation and functions are missing or deprecated.\n\n## Installation\n### 1. MongoDB Cluster\nThis API uses a mongoDB cluster, therefore you need to create your own mongoDB localy or use a [mongoDB atlas cluster](https://www.mongodb.com/download-center).\n\n### 2. Nodemon.json\nIn order to test this RestAPI you have to create a nodemon.json file in the root directory with the following contents:\n\n```json\n{\n    \"env\":{\n        \"MONGO_ATLAS_USERNAME\": \"YOUR USERNAME\",\n        \"MONGO_ATLAS_PWD\": \"YOUR PASSWORD\",\n        \"HOST\": \"localhost\",\n        \"PORT\": \"8080\",\n        \"JWT_KEY\": \"YOUR KEY\"\n    }\n}\n```\n\n### 3. Install dependencies\nRun the the following command in a command line:\n```npm install```\n\n### 4. Start the API\nTo start the API type this in a command line:\n```npm start```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEddieGustafsson%2FRestAPI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEddieGustafsson%2FRestAPI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEddieGustafsson%2FRestAPI/lists"}