{"id":31813997,"url":"https://github.com/levicook/overlook-hotel","last_synced_at":"2026-02-15T22:31:29.152Z","repository":{"id":66311620,"uuid":"376375271","full_name":"levicook/overlook-hotel","owner":"levicook","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-12T19:47:29.000Z","size":593,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-24T11:38:44.723Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"novaraptur/overlook-hotel","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/levicook.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-12T20:07:17.000Z","updated_at":"2024-01-01T08:55:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c107461-d883-49e1-b83e-ded22b1ef00e","html_url":"https://github.com/levicook/overlook-hotel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/levicook/overlook-hotel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levicook%2Foverlook-hotel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levicook%2Foverlook-hotel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levicook%2Foverlook-hotel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levicook%2Foverlook-hotel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levicook","download_url":"https://codeload.github.com/levicook/overlook-hotel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levicook%2Foverlook-hotel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29490859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-10-11T08:23:29.294Z","updated_at":"2026-02-15T22:31:29.147Z","avatar_url":"https://github.com/levicook.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack Starter Kit\n\n## Clone This Repo\n\nThat's right, _clone_ not fork. You will use this repo multiple times, but you can only fork a repository once. So here is what you need to do to clone the repo and still be able to push changes to your repo:\n\n1. Clone down this repo. Since you don't want to name your project \"webpack-starter-kit\", you can use an optional argument when you run `git clone` (you replace the `[...]` with the terminal command arguments): `git clone [remote-address] [what you want to name the repo]`\n1. Remove the default remote: `git remote rm origin` (notice that `git remote -v` not gives you back nothing)\n1. Create a new repo on GitHub with the name of `[what you want to name the repo]` to be consistent with naming\n1. Copy the address that you would use to clone down this repo - something like `git@github.com:...`\n1. Add this remote to your cloned down repo: `git remote add origin [address you copied in the previous step]` - do not include the brackets\n\nNow try to commit something and push it up to your new repo. If everything is setup correctly, you should see the changes on GitHub.\n\n## Setup\n\nAfter one person has gone through the steps of cloning down this repo and editing the remote, everyone should clone down the repo. \n\nThen install the library dependencies. Run:\n\n```bash\nnpm install\n```\n\nTo verify that it is setup correctly, run `npm start` in your terminal. Go to `http://localhost:8080/` and you should see a page with some `h1` text, Turing logo image and a beautiful gradient background. If that's the case, you're good to go. Enter `control + c` in your terminal to stop the server at any time.\n\n## Where to Add Your Code\n\n### JavaScript\n\nYou have to be very intentional with where you add your feature code. This repo uses a tool called [webpack](https://webpack.js.org/) to combine many JavaScript files into one big file. Webpack enables you to have many, separate JavaScript files to keep your code organized and readable. Webpack expects all of your code files to be in a specific place, or else it doesn't know how to combine them all behind the scenes.\n\n**Create all of your feature code files in the `src` directory.**\n\nSince code is separated into multiple files, you need to use the `import` and `export` syntax to share code across file.\n\nHere is a video that walks through some information about [import and export](https://www.youtube.com/watch?v=_3oSWwapPKQ). There are a lot of resources out there about `import` and `export`, and resources will sometimes call them `ES6 modules`. It's something you will see in React and beyond.\n\n### HTML\n\nAdd the HTML you need in the `index.html` file in the `./dist` directory. There is some boilerplate HTML that exists from the start that you can modify.\n\n### CSS (SCSS/SASS)\n\nThis project is setup to use SCSS/Sass files by default instead of your regular CSS files. Add your SCSS files in the `src/css` directory. There is a `base.scss` file already there, but you can change this file and add multiple SCSS files in this directory.\n\nThis might sound weird, but you need to `import` your SCSS files in the JavaScript entry file (`index.js`) for the styles to be applied to your HTML. The example `base.scss` file has already been imported in the JavaScript entry file as an example.\n\n### Images\n\nAdd your image files in the `src/images` directory. Similar to CSS files, you need to `import` image files in the JavaScript entry file (`index.js`). Then go into the HTML and add an `img` element with the `src` attribute pointing to the `images` directory. There is an example in the `index.html` file for you to see.\n\n## How to View Your Code in Action\n\nIn the terminal, run:\n\n```bash\nnpm start\n```\n\nYou will see a bunch of lines output to your terminal. One of those lines will be something like:\n\n```bash\nProject is running at http://localhost:8080/\n```\n\nGo to `http://localhost:8080/` in your browser to view your code running in the browser.\n\n---\n\n## Test Files Organization\n\nSimilar to feature code, your test code needs to be put in a specific place for it to run successfully.\n\n**Put all of your test files in the `test` directory.** As a convention, all test filenames should end with `-test.js`. For instance: `box-test.js`.\n\n## Running Your Tests\n\nRun your test suite using the command:\n\n```bash\nnpm test\n```\n\nThe test results will output to the terminal.\n\n---\n\n## Linting Your Code\n\nRun the command in your terminal `npm run lint` to run the linter on your JavaScript code. There will be errors and warnings right from the start in this starter kit - the linter is still running successfully.\n\nYour linter will look at the JavaScript files you have within the `src` directory and the `test` directory. \n\n## Webpack?\n\nIf you look in the `package.json` file, you'll see one of the library dependencies called `webpack`. If you're interested in learning more about what Webpack is and how it works behind the scenes, take a look through the [Webpack configuration documentation](https://webpack.js.org/concepts/).\n\n## Deploying to GitHub Pages\n\n_If you are finished with the functionality and testing of your project_, then you can consider deploying your project to the web! This way anyone can play it without cloning down your repo.\n\n[GitHub Pages](https://pages.github.com/) is a great way to deploy your project to the web. Don't worry about this until your project is free of bugs and well tested!\n\nIf you _are_ done, you can follow [this procedure](./gh-pages-procedure.md) to get your project live on GitHub Pages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevicook%2Foverlook-hotel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevicook%2Foverlook-hotel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevicook%2Foverlook-hotel/lists"}