{"id":16211992,"url":"https://github.com/tidbitsjs/bookql","last_synced_at":"2025-04-07T21:42:53.196Z","repository":{"id":110917563,"uuid":"471467130","full_name":"TidbitsJS/BookQL","owner":"TidbitsJS","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-25T18:28:25.000Z","size":60,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T23:15:58.160Z","etag":null,"topics":[],"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/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-03-18T17:57:23.000Z","updated_at":"2024-08-20T03:40:45.000Z","dependencies_parsed_at":"2023-03-13T13:46:57.711Z","dependency_job_id":null,"html_url":"https://github.com/TidbitsJS/BookQL","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/TidbitsJS%2FBookQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TidbitsJS%2FBookQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TidbitsJS%2FBookQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TidbitsJS%2FBookQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TidbitsJS","download_url":"https://codeload.github.com/TidbitsJS/BookQL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247736630,"owners_count":20987667,"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:49.311Z","updated_at":"2025-04-07T21:42:53.160Z","avatar_url":"https://github.com/TidbitsJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BookQL\n\n\nA REST API created using Node.js \u0026 GraphQL. It does all CRUD operations to manage a book database. The primary purpose of the project is to get familiarized with developing the backend with GraphQL.\n\n\nA specific book has following properties:\n* Name\n* genre\n* author\n\nA specific author has following properties:\n* Name\n* age\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/BookQL.git\n  cd BookQL\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\nGraphQL server will start on\n\n```shell\nhttp://localhost:4040/graphql\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidbitsjs%2Fbookql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftidbitsjs%2Fbookql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidbitsjs%2Fbookql/lists"}