{"id":20525955,"url":"https://github.com/wendreof/api-ts","last_synced_at":"2025-03-06T01:27:55.008Z","repository":{"id":44074237,"uuid":"205546617","full_name":"wendreof/api-ts","owner":"wendreof","description":"REST API made with TypeScript, NodeJS, Docker and MongoDB.","archived":false,"fork":false,"pushed_at":"2022-12-22T12:31:15.000Z","size":738,"stargazers_count":3,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T11:26:54.602Z","etag":null,"topics":["async-await","js","jsontocsv","rest","transpile"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wendreof.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-31T13:15:16.000Z","updated_at":"2021-09-01T01:56:13.000Z","dependencies_parsed_at":"2023-01-30T08:45:57.358Z","dependency_job_id":null,"html_url":"https://github.com/wendreof/api-ts","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/wendreof%2Fapi-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendreof%2Fapi-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendreof%2Fapi-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendreof%2Fapi-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wendreof","download_url":"https://codeload.github.com/wendreof/api-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242130343,"owners_count":20076615,"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":["async-await","js","jsontocsv","rest","transpile"],"created_at":"2024-11-15T23:11:30.244Z","updated_at":"2025-03-06T01:27:54.984Z","avatar_url":"https://github.com/wendreof.png","language":"TypeScript","readme":"# API-TS\n\n[![Twitter](https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Ftwitter.com%2Fwendreolf)](https://twitter.com/intent/tweet?text=Wow:\u0026url=https%3A%2F%2Fgithub.com%2Fwendreof%2Fapi-ts%2F)\n[![GitHub issues](https://img.shields.io/github/issues/wendreof/api-ts)](https://github.com/wendreof/api-ts/issues)\n[![GitHub forks](https://img.shields.io/github/forks/wendreof/api-ts)](https://github.com/wendreof/api-ts/network)\n[![GitHub stars](https://img.shields.io/github/stars/wendreof/api-ts)](https://github.com/wendreof/api-ts/stargazers)\n[![GitHub last commit](https://img.shields.io/github/last-commit/wendreof/api-ts)](https://github.com/wendreof/api-ts/commits/master)\n\n-------\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"#motivation\"\u003eMotivation\u003c/a\u003e \u0026bull;\n    \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e \u0026bull;\n    \u003ca href=\"#running\"\u003eRunning\u003c/a\u003e \u0026bull;\n     \u003ca href=\"#routes\"\u003eRoutes\u003c/a\u003e \u0026bull;\n    \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e \n\u003c/p\u003e\n\n## Motivation\nThis project is a REST API made in TypeScript (JavaScript superset) with Docker containers, Redis to caching and MongoDB as database.\n\n## Installation\n\n- Clonning the repository\n\n`git clone https://github.com/wendreof/api-ts.git`\n\nGet Docker on https://www.docker.com/ to run the following steps.\n\n- Turning up\n\n`docker run -d -p 27017:27017 -p 28017:28017 -e AUTH=no tutum/mongodb`\n\n`docker run -d -p 6379:6379 redis`\n\n`docker exec -it redis redis-cli`\n \n`docker build .`\n\n## Running\n\n- Starting commands\n\n`npm run compile`\n\n`npm start`\n\n- The server is running on port 3050, available on browser and will return the API's version:\n\u003cp align=\"left\"\u003e\n \u003cimg src=\"uploads/shot1.png\" width=\"500\"/\u003e\n\u003c/p\u003e\n\n## Routes\n\n- GET/POST\n\n`localhost:3050/api/v1/news`\n\n- DELETE\n\n`localhost:3050/api/v1/news/IDHASHHERE`\n\n- PUT\n\n`localhost:3050/api/v1/news/IDHASHHERE`\n\n\n## License\nThis project is licensed under the terms of the MIT license. See the LICENSE file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendreof%2Fapi-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwendreof%2Fapi-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendreof%2Fapi-ts/lists"}