qwiktober-2022
qwiktober-2022 copied to clipboard
Simple website collection built with Qwik City for Hacktoberfest 2022
Qwiktober 2022 ⚡️
🎯 The repository contains projects based on web development i.e easy to advance level projects so as to get started with web development and make your journey smooth in the field of web development.
🎯 This repository is open to all the members of the GitHub community. Feel free to contribute to this repository.
🎯 Do not forget to ⭐ the repository.
🏷️ Get Started
-
First, fork the repository.
-
Clone the forked repository to your local machine.
git clone https://github.com/{YOUR-USERNAME}/qwiktober-2022.git
-
Add upstream URL
-
Create a new branch
git checkout -b branch_name
-
Make your contribution to
public/websitesto add your own website to show-off -
Commit and push the changes
git add .
git commit -m 'Relevant message'
git push origin branch_name
-
Create a new pull request from your forked repository (Click the
New Pull Requestbutton located at the top of your repo) -
Wait for your PR review and approval from the maintainers.
🧑💻 Customize Contributor Card
The src/data/contributors.ts file is responsible for custom contributor data. Please don't edit others data if you don't want to get blocked by the maintainer!
🫗 Project Structure
Inside of you project, you'll see the following directories and files:
├── public/
│ └── ...
└── src/
├── components/
│ └── ...
└── routes/
└── ...
-
src/routes: Provides the directory based routing, which can include a hierarchy oflayout.tsxlayout files, andindex.tsxfiles as the page. Additionally,index.tsfiles are endpoints. Please see the routing docs for more info. -
src/components: Recommended directory for components. -
public: Any static assets, like images, can be placed in the public directory. Please see the Vite public directory for more info.
⚒️ Development
Development mode uses Vite's development server. For Qwik during development, the dev command will also server-side render (SSR) the output. The client-side development modules loaded by the browser.
npm run dev
Note: during dev mode, Vite will request many JS files, which does not represent a Qwik production build.
🔨 Local Development
The Netlify CLI can be used to preview a production build locally. To do so: First build your site, then to start a local server, run:
- install Netlify CLI globally
npm i -g netlify-cli - Build your site both ssr and client
npm run build. - Start a local server with
npm run serve. In this project,npm run serveuses thenetlify devcommand to spin up a server that can handle Netlify's Edge Functions locally. - Visit http://localhost:8888/ to check out your site.