{"id":23307273,"url":"https://github.com/simonapiz/x-presspublishing","last_synced_at":"2026-05-06T06:37:59.694Z","repository":{"id":205834692,"uuid":"715003915","full_name":"SimonaPiz/X-PressPublishing","owner":"SimonaPiz","description":"I build all of the routing and database logic for an internal tool for a comic book publishing company","archived":false,"fork":false,"pushed_at":"2023-11-09T14:52:21.000Z","size":572,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T06:23:34.437Z","etag":null,"topics":["api","codecademy-solutions","database","express","javascript","routing","sqlite3"],"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/SimonaPiz.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}},"created_at":"2023-11-06T09:39:20.000Z","updated_at":"2023-11-09T14:49:36.000Z","dependencies_parsed_at":"2023-11-21T07:03:39.821Z","dependency_job_id":"724ffca0-8c60-4bb5-98b5-80627926d03a","html_url":"https://github.com/SimonaPiz/X-PressPublishing","commit_stats":{"total_commits":60,"total_committers":2,"mean_commits":30.0,"dds":"0.033333333333333326","last_synced_commit":"d4228b630937dcea7ef5712bba1df8d21d70e350"},"previous_names":["simonapiz/x-presspublishing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonaPiz%2FX-PressPublishing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonaPiz%2FX-PressPublishing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonaPiz%2FX-PressPublishing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonaPiz%2FX-PressPublishing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonaPiz","download_url":"https://codeload.github.com/SimonaPiz/X-PressPublishing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247574095,"owners_count":20960495,"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","codecademy-solutions","database","express","javascript","routing","sqlite3"],"created_at":"2024-12-20T12:29:39.781Z","updated_at":"2026-05-06T06:37:54.674Z","avatar_url":"https://github.com/SimonaPiz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X-Press Publishing\n\u003e I build all of the routing and database logic for an internal tool for a comic book publishing company\n\n\u003cimg src=\"https://github.com/SimonaPiz/X-PressPublishing/assets/91121660/caf4d764-9f00-4d7d-b8b2-49d5f801801e\" width=\"600px\" alt=\"preview\" title=\"preview\"/\u003e\n\n## Table of Contents\n* [Project Overview](#project-overview)\n* [Implementation Details](#implementation-details)\n* [Testing](#testing)\n* [Technologies Used](#technologies-used)\n* [Setup](#setup)\n* [Acknowledgements](#acknowledgements)\n* [Author](#author)\n\n## Project Overview\n\nIn this capstone project, you will build all of the routing and database logic for an internal tool for a comic book publishing company called X-Press Publishing.\n\nThe X-Press Publishing internal tool should allow users to:\n- Create, view, and update artists\n- Create, view, update, and delete comic book series\n- Create, view, update, and delete issues of a specific comic book series\n\nYou can view all of this functionality in action in the video below: [▶](https://s3.amazonaws.com/codecademy-content/programs/build-apis/solution-videos/XPressPublishing480.mov)\n\n## Implementation Details\n\nTo complete this project, I needed to create the database tables and API routes specified. \n\n- [x]  Setup\n  - Setup Project\n  - Setup Server. Create and export the Express app\n  - Create and export API Router for `/api`\n\n  ✔ [#2 issue](https://github.com/SimonaPiz/X-PressPublishing/issues/2)\n\n\n- [x]  Create Database Tables\n\n  ✔ [#3 issue](https://github.com/SimonaPiz/X-PressPublishing/issues/3)\n\n  - **Artist**\n    - id - Integer, primary key, required\n    - name - Text, required\n    - date_of_birth - Text, required\n    - biography - Text, required\n    - is_currently_employed - Integer, defaults to `1`\n\n  - **Series**\n    - id - Integer, primary key, required\n    - name - Text, required\n    - description - Text, required\n\n  - **Issue**\n    - id - Integer, primary key, required\n    - name - Text, required\n    - issue_number - Text, required\n    - publication_date - Text, required\n    - artist_id - Integer, foreign key, required\n    - series_id - Integer, foreign key, required\n\n\n- [x]  Create Route Paths\n\n  ✔ [#4 issue](https://github.com/SimonaPiz/X-PressPublishing/issues/4)\n\n  **/api/artists**\n    - GET\n    - POST\n  \n  **/api/artists/:artistId**\n    - GET\n    - PUT\n    - DELETE\n\n  **/api/series**\n    - GET\n    - POST\n\n  **/api/series/:seriesId**\n    - GET\n    - PUT\n    - DELETE\n\n  **/api/series/:seriesId/issues**\n    - GET\n    - POST\n\n  **/api/series/:seriesId/issues/:issueId**\n    - PUT\n    - DELETE\n\n\n## Testing\n\nA testing suite has been provided. \n\n  ✔ All Test Passed\n\n  ![Test Results](https://user-images.githubusercontent.com/91121660/280709703-75038295-94bf-482d-9a19-6c60fdf7e0d4.png)\n\n## Setup\nIn the root directory of the project run\n```\n$ npm  install\n```\nTo view a local version of the site, open **index.html** in the browser.\n\n## Technologies Used\n  - React 15\n  - react-router-dom 4\n  - mocha 10\n  - chai 4\n  - express 4\n  - sqlite3 5\n  - body-parser 1\n  - cors 2\n  - errorhandler 1\n\n## Acknowledgements\n\nThis project comes from the [Codecademy's Create a Back-End with JavaScript](https://www.codecademy.com/learn/paths/create-a-back-end-app-with-javascript) course.\n\n## Author\n\n- [Simona Pizio](https://github.com/SimonaPiz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonapiz%2Fx-presspublishing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonapiz%2Fx-presspublishing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonapiz%2Fx-presspublishing/lists"}