{"id":20760734,"url":"https://github.com/dracula27/starwars_lab","last_synced_at":"2026-04-11T05:05:43.292Z","repository":{"id":92041805,"uuid":"601286030","full_name":"DrAcula27/starWars_Lab","owner":"DrAcula27","description":"Per Scholas - Week 12 - React: Displaying API Data - Assignment: starWars_Lab","archived":false,"fork":false,"pushed_at":"2023-02-18T21:19:59.000Z","size":1335,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T17:17:41.355Z","etag":null,"topics":["api","css","express","git","github","node","react","react-components","react-hooks"],"latest_commit_sha":null,"homepage":"https://starwars-lab.onrender.com/","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/DrAcula27.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":"2023-02-13T18:47:59.000Z","updated_at":"2023-02-17T21:40:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"eadcc42f-cb5a-44c7-b78d-6b3743c5991d","html_url":"https://github.com/DrAcula27/starWars_Lab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DrAcula27/starWars_Lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2FstarWars_Lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2FstarWars_Lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2FstarWars_Lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2FstarWars_Lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrAcula27","download_url":"https://codeload.github.com/DrAcula27/starWars_Lab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2FstarWars_Lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28020072,"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","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","css","express","git","github","node","react","react-components","react-hooks"],"created_at":"2024-11-17T10:15:12.799Z","updated_at":"2025-12-25T05:10:48.869Z","avatar_url":"https://github.com/DrAcula27.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to StarWars_Lab!\u003c/h1\u003e\n\u003cp\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/npm-%3E%3D9.1.2-blue.svg\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/node-%3E%3D18.12.1-blue.svg\" /\u003e\n\u003c/p\u003e\n\n\u003e Per Scholas - Week 12 - React: Displaying API Data - Assignment: starWars_Lab\n\n\u003e In this assignment, I consumed the [Star Wars API (SWAPI)](https://swapi.dev/) and used it to display the starships. Since the API uses pagination, I used pagination to enable the user to view all starships, not just the first page of starships.\n\n## Demo\n\n[demo link](https://starwars-lab.onrender.com)\n\n![demo image](./src/img/demo.png)\n\n### 🏠 [Homepage](https://github.com/DrAcula27/starWars_Lab#readme)\n\n## Author\n\n👤 **Danielle Andrews**\n\n- Github: [@DrAcula27](https://github.com/DrAcula27)\n- LinkedIn: [@daniellerandrews](https://linkedin.com/in/daniellerandrews)\n\n## Project Details\n\n**Styling in this lab is secondary to completing the functionality**\n\n### Minimum Viable Product (MVP)\n\n1. Research documentation of SWAPI Links to an external site. to find the endpoint for the `starships` resource.\n1. Create a route in `server.js` to call the API.\n1. Use named exports to expose AJAX functionality as needed, e.g., `export function getAllStarships() {...}` to obtain all starships.\n1. Obtain all of the starships from the API and render in `\u003cApp\u003e` a card for each starship.\n1. Cards should contain the text of the starship's name.\n\n### Bonus Features\n\n1. Display additional details for each Starship in it's respectable card.\n1. This API has a pagination feature that allows you to get additional starships to display - find out how to use this to your advantage and allow users to get more starships at the click of a button.\n\n**This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).**\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in your browser.\n\nThe page will reload when you make changes.\\\nYou may also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\\\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can't go back!**\n\nIf you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.\n\nYou don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n\n### Code Splitting\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)\n\n### Analyzing the Bundle Size\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)\n\n### Making a Progressive Web App\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)\n\n### Advanced Configuration\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)\n\n### Deployment\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)\n\n### `npm run build` fails to minify\n\nThis section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)\n\n## Tech Stack\n\nThis project uses the following:\n\n- **E** - [Express](https://expressjs.com/) \u003cimg src=\"https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/images/favicon.png\" width=\"20\" height=\"20\" /\u003e\n- **R** - [React](https://reactjs.org/) \u003cimg src=\"https://raw.githubusercontent.com/facebook/react/main/fixtures/attribute-behavior/public/favicon.ico\" width=\"20\" height=\"20\" /\u003e\n- **N** - [Node](https://nodejs.org/en/) \u003cimg src=\"https://raw.githubusercontent.com/nodejs/nodejs.org/main/static/images/logos/js-green.svg\" width=\"20\" height=\"20\" /\u003e\n\n## Attributions\n\n- Background image is from [cssanimation.rocks](https://cssanimation.rocks/demo/starwars/images/bg.jpg).\n\n## Show Your Support\n\nGive a ⭐️ if you liked this project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdracula27%2Fstarwars_lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdracula27%2Fstarwars_lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdracula27%2Fstarwars_lab/lists"}