{"id":16211906,"url":"https://github.com/tidbitsjs/plantae","last_synced_at":"2025-06-20T21:38:08.713Z","repository":{"id":110918914,"uuid":"485904118","full_name":"TidbitsJS/plantae","owner":"TidbitsJS","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-02T18:15:31.000Z","size":139,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T20:39:14.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TidbitsJS.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-04-26T18:30:10.000Z","updated_at":"2024-08-20T03:40:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b9ab7f5-2a3b-455a-8cc0-116c99091147","html_url":"https://github.com/TidbitsJS/plantae","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TidbitsJS/plantae","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TidbitsJS%2Fplantae","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TidbitsJS%2Fplantae/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TidbitsJS%2Fplantae/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TidbitsJS%2Fplantae/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TidbitsJS","download_url":"https://codeload.github.com/TidbitsJS/plantae/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TidbitsJS%2Fplantae/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261021453,"owners_count":23098353,"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-10-10T10:49:37.209Z","updated_at":"2025-06-20T21:38:03.698Z","avatar_url":"https://github.com/TidbitsJS.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plants API\n\nA REST API created using Node.js \u0026 TypeScript. It does all CRUD operations to manage a plant database. The primary purpose of the project is to get familiarized with developing the backend with TypeScript.\n\nGraphQL Version of the API is [here](https://github.com/TidbitsJS/PlantQL)\n\nA specific plant has following properties:\n* Name\n* Scientific Name\n* Family\n* Description\n* userId\n\nA specific user has following properties:\n* Name\n* Username\n* Email\n* Password\n* Plants ( Created )\n\n\n#\n\n### Setup\n\nProject requirements\n\n- git\n- NodeJS\n- NPM\n- nodemon\n\n**nodemon** is a tool that helps develop node. js based applications by automatically restarting the node application when file changes in the directory are detected.\n\nTo verify the installation of above, you can run this:\n\n```shell\n  git --version\n  node --version\n  npm --version\n  nodemon --version\n```\n\nAfter you've made sure to have the correct things installed, you should be able to just run a few commands to get set up:\n\n1. Clone the repo\n\n```shell\n  git clone https://github.com/TidbitsJS/plantae.git\n  cd plantae\n```\n\n2. Install node modules\n\n```shell\n  npm install\n```\n\n3. Setup a new project on [MongoDB](https://www.mongodb.com/) platform\n4. Store the MonoDB URL in env file\n\n```text\nMONGO_URL=mongodb+srv://\u003cusername\u003e:\u003cpassword\u003e@cluster0.eqcqa.mongodb.net/plants?retryWrites=true\u0026w=majority\n```\n\n#\n\n### Running the App\n\nTo run the app, run the command:\n\n```shell\n  npm start\n```\n\nTo run the app in debug mode, run the command:\n\n```shell\n  npm run debug\n```\n\nLocal server will start running on the port 4040\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidbitsjs%2Fplantae","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftidbitsjs%2Fplantae","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidbitsjs%2Fplantae/lists"}