{"id":22970439,"url":"https://github.com/mainageorge/bootcamper-api","last_synced_at":"2026-05-07T06:36:56.787Z","repository":{"id":60921082,"uuid":"546764422","full_name":"MainaGeorge/bootcamper-api","owner":"MainaGeorge","description":"This is a project with crud operations using bootcamps. A user can create a bootcamp. Only that use can manipulate that bootcamp and or create courses for it. A bootcamp can hold more than one course, a user can only have one bootcamp. An admin can perform crud operations on users. Any logged in user can review a bootcamp","archived":false,"fork":false,"pushed_at":"2022-10-14T17:38:52.000Z","size":197,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T20:41:55.079Z","etag":null,"topics":["api-rest","async","crud-api","jwt-authentication","jwt-token","middleware","mongodb","mongoose","mvc-architecture","nodejs","nosql-database","promises","role-based-authorization"],"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/MainaGeorge.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}},"created_at":"2022-10-06T15:53:39.000Z","updated_at":"2022-10-14T17:24:54.000Z","dependencies_parsed_at":"2023-01-20T01:48:23.009Z","dependency_job_id":null,"html_url":"https://github.com/MainaGeorge/bootcamper-api","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/MainaGeorge%2Fbootcamper-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainaGeorge%2Fbootcamper-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainaGeorge%2Fbootcamper-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainaGeorge%2Fbootcamper-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MainaGeorge","download_url":"https://codeload.github.com/MainaGeorge/bootcamper-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763953,"owners_count":20829800,"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-rest","async","crud-api","jwt-authentication","jwt-token","middleware","mongodb","mongoose","mvc-architecture","nodejs","nosql-database","promises","role-based-authorization"],"created_at":"2024-12-14T22:13:18.093Z","updated_at":"2026-05-07T06:36:51.743Z","avatar_url":"https://github.com/MainaGeorge.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bootcamper-api\nThis is a project with crud operations using bootcamps. A user can create only a single bootcamp. \nOnly that use can manipulate that bootcamp and or create courses for it (bar the admin). A bootcamp can hold more than one course. any authenticated can review a bootcamp. \nAn admin can perform crud operations on users.\n\nTo get the project up and running, you need to create a .env file at the root of the project with the following properties:\nPORT=The port the app will listen on\nCONNECTION_STRING=The connection string to mongo db\nNODE_ENV=environment, preferably development\nAPI_VERSION=/api/v1\nPOSITION_STACK_API_KEY=the api for the stack api to calculate geo code data,\nJWT_ENCODING_SECRET=The secret to encode the jwt token\nJWT_EXPIRES_IN=the amount of time that the token is valid\nJWT_COOKIE_EXPIRES_IN=amount of time the set cookie is valid\nSMTP_HOST=host for the email provider\nSMTP_PORT=port for the email provider\nSMTP_USERNAME=credentials for the email provider\nSMTP_PASSWORD=password for the email provider\nSMTP_FROM=name that will appear on the from field in the sent emails\nSMTP_FROM_EMAIL=the email that will appear on the from email\n\nrun the data-seeder.js using npm run seed\n\nyou can make requests as in the collection provided with this repo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainageorge%2Fbootcamper-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmainageorge%2Fbootcamper-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainageorge%2Fbootcamper-api/lists"}