{"id":26661314,"url":"https://github.com/belalaboseada/nodejs-courses-project","last_synced_at":"2026-04-30T18:31:23.676Z","repository":{"id":238114242,"uuid":"795904156","full_name":"BelalAboseada/NodeJs-Courses-Project","owner":"BelalAboseada","description":"Backend For Courses App","archived":false,"fork":false,"pushed_at":"2024-05-04T12:14:28.000Z","size":4778,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T13:16:05.508Z","etag":null,"topics":["backend","courses","courses-app","node","nodejs"],"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/BelalAboseada.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":"2024-05-04T11:29:20.000Z","updated_at":"2024-05-04T12:14:31.000Z","dependencies_parsed_at":"2024-05-04T12:44:06.670Z","dependency_job_id":null,"html_url":"https://github.com/BelalAboseada/NodeJs-Courses-Project","commit_stats":null,"previous_names":["belalaboseada/nodejs-courses-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BelalAboseada/NodeJs-Courses-Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BelalAboseada%2FNodeJs-Courses-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BelalAboseada%2FNodeJs-Courses-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BelalAboseada%2FNodeJs-Courses-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BelalAboseada%2FNodeJs-Courses-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BelalAboseada","download_url":"https://codeload.github.com/BelalAboseada/NodeJs-Courses-Project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BelalAboseada%2FNodeJs-Courses-Project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32473804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["backend","courses","courses-app","node","nodejs"],"created_at":"2025-03-25T13:16:09.228Z","updated_at":"2026-04-30T18:31:23.661Z","avatar_url":"https://github.com/BelalAboseada.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Course Backend App\n\nThis README file serves as a guide to understand, set up, and utilize the Course Backend App created using Node.js, Express.js, and MongoDB.\n\n## Table of Contents\n\n1. [Introduction](#introduction)\n2. [Features](#features)\n3. [Installation](#installation)\n4. [Usage](#usage)\n5. [API Endpoints](#api-endpoints)\n6. [Contributing](#contributing)\n7. [License](#license)\n\n## Introduction\n\nThe Course Backend App is a RESTful API built using Node.js, Express.js, and MongoDB. It provides functionalities to manage courses, including creating, reading, updating, and deleting course data.\n\n## Features\n\n- **CRUD Operations**: Easily perform Create, Read, Update, and Delete operations on course data.\n- **Authentication and Authorization**: Secure endpoints using authentication and authorization mechanisms.\n- **Validation**: Validate user inputs to ensure data integrity and security.\n- **Error Handling**: Handle errors gracefully with informative error messages.\n- **Scalability**: Built with scalability in mind to accommodate growing user bases and data volumes.\n\n## Installation\n\n1. Clone the repository:\n\n    ```\n    git clone https://github.com/BelalAboseada/NodeJs-Courses-Project.git\n    ```\n\n2. Navigate to the project directory:\n\n    ```\n    cd NodeJs-Courses-Project\n    ```\n\n3. Install dependencies:\n\n    ```\n    npm install\n    ```\n\n4. Set up environment variables:\n   \n   Create a `.env` file in the root directory and add the following environment variables:\n    \n    PORT=3001\n\n    MONGODB_URI=\u003cyour_mongodb_connection_string\u003e\n    \n    JWT_SECRET=\u003cyour_jwt_secret_key\u003e\n\n\n## Usage\n\n1. Start the server:\n\n ```\n npm start\n ```\n\n2. The server will start running at the specified port.\n\n## API Endpoints\n\nThe Course Backend App exposes the following API endpoints:\n\n- `POST /api/auth/register`: Register a new user.\n- `POST /api/auth/login`: Authenticate a user and generate a JWT token.\n- `GET /api/courses`: Get all courses.\n- `GET /api/courses/:id`: Get a course by ID.\n- `POST /api/courses`: Create a new course.\n- `PUT /api/courses/:id`: Update a course by ID.\n- `DELETE /api/courses/:id`: Delete a course by ID.\n\nFor detailed information about each endpoint and its usage, refer to the API documentation.\n\n## Contributing\n\nContributions are welcome! Feel free to fork the repository and submit pull requests to contribute to the project. Please follow the [contribution guidelines](CONTRIBUTING.md).\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelalaboseada%2Fnodejs-courses-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbelalaboseada%2Fnodejs-courses-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelalaboseada%2Fnodejs-courses-project/lists"}