{"id":20147234,"url":"https://github.com/thenishchalraj/nodeapi--trial-","last_synced_at":"2025-03-03T00:22:20.442Z","repository":{"id":112549254,"uuid":"166388058","full_name":"thenishchalraj/nodeAPI--trial-","owner":"thenishchalraj","description":"A nodeJS API for trial project","archived":false,"fork":false,"pushed_at":"2020-02-02T13:05:16.000Z","size":3694,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T11:15:52.434Z","etag":null,"topics":["api","api-rest","nodejs","rest-api","restful-webservices","sample-api","sample-project"],"latest_commit_sha":null,"homepage":null,"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/thenishchalraj.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":"2019-01-18T10:31:25.000Z","updated_at":"2020-02-02T13:05:20.000Z","dependencies_parsed_at":"2023-05-16T04:45:33.718Z","dependency_job_id":null,"html_url":"https://github.com/thenishchalraj/nodeAPI--trial-","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/thenishchalraj%2FnodeAPI--trial-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenishchalraj%2FnodeAPI--trial-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenishchalraj%2FnodeAPI--trial-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenishchalraj%2FnodeAPI--trial-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thenishchalraj","download_url":"https://codeload.github.com/thenishchalraj/nodeAPI--trial-/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241587802,"owners_count":19986628,"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":["api","api-rest","nodejs","rest-api","restful-webservices","sample-api","sample-project"],"created_at":"2024-11-13T22:28:08.270Z","updated_at":"2025-03-03T00:22:20.415Z","avatar_url":"https://github.com/thenishchalraj.png","language":"JavaScript","readme":"Always make a note for the Routes, the database schema before starting to make any API.\n\nFor me only(learning purpose):\nHow i wrote the code (file wise):\n1.  server.js\n2.  app.js\n3.  api-\u003eroutes-\u003eproducts.js\n             -\u003eorders.js\n4.  connect database(mongodb/mongoose) through the app.js\n5.  with the above step start doing Models for the (M(models)V(view i.e. we don't render any view here)C(controllers i.e. routes detailed) architeture)\n6.  connect the models to the controllers/routers\n7.  for every routes made configure the database actions with proper response to them\n8.  do authentication things such as signup and signin\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenishchalraj%2Fnodeapi--trial-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenishchalraj%2Fnodeapi--trial-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenishchalraj%2Fnodeapi--trial-/lists"}