repo
stringlengths 8
123
| branch
stringclasses 178
values | readme
stringlengths 1
441k
⌀ | description
stringlengths 1
350
⌀ | topics
stringlengths 10
237
| createdAt
stringlengths 20
20
| lastCommitDate
stringlengths 20
20
| lastReleaseDate
stringlengths 20
20
⌀ | contributors
int64 0
10k
| pulls
int64 0
3.84k
| commits
int64 1
58.7k
| issues
int64 0
826
| forks
int64 0
13.1k
| stars
int64 2
49.2k
| diskUsage
float64 | license
stringclasses 24
values | language
stringclasses 80
values |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sigmaSd/Camera | master | # Camera
A cross platform video capture library with a focus on machine vision. (Deno ffi
bindings to openpnp-capture)
## Usage
```ts
import { Camera } from "jsr:@sigma/camera";
if (import.meta.main) {
console.log("OpenPnp Camera Test Program");
console.log("Using openpnp version:", Camera.getLibraryVersion());
//Camera.setLogLevel(7);
using cam = new Camera();
const device = cam.devices().at(0);
if (!device) throw new Error("no device found");
console.log("Device name:", device.name());
console.log("Device formats:", device.formats());
// choose the format with the highest resolution
const formatInfo = device.formats().sort((a, b) => b.width - a.width).at(0);
if (!formatInfo) throw new Error("no format found");
using stream = device.stream(formatInfo);
if (!stream) throw new Error("no stream found");
let frameNum = 0;
for await (const frame of stream.next({ delay: 100 })) {
if (frameNum === 5) break;
writeBufferAsPPM(++frameNum, formatInfo.width, formatInfo.height, frame);
console.log(`Written frame to frame_${frameNum}.ppm`);
}
}
function writeBufferAsPPM(
frameNum: number,
width: number,
height: number,
buffer: Uint8Array,
): boolean {
const ENCODER = new TextEncoder();
const fname = `frame_${frameNum}.ppm`;
const fout = Deno.createSync(fname);
fout.writeSync(ENCODER.encode(`P6 ${width} ${height} 255\n`));
fout.writeSync(buffer);
fout.close();
return true;
}
```
This library exports 3 levels of abstractions:
- ffi: raw deno bindings to openpnp
- openpnp: thin javascript wrapper over the raw bidings
- default export: high level javascript api
The default export is the recommended to use.
| A cross platform video capture library with a focus on machine vision. (Deno ffi bindings to openpnp-capture) | camera,deno,javascript,openpnp | 2024-04-05T18:49:12Z | 2024-04-07T06:12:42Z | null | 1 | 0 | 32 | 0 | 0 | 2 | null | MIT | TypeScript |
victorpreston/alx-backend-javascript | master | alx-backend-javascript
| alx-backend-javascript | alx 12 months software engineering program | Back-End Specialization| | alx,alx-africa,back-end,back-end-development,backend,javascript,nodejs,projects,software-engineering,specialization | 2024-04-08T10:42:22Z | 2024-04-19T09:12:00Z | null | 1 | 0 | 77 | 0 | 0 | 2 | null | null | JavaScript |
yeaayy/maze-generator | main | null | Simple maze generator | generator,html,javascript,maze,maze-generator | 2024-04-13T23:05:58Z | 2024-04-14T02:40:27Z | null | 1 | 0 | 2 | 0 | 0 | 2 | null | null | HTML |
Tejas-0612/Instant-Eats | main | null | Instant Eats 🍽️ is a food ordering web application built using React, Redux Toolkit, Parcel, TailwindCSS, and real-time data | javascript,reactjs,tailwindcss | 2024-04-04T17:26:23Z | 2024-05-06T17:11:43Z | null | 1 | 0 | 4 | 0 | 0 | 2 | null | MIT | JavaScript |
BTS-CM/astro-nft-tool | main | # Bitshares Astro NFT tool
Implemented using React, Astro and ShadCN.
## Setup instructions
Requires a linux development environment.
Repo currently uses [Bun](https://bun.sh/) for package management and building purposes.
For windows, use the [windows linux subsystem](https://learn.microsoft.com/en-us/windows/wsl/install) to create an ubuntu instance in your terminal to run the following commands:
`bun install`
`bun run fetchAssets`
`bun run fetchIssuers`
`bun run dev`
`bun run build`
## Hosting guide
Can be easily deployed to Vercel!
https://vercel.com/changelog/bun-install-is-now-supported-with-zero-configuration
https://docs.astro.build/en/guides/integrations-guide/vercel/
| Astro + React Bitshares NFT tool for Bitshares (BTS) | astrojs,beet,bitshares,create,deeplinks,edit,issuance,javascript,nft,react | 2024-04-26T16:55:35Z | 2024-05-12T16:55:26Z | null | 1 | 0 | 18 | 1 | 0 | 2 | null | MIT | TypeScript |
SakshiRai01/Picture-Perfect-Search | main | # Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes.\
You may also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
If 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.
Instead, 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.
You 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.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This 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)
### Making a Progressive Web App
This 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)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This 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)
| A user-friendly React application that allows you to search for images using the Unsplash API. It displays the search results in a visually appealing grid layout, providing a seamless image browsing experience. | css,html,javascript,react | 2024-04-09T10:53:29Z | 2024-04-09T11:09:54Z | null | 1 | 0 | 2 | 0 | 0 | 2 | null | null | JavaScript |
lumenpearson/practicum-gamerating-m5_n3 | main | Control and manage your game list, add new ones and try out existing ones. | commonjs,express-js,javascript,mit-license,nodejs,nodemon,student-project,yandex-practicum,yarn,chalk | 2024-04-17T15:07:44Z | 2024-05-06T20:12:32Z | null | 1 | 6 | 14 | 0 | 0 | 2 | null | MIT | JavaScript |
|
SalahQerem/Note-keeping-API | main | <p align="center">
<img src="https://user-images.githubusercontent.com/62269745/174906065-7bb63e14-879a-4740-849c-0821697aeec2.png#gh-light-mode-only" width="40%">
<img src="https://user-images.githubusercontent.com/62269745/174906068-aad23112-20fe-4ec8-877f-3ee1d9ec0a69.png#gh-dark-mode-only" width="40%">
</p>
## Note Keepeing API
Note Keepeing REST API with Node.js, Express.js, and MongoDB
## Endpoints:
- **`GET /notes`**: Retrieve all notes, you can pass a limit and page to perform the pagination with notes list **`GET /notes?limit=Limit&page=PAGE`**.
- **`POST /notes`**: Add a new note.
- **`DELETE /notes/:id`**: Delete a specific note using its ID.
- **`PUT /notes/:id`**: Update a specific note using its ID.
- **`GET /notes?title=TITLE&content=CONTENT`**: Search notes by their title or content, search as startWith function.
## API Deployment
The Note Keeping API is deployed and accessible at the following URL:
[https://note-keeping-api.onrender.com](https://note-keeping-api.onrender.com)
Feel free to interact with the live API to test its functionality.
## Libraries Used
In this project, I've used the following libraries:
- **dotenv:** A zero-dependency module that loads environment variables from a `.env` file into `process.env`. [dotenv](https://www.npmjs.com/package/dotenv)
- **Express:** A fast, unopinionated, minimalist web framework for Node.js. [Express](https://expressjs.com/)
- **Mongoose:** A MongoDB object modeling tool designed to work in an asynchronous environment. [Mongoose](https://mongoosejs.com/)
- **Nodemon:** A utility that monitors for any changes in your source and automatically restarts your server. [Nodemon](https://nodemon.io/)
Please refer to the documentation of each library for more information on how to use them.
| Explore this RESTful Note Keeping API built with Node.js and Express.js, supporting CRUD operations and features like pagination and search. Check out the deployed API for interactive use. | dotenv,expressjs,javascript,mongodb,mongoose,nodejs,restful-api | 2024-03-30T00:03:02Z | 2024-05-09T20:17:41Z | null | 3 | 1 | 22 | 0 | 0 | 2 | null | null | JavaScript |
BrainiacWizards/brainiacwiz | main | # BraniacWiz Quiz README.md
## 🤓 **Overview**
Welcome to the BraniacWiz Quiz Game, a decentralized application built on the Ethereum blockchain platform. This quiz game allows users to create and participate in quizzes while leveraging the security and transparency of blockchain technology. Dive into the world of decentralized quizzes and challenge your knowledge!
## 👥 **Developers**
- [Manelisi Mpotulo](https://github.com/mmpotulo28)
- [Palesa Hope Motaung](https://github.com/Helipterum)
- [Charles Polelo Ledwaba](https://github.com/CharlesLedwaba)
- [Samkele Ndzululeka](https://github.com/samkeleN)
## 💡 **Purpose**
- The BraniacWiz Quiz Game aims to provide an engaging and secure platform for users to create and participate in quizzes using smart contracts on the Celo Ethereum blockchain. By leveraging blockchain technology, the game ensures transparency, immutability, and fairness in quiz interactions.
- It makes use of multiplayer schema to make the game even more interesting, where one can be the host, and others will join as players using the game pin generated by the host.
## 🔧 **Installation and Setup**
### 1. **Requirements**:
- Metamask browser extension
- Truffle framework
- Ganache for local blockchain development
- Visual Studio Code IDE
- Live Server extension
### 2. **Installation**:
- Clone the GitHub repository.
- Install project dependencies using npm:
```
$ npm install
```
- make sure that your wallet is connected to Celo Alfajores Testnet and you must have some few tokens in your wallet
- if you don't have any free token click here https://faucet.celo.org/alfajores for free tokens then after that you can enjoy the game
### 3. **Running the Game**:
- You can run the game on your local desktop using live server
### 4. **Connecting Metamask**:
- Connect Metamask to the DApp and confirm account connection.
- Switch between accounts using Metamask for different interactions.
- Verify that your using Celo Alfajores Testnet or the game won't run
### - **The Subgraph Utilization**:
-The subgraph is created on subgraph studio at https://thegraph.com/studio/ using the Celo - alfajores.
- A subgraph is named BraniacWiz.
- To create the graph the steps to be taken are:
- On your local machine, run one of the following commands:
```
npm install -g @graphprotocol/graph-cli
```
- Initialize your Subgraph using command:
```
graph init --studio <SUBGRAPH_SLUG>
```
- Then after writing the subgraph deploy to the subgraph studio.
- Once your subgraph is written , run the following commands:
```
- $ graph codegen
- $ graph build
```
- Publish Your Subgraph to The Graph’s Decentralized Network.
- Query your Subgraph.
- With regards to this Web application the query to the subgraph is your wallet under transactions.
## 🎲 **Usage Instructions (Player/Host)**
### - **Creating a Quiz**:
- use this [link](https://brainiacwiz.web.app) to access the game from your browser.
- pick a topic that you would like to play
- Choose a role of a `host` and generate a game pin, and click next to host the quiz
- You will see a list of players as they join.
- share your game pin with the players you want to invite to the game
### - **Taking/Joining a Quiz**:
- Browse available quizzes [here](https://brainiacwiz.web.app), then click the topic hosted by the host,
- click on `join` then enter the game pin sent to you by the host.
- Once started, pick the correct answers, you will have about 10 sec to answer each question
- at the end of the quiz, a scoreboard comparing you to other players will show.
- a count down of `10sec` will start which is for waiting for other users to finish playing, and do a fair comparison.
- If you are on position one, you will receive 1 NFT token to your MetaMask wallet.
- You will however be require to pay a gas fee (transaction fee) to recieve your reward.
### - **Account Management**:
- Use Metamask to switch between accounts for different interactions within the game.
- click on the `wallet icon` at the top to view a list of your collected NFTs and preview the transactions you have made on the game
- Your tokens (NFTs) and transactions are linked to your wallet account, so keep your `MetaMask wallet` safe.
- you access them from everywhere
### ⚠️ **Known Issues**
- `WE A RUNNING A BUG-LESS GAME! UNFORTUNATELY.`
### 📝 **Additional Notes**
- Ensure all dependencies are correctly installed for smooth operation (`when running locally`).
- Connect Metamask to the DApp to manage your account and interact with the game seamlessly.
- Refresh the page to load account information and maintain a smooth user experience.
- Make sure you are the `Celo alfajoris network` on your metamask wallet
### 🎮 **Explore the BraniacWiz Quiz Game**
Enjoy a decentralized quiz experience like never before! Feel free to contribute, provide feedback, and engage with the developers to enhance the game further.
## ⚠️ Issues reporting and Feature request
- use this [link](https://github.com/BrainiacWizards/brainiacwiz/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=) to report an issue to the game
- use this [link](https://github.com/BrainiacWizards/brainiacwiz/issues/new?assignees=&labels=&projects=&template=feature_request.md&title=) to request a feature to the game
| Welcome to the BraniacWiz Quiz Game, a decentralized application built on the Ethereum blockchain platform. This quiz game allows users to create and participate in quizzes while leveraging the security and transparency of blockchain technology. Dive into the world of decentralized quizzes and challenge your knowledge! | blockchain,blockchain-technology,celo,celo-blockchain,celo-network,css3,game-development,html5,javascript,thegraph | 2024-03-28T11:05:57Z | 2024-05-18T22:20:59Z | 2024-05-18T22:20:59Z | 4 | 49 | 253 | 0 | 2 | 2 | null | null | CSS |
ThatSINEWAVE/thatsinewave.github.io | main | <div align="center">
# [ThatSINEWAVE's Portfolio](https://thatsinewave.github.io)
Welcome to my portfolio! This repository hosts the source code for my personal portfolio website.
Here you can explore a variety of projects and resources made by me.
This portfolio showcases my projects and interests in various fields, including cybersecurity, web development, and more.
</div>
<div align="center">
## [Join my discord server](https://discord.gg/2nHHHBWNDw)
</div>
## Projects
### Malware Samples
- Description: Repository containing various malware and ransomware samples for research and analysis purposes.
- [Visit Project](https://thatsinewave.github.io/Malware-Samples)
### OSINT Toolkit
- Description: Comprehensive catalog for tools and websites useful in Open Source Intelligence (OSINT) investigations.
- [Visit Project](https://thatsinewave.github.io/OSINT-Toolkit)
### Malicious URLs DB
- Description: Curated JSON file containing lists of websites associated with malicious activities.
- [Visit Project](https://thatsinewave.github.io/Malicious-URLs-DB)
### OpenDictionary
- Description: OpenDictionary is a web application that allows users to search for word definitions using the Free Dictionary API.
- [Visit Project](https://thatsinewave.github.io/OpenDictionary)
### Yet Another Weather App
- Description: This is my attempt at making a weather app because, you know, the world definitely needs another one of these.
- [Visit Project](https://thatsinewave.github.io/YetAnotherWeatherAPP)
### Password Generator
- Description: Simple password generator application implemented in Python.
- [Visit Project](https://thatsinewave.github.io/Password-Generator)
### Discord Identity Generator
- Description: Discord profile identity generator enabling creation of random Discord profiles.
- [Visit Project](https://thatsinewave.github.io/Discord-Identity)
### Discord Invite Checker
- Description: Web interface to retrieve information about Discord server invite links.
- [Visit Project](https://thatsinewave.github.io/Discord-Invite-Checker)
### Discord Member Counter
- Description: Web interface to display information about a Discord server's member count.
- [Visit Project](https://thatsinewave.github.io/Discord-Member-Counter)
### Uncovered IP Tool
- Description: Web application designed to perform domain/IP scans.
- [Visit Project](https://thatsinewave.github.io/Uncovered)
<div align="center">
## [Support my work on Ko-Fi](https://ko-fi.com/thatsinewave)
</div>
## Contributing
If you find any issues or have suggestions for improvements, feel free to contribute by submitting a pull request or opening an issue on GitHub.
## License
This repository is provided under the MIT License.
| This repository hosts the source code for my personal portfolio website. Here you can explore a variety of projects and resources made by me. | good-first-contribution,good-first-issue,good-first-issues,good-first-pr,good-first-pr-first-contribution,good-first-project,good-practices,html,html-css,html-css-javascript | 2024-05-01T17:23:59Z | 2024-05-22T02:32:12Z | null | 1 | 0 | 39 | 0 | 0 | 2 | null | MIT | HTML |
tokgozkerem/ucl_2024_draw_simulator | main | # UEFA Champions League 2024-2025 Draw Simulator
Welcome to the UEFA Champions League 2024-2025 Draw Simulator!
This web application allows you to simulate the draw for the UEFA Champions League groups for the 2024-2025 season. The draw is based on the official rules and regulations of the UEFA Champions League.
## How to Use
1. Visit the [UEFA Champions League 2024-2025 Draw Simulator](https://tokgozkerem.github.io/ucl_2024_draw_simulator/) website.
2. Click on the "Draw!" button to start the draw simulation.
3. The draw will automatically generate groups and display the results on the screen.
4. You can repeat the draw simulation as many times as you like to explore different outcomes.
## Features
- Randomized draw simulation based on the official UEFA Champions League rules.
- Simple and intuitive interface.
- Realistic group formations and team distributions.
# Update 1
- Added group stage functionality to simulate matches and calculate league standings for 36 teams.
## Technologies Used
- HTML
- CSS
- JavaScript
## About the Author
This project was created by [Kerem Tokgöz](https://github.com/tokgozkerem) as a personal project to practice web development skills and explore the UEFA Champions League draw system.
| ⚽ Champions League 2024-2025 draw simulator | champions-league,draw,football,javascript | 2024-03-17T17:14:10Z | 2024-05-22T15:38:54Z | null | 1 | 0 | 24 | 0 | 1 | 2 | null | null | JavaScript |
chrscmpl/DietiDeals24-Frontend | main | # DietiDeals24 Frontend
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.0.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
| Frontend client of the DietiDeals24 web application developed as part of a project for the university course of Software Engineering | angular17,html,javascript,lazy-loading,node,npm,progressive-web-app,pwa,scss,typescript | 2024-04-26T16:35:55Z | 2024-05-23T16:40:20Z | null | 2 | 0 | 144 | 0 | 0 | 2 | null | MIT | SCSS |
isupersky/portfolio | main | To view a live example, **[click here](https://isupersky.github.io/portfolio/)**
| Portfolio website of Aakash Sinha | dynamic,javascript,portfolio-website,react | 2024-03-26T12:23:05Z | 2024-04-01T11:33:19Z | null | 1 | 3 | 15 | 0 | 0 | 2 | null | MIT | JavaScript |
moayaan1911/erc404-uniswap | main | <!-- @format -->
# ERC404 Smart Contract 📄
## Description 📖
ERC404 is an innovative token standard that combines the best of both ERC20 and ERC721, creating a unique semi-fungible token. This project, Cat404, implements the ERC404 standard to introduce "Cat404 SemiFungible Rewards Tokens", showcasing a novel use case of semi-fungible tokens on the Uniswap Sepolia testnet.
## Project Links 🔗
- [Cat404 Smart Contract](https://sepolia.etherscan.io/address/0x5c124fe22e67Fb0041515211770Bb8D227D4C407)
- [Fake_USDT Contract](https://sepolia.etherscan.io/address/0xE3706626BD9FABC7c6015aD91Aa0717A371a2A5f)
- [Images on IPFS](ipfs://bafybeifkunl5oebcfnnhqwddlsycrosacasknhr252yqrnk7c4rnsy7vnq/)
- [Project Overview](https://cat404.vercel.app)
## Steps to Deploy Yourself 🚀
- 📁 Deploy the Cat404 smart contract on Remix.
- 📁 Deploy the fake_USDT smart contract on Remix.
- 📁 Create `config.js` with the same initialization as `config.example.js` and fill in the values.
- 🖥️ Run `node step1-deploy-pool.js` to deploy the pool.
- 🖥️ Then run `node step2-add-pos-liquidity.js` to add liquidity.
- 🎉 Finally, your ERC404 token is deployed on Uniswap and ready for trading!
## Folder Structure 📂
- `contracts` - This contains all the smart contract files.
- `uniswap-script` - Contains Uniswap deployment scripts.
- `frontend` - Frontend Next.js app deployed at [cat404.vercel.app](https://cat404.vercel.app).
- `images` - Static folder containing images used in the project.
## About the Developer 👩💻
Hello there! I'm Mohammad Ayaan Siddiqui, a dedicated Full Stack Blockchain Developer and enthusiastic Crypto investor. My journey in the tech industry has been marked by a significant stint of 15 months with a Netherlands-based Web3 startup as a founding team member, where I contributed to innovative blockchain and full stack solutions.
Over the past year and a half, I have successfully delivered a diverse range of freelance projects, showcasing my ability to meet and exceed client expectations. My commitment to excellence is demonstrated through consistent delivery of high-quality, efficient, and scalable decentralized applications.
Let's connect and explore the possibilities of blockchain together:
- [Linktree](https://linktr.ee/ayaaneth)
- [LinkedIn](https://www.linkedin.com/in/ayaaneth)
- [Hashnode](https://moayaan.hashnode.dev)
- [Telegram](https://t.me/usdisshitcoin)
| A collection of 10000 ERC404 tokens deployed on the Sepolia testnet. | erc20,erc404,erc721,javascript,solidity,uniswap,web3 | 2024-03-25T03:22:47Z | 2024-03-31T03:59:17Z | null | 1 | 0 | 4 | 0 | 0 | 2 | null | null | JavaScript |
natnael-jhon/DOM-Exploration-Journey | master | null | Embark on my DOM Learning Journey! 🌟 From April 6, 2024 onwards, witness my progress as I delve into the intricacies of the Document Object Model (DOM). Explore my code commits, triumphs, and insights, all in one place. Join me in this exciting adventure of discovery and growth in web development. Let's learn together, one step at a time! | dom-manipulation,html-css-javascript,javascript,learning-journey,webdevelopment | 2024-04-06T19:26:30Z | 2024-04-13T07:09:53Z | null | 2 | 0 | 15 | 0 | 0 | 2 | null | null | HTML |
Aditya-Ranjan1234/Simon_Game | main | # Simon Game
Simon Game is a classic electronic memory game where players need to repeat a sequence of colors and sounds generated by the game. It's a fun and challenging way to test and improve your memory skills!
## Features
- Generate random sequences of colors and sounds.
- Display the current sequence to the player.
- Allow the player to input their guess for the sequence.
- Check if the player's input matches the generated sequence.
- Keep track of the player's score (number of correct sequences repeated).
- Increase the difficulty as the player progresses by adding more colors or increasing the length of the sequence.
## Technologies Used
- HTML: Structure of the game interface.
- CSS: Styling the game interface to make it visually appealing.
- JavaScript: Logic and functionality of the game.
- Audio API: Generating and playing sounds for each color in the sequence.
## How to Play
1. Start the game by pressing the "Start" button.
2. The game will generate a sequence of colors and play corresponding sounds.
3. Pay attention to the sequence!
4. Repeat the sequence by clicking on the colors in the same order.
5. If your sequence matches the generated one, you'll advance to the next round with an increased difficulty.
6. If you make a mistake, the game will indicate it, and you can try again.
7. Keep playing and see how far you can go!
Website Link : https://aditya-ranjan1234.github.io/Simon_Game/
| Fun Pattern Memorisation Game | css,html,javascript | 2024-04-08T12:34:12Z | 2024-04-09T12:44:15Z | null | 1 | 0 | 16 | 0 | 0 | 2 | null | GPL-3.0 | JavaScript |
jorgeguedess/game_quiz | main | <div align="center" style="background: linear-gradient(5deg, #fc8905 0%, #f14d5c 60%); width: 100%;padding: .5rem 0;">
<img src="public/logo.svg" alt="Generation" width="250">
<h1 style="color: #fff; font-family:sans-serif">2 Fatos, 1 Mentira</h1>
</div>
<hr>
<p align="center">
<img src="https://img.shields.io/static/v1?label=STATUS&message=DISPON%C3%8DVEL&color=RED&style=for-the-badge"/>
</p>
### Tópicos
- [Descrição do projeto](#descrição-do-projeto)
- [Aplicação](#aplicação)
- [Ferramentas utilizadas](#ferramentas-utilizadas)
- [Acesso ao projeto](#acesso-ao-projeto)
- [Abrir e rodar o projeto](#abrir-e-rodar-o-projeto)
- [Histórico de versões](#historico-de-versoes)
- [Desenvolvedores](#desenvolvedores)
## Descrição do projeto
<p align="justify">
Este jogo apresenta três declarações relacionadas à tecnologia: duas são fatos verdadeiros e uma é falsa. Os jogadores são desafiados a identificar qual declaração é a falsa para ganhar pontos a cada acerto.
Desenvolvido como um projeto simples para inaugurar a abertura do bootcamp da Generation Brasil, está disponível para todes que desejam participar.
![Página do Projeto mostrando o título: 2 fatos, 1 mentira e o quiz abaixo com 3 frases](public/preview.png)
<br/>
</p>
## Ferramentas utilizadas
![](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB) ![](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black) ![](https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge&logo=css3&logoColor=white) ![](https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white) ![](https://img.shields.io/badge/GIT-E44C30?style=for-the-badge&logo=git&logoColor=white) ![](https://img.shields.io/badge/eslint-3A33D1?style=for-the-badge&logo=eslint&logoColor=white)
###
## Acesso ao projeto
https://quizgeneration.netlify.app/
Você pode [acessar o código fonte do projeto](https://github.com/jorgeguedess/game_quiz) ou [baixá-lo](https://github.com/jorgeguedess/game_quiz/archive/refs/heads/main.zip).
## Abrir e rodar o projeto
> Caso você seja um desenvolvedor, use as instruções abaixo para instalar as dependências e sugerir alterações para a aplicação.
É possível verificar o conteúdo de cada versão, selecionando a *branch* específica e o histórico de [commits].
Após baixar o projeto deste repositório, dentro do diretório do projeto você deve usar o comando `npm install` em um terminal, para gerar a pasta **node_modules**.
```sh
npm install
```
Concluída a instalação das dependências do projeto, use o comando `npm run dev` para visualizar a aplicação na porta [localhost:5173](http://localhost:5173).
```sh
npm run dev
```
A página irá recarregar a cada alteração feita no código e mostrará eventuais erros no console.
É recomendado que você use o comando `npm run build` antes de fazer um *commit*, para verficar a ocorrência de erros na aplicação e garantir o deploy da aplicação.
```sh
npm run build
```
## Historico de versoes
Clique nas versões abaixo, para observar a evolução do projeto ao longo do tempo.
| Versão | Update |
| ------ | ------ |
| [Versão 0.0](https://game-quiz-8w6qj4v32-jorgeguedes-projects.vercel.app/) | Primeira versão do projeto, apresentada no dia 19 de Março de 2024, quando foi publicado oficialmente o site ao ar. |
## Desenvolvedores
| [<img src="https://avatars.githubusercontent.com/jorgeguedess" width=115><br><sub>Jorge Guedes</sub>](https://github.com/jorgeguedess) | [<img src="https://avatars.githubusercontent.com/thaissan" width=115><br><sub>Thaís Santos</sub>](https://github.com/thaissan) |
| :---: | :---: |
| Desenvolvido como um projeto simples para inaugurar a abertura do bootcamp da Generation Brasil. | css,generationbrasil,html,javascript,quiz,react | 2024-03-19T23:31:38Z | 2024-04-18T23:32:51Z | null | 2 | 0 | 8 | 0 | 0 | 2 | null | null | JavaScript |
SupportVol/Organization-FrontEnd | main | This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
| This repository handles the front-end interface and functionalities for seamless volunteer coordination, encompassing data presentation, user authentication, and interactive features. | firebase,frontend,javascript,programming,react,reactjs,supportvol,nextjs | 2024-04-11T03:56:41Z | 2024-04-17T16:29:55Z | null | 4 | 3 | 25 | 0 | 0 | 2 | null | MIT | TypeScript |
MehmetBozkir/React_Zustand_CartTesting | main | # React_Zustand_CartTesting
eCommorce Website | Nextjs, Zustand, Next-intl, Stripe.
<p align="center">
<br>
:wrench: Features
-----------------------------
- Designing a sales site and adding a payment screen while implementing <b>Zustand</b> operating logic and status management.
<br>
## :link: Demo
- <a target="_blank" href="https://react-zustand-coffeshop.netlify.app/"> Netflify </a> to see and examine by yourself a demo of the site.
<br>
## 💬 Project Innovations/Advantages
1\. Zustand :
- An alternative state management to Redux.
- Lighter state management.
2\. Next-intl :
- Multi-language options available throughout the site.
- Navigation through language options.
- An alternative state management to Redux.
- Lighter state management.
3\. Stripe :
- Payment screen demo.
<br>
## :book: How to use
To clone and run this application, you'll need [Git](https://git-scm.com/downloads) and [ReactJS](https://reactjs.org/docs/getting-started.html) installed on your computer. From your command line:
```
# Clone this repository
$ git clone https://github.com/MehmetBozkir/React_Zustand_CartTesting.git
# Go into the repository
$ cd React_Zustand_CartTesting
# Install dependencies
$ npm install
# Run the app
$ npm run dev
```
| eCommorce Website | Nextjs, Zustand, Next-intl, Stripe. | coffee-shop,ecommerce,ecommerce-website,javascript,multilanguage,netlify,next-intl,nextjs,nextjs-example,payment | 2024-03-16T14:17:47Z | 2024-03-21T14:00:38Z | null | 1 | 6 | 15 | 0 | 0 | 2 | null | null | TypeScript |
zabojeb/TRYHARDER | main | ![TRY HARDER](banner.png)
"It's easy, isn't it?" - Me
[Русский](README.ru.md) | English
# TRY HARDER
**TRY HARDER** is a web arcade game, written in **p5.js** with crazy visual effects and procedural generation, in which you just have to move the square.
Move the square fast, clever and strategic.
Your task is to control a square and reach the exit, avoiding collisions with walls. You need to simply guide it through the maze to the exit.
But be careful, the walls can be treacherous!
> [!WARNING]
> There are a lot of flashes and shimmering elements in the game!
### I just want to play!
Game is available on **itch.io**: **[TRY HARDER](https://zabojeb.itch.io/tryharder)**
Also, you can play the game on [GitHub Pages](https://zabojeb.github.io/TRYHARDER/)
## Controls
The controls are simple and intuitive:
- **WASD/keyboard arrows**: Move the square up, down, left and right.
- **Spacebar/Enter**: Restarting the game after losing or winning.
## Superpower
There is a superpower in the game that will help you in difficult situations (I just fixed the generation issues with it).
It allows you to walk through walls and increases your speed slightly for a short period of time.
It can only be used once per game! Use it wisely!
- **LMB/Shift**: Activate Superpower
## Contribute
I wrote this game in a couple nights out of boredom. But I'm really enjoying this project!
At the moment, the game code is extremely unstructured and needs a lot of fixes, tweaks and structuring.
So I would welcome any contributions to the development!
## To-Do List
This list is created to identify the most important vectors of game development and the most important issues.
- **Improve code quality**
- **Add mobile controls and support**
- **Add a PvP mode**
- **Optimize code**
- Any idea you have!
Please feel free to send issues with requests, recommendations and bugs!
## Contributors
<a href="https://github.com/zabojeb/tryharder/graphs/contributors">
<img src="https://contrib.rocks/image?repo=zabojeb/tryharder" />
</a>
---
Made with ❤️️ by zabojeb and community
| TRY HARDER - web game about square written in p5.js | game,javascript,p5js,p5js-game,web,itchio | 2024-04-03T13:21:55Z | 2024-04-23T10:39:18Z | null | 2 | 1 | 16 | 0 | 2 | 2 | null | MIT | JavaScript |
JGefroh/core-frontier | main | # Frontier
Frontier is a 2D game that takes in space that serves as a tech demo for my [core-js](https://github.com/jgefroh/core-js) framework.
It is written in pure Javascript w/ Canvas rendering and no other frameworks.
It's fully playable at http://frontier.jgefroh.com.
This is not intended to be used in a commercial or production environment - it was just a fun hobby project I wrote.
----
# Screenshots
<img width="2043" alt="Screenshot 2024-04-19 at 7 07 34 PM" src="https://github.com/JGefroh/core-frontier/assets/1077095/74ef86c0-b3ae-4e99-8cef-3f1e0658694e">
<img width="2037" alt="Screenshot 2024-04-19 at 7 08 14 PM" src="https://github.com/JGefroh/core-frontier/assets/1077095/eb8135b0-6e8b-4f0b-99ce-dd53409c4c97">
<img width="2010" alt="Screenshot 2024-04-19 at 7 13 18 PM" src="https://github.com/JGefroh/core-frontier/assets/1077095/e76e1151-eff7-4906-b3bb-9d19db35ba5a">
-----
# Instructions
* Movement
* W - Increase thrust
* S - Decrease thrust
* A - Turn left
* D - Turn right
* Weapons
* 1 - Fire Weapon Group 1
* 2 - Fire Weapon Group 2
* 3 - Fire Weapon Group 3
* Combat
* \ - Toggle tactical mode
* Tab - Next target
* ShiftTab - Previous target
* V - View target
* T - Focus target
* Camera
* Left arrow - Move viewport left
* Right arrow - Move viewport right
* Up arrow - Move viewport up
* Down arrow - Move viewport down
* + Zoom in
* - Zoom out
* Misc
* I - View inventory
------
# Instructions
Install packages
```
npm install
```
Development server (127.0.0.1:9000)
```
npx webpack serve
```
Production build (assets must be moved manually into `dist` folder.
```
NODE_ENV=production npx webpack build
```
------
# The basics
## Audio
Audio is merely an event that passes a message to play a specific sound starting at a specific time.
## Camera and viewport
There are a variety of camera and viewport behaviors demonstrated including:
* User-controlled viewport, including zooming and panning
* "Follow mode" to center and visually track an entity
* "Focus mode" to keep two objects in view, adjusting pan and zoom as objects move.
* A secondary viewport that allows you to re-render using a different perspective and independent viewport configuration
## GUI System
A GUI system exists to render an arbitrary image, shape, or text at any particular canvas location, which can be requested by any system, allowing you to separate GUI components into individual systems.
* Arbitrary GUI element rendering, including images, text, and shape
* Automatic GUI click-handling, with appropriate events
* Dynamically defined and rendered table creation, great for list-based UIs
* On-hover style change behaviors
* Easy way to identify a target element and define an update to it (eg. text, position, visibility, color, etc.)
## User input system
User inputs can be defined on a per-keystroke basis that translates them into particular action events other systems can subscribe to.
* Key-to-action mapping, including press, release, and hold.
* Support for modifier keys like `Shift`.
---
# Game systems
As a space game, there are a variety of systems built.
## AI
AIs work with a goal-based system that lets you define a top-level goal and have the AI (theoretically) select what tactics and actions to use to approach that goal. Action are scored based on importance, and then the steps of that action are executed in sequence to complete the action.
## Collision
Collision is 2d collision system allowing for rotated rectangle collision checks. Collidable entities are defined as with a collision group, informed by an entity's association to a nation for gameplay purposes.
## Physics
The physics system supports inertial-based movement.
* Sustaind acceleration of an object via application of multiple force vectors
* Travel path prediction based on changes to acceleration, bearing, etc.
# Gameplay systems
## Weapons
Weapons are in the firing system. Different weapons have different stats, but they are all basic, continuous fire with a firing cooldown between shots.
## Relationships
Relationships are defined in terms of Nations and Factions. These then inform whether they can be targeted by other nations, as well as the collision system.
| A tiny space game I made using my game framework, core-js. | game,game-development,javascript | 2024-04-20T02:00:22Z | 2024-04-20T14:52:23Z | null | 1 | 0 | 11 | 0 | 0 | 2 | null | NOASSERTION | JavaScript |
ir3ne/vite-ts-tailwind-starter | main | <p style="width: 300px; display: flex; justify-content: space-around; align-items: center;">
<img width="100" src="public/vite.svg" alt="Vite logo" />
<img width="100" src="public/ts.svg" alt="TypeScript logo" />
<img width="100" src="public/tailwindcss.svg" alt="Tailwindcss logo" />
</p>
<h1>Vite TS Starter with Tailwindcss</h1>
<h5>This is a small TS starter which uses Vite and Tailwindcss</h5>
<p>You can use it to quickly test new features locally and also do experiments. The purpose of this starter it's to make super quick all the basic setup needed to use TypeScript or packages to add.</p>
#### Benefits of using Vite
A ready to use environment with the Development Experience at the first place: Vite prioritizes developer experience by providing features like instant server start, lightning-fast hot module replacement, and a minimal configuration approach. This makes it easier and more enjoyable to develop web applications.
#### Documentation
ViteJS: [ViteJS Documentation](https://vitejs.dev)
TypeScript: [TypeScript Documentation](https://www.typescriptlang.org/)
##### Start small, add whatever you want.
| 🛸 A ready to go Vite starter with TypeScript and Tailwind | javascript,postcss,tailwind,tailwindcss,typescript,vitejs | 2024-04-19T15:21:54Z | 2024-05-02T12:50:42Z | 2024-04-19T15:31:38Z | 1 | 0 | 2 | 0 | 0 | 2 | null | MIT | CSS |
Walidadebayo/MappifySQL | main | <div align="center">
<img src="https://i.ibb.co/tmH8Kk4/mappifysql.jpg" alt="mappifysql" style="height: 300px; width: 300px; border-radius: 100%; object-fit: cover;">
</div>
---
<a href="https://www.npmjs.com/package/mappifysql"><img src="https://img.shields.io/npm/v/mappifysql.svg" alt="Version"></a>
<a href="https://www.npmjs.com/package/mappifysql"><img src="https://img.shields.io/npm/dt/mappifysql.svg" alt="Downloads"></a>
<a href="https://www.npmjs.com/package/mappifysql"><img src="https://img.shields.io/npm/l/mappifysql.svg" alt="License"></a>
<a href="https://www.npmjs.com/package/mappifysql"><img src="https://img.shields.io/bundlephobia/min/mappifysql.svg" alt="Size"></a>
# MappifySQL: A MySQL ORM for Node.js and TypeScript
MappifySQL is a lightweight, easy-to-use Object-Relational Mapping (ORM) library for MySQL databases, designed for use with Node.js. It provides an intuitive, promise-based API for interacting with your MySQL database using JavaScript or TypeScript.
## Features
- **Object-Relational Mapping**: Map your database tables to JavaScript or TypeScript objects for easier and more intuitive data manipulation.
- **CRUD Operations**: Easily perform Create, Read, Update, and Delete operations on your database.
- **Transactions**: Safely execute multiple database operations at once with transaction support.
- **Relationships**: Define relationships between your tables to easily fetch related data.
- **Model Class**: Define a model class for each table in your database to encapsulate database operations.
- **Environment Variables**: Use environment variables to store database connection details securely.
- **TypeScript Support**: Use MappifySQL with TypeScript for type-safe database interactions.
- **SQL Injection Protection**: Protect your application from SQL injection attacks with parameterized queries.
- **Custom Queries**: Execute custom SQL queries using the query method.
- **Custom Functions**: Create custom functions in your model classes to encapsulate complex queries or operations.
- **Pagination**: Implement pagination for large datasets with the limit and offset options.
## Why MappifySQL?
MappifySQL aims to simplify working with MySQL databases in Node.js applications. By providing an object-oriented interface to your database, it allows you to write more readable and maintainable code. Whether you're building a small application or a large, complex system, MappifySQL has the features you need to get the job done.
## Installation
To install MappifySQL, use npm:
```bash
npm install mappifysql
```
## Getting Started
### Importing the Library
#### import and use the library in your JavaScript or TypeScript file:
```javascript
const mappifysql = require('mappifysql');
const Database = mappifysql.Database;
const MappifyModel = mappifysql.MappifyModel;
```
```typescript
import mappifysql from 'mappifysql';
const Database = mappifysql.Database;
const MappifyModel = mappifysql.MappifyModel;
```
#### import the classes directly in your JavaScript or TypeScript file:
```javascript
const { Database, MappifyModel } = require('mappifysql');
```
```typescript
import { Database, MappifyModel } from 'mappifysql';
```
Here's a quick example to create a connection to a MySQL database using MappifySQL:
### Connecting to a Database
To connect to a MySQL database using MappifySQL, you need to create a .env file in the root directory of your project and add the following environment variables:
```bash
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=password
DB_NAME=mydatabase
DB_PORT=3306 ## (optional) default is 3306
```
Then, create a new JavaScript file (e.g., connection.js) and one of the following code snippets:
#### Create a single connection to the database
Create a new instance of the Database class and call the createConnection method to establish a single connection to the database
```javascript
const { Database } = require('mappifysql');
const db = new Database();
db.createConnection().then(() => {
console.log('Database connected successfully');
}).catch((err) => {
console.error(err);
});
var connection = db.getConnection();
var query = db.getQuery();
module.exports = { connection, query };
```
** Using TypeScript **
```typescript
import { Database } from 'mappifysql';
const db = new Database();
db.createConnection().then(() => {
console.log('Database connected successfully');
}).catch((err) => {
console.error(err);
});
var connection = db.getConnection();
var query = db.getQuery();
export { connection, query };
```
<div align="center">
<img src="https://i.ibb.co/NptYQGf/createsingleconnection.png" alt="createSingleConnection" border="0">
</div>
#### Create a pool of connections to the database
Call the createPool method to establish a pool of connections to the database. This is useful for managing multiple concurrent database queries, improving performance.
```javascript
const { Database } = require('mappifysql');
const db = new Database();
db.createPool().then(() => {
console.log('Database connected successfully');
}).catch((err) => {
console.error(err);
});
var connection = db.getConnection();
var query = db.getQuery();
module.exports = { connection, query };
```
```typescript
import { Database } from 'mappifysql';
const db = new Database();
db.createPool().then(() => {
console.log('Database connected successfully');
}).catch((err) => {
console.error(err);
});
var connection = db.getConnection();
var query = db.getQuery();
export { connection, query };
```
<div align="center">
<img src="https://i.ibb.co/6r0npjy/createpoolconnection.png" alt="createPoolConnection" border="0">
</div>
Methods available in the connection object:
| Method | Description | Parameters | Supported by |
| --- | --- | --- | --- |
| `beginTransaction` | Begins a transaction. | `callback?: (err: any) => void` | `createConnection` |
| `commit` | Commits the current transaction. | `callback?: (err: any) => void` | `createConnection` |
| `rollback` | Rolls back the current transaction. | `callback?: (err: any) => void` | `createConnection` |
| `query` | Sends a SQL query to the database. | `sql: string`, `values?: any`, `callback?: (error: any, results: any, fields: any) => void` | `createConnection`, `createPool` |
| `end` | Ends the connection. | `callback?: (err: any) => void` | `createConnection`, `createPool` |
| `destroy` | Destroys the connection. | None | `createConnection` |
| `pause` | Pauses the connection. | None | `createConnection` |
| `resume` | Resumes the connection. | None | `createConnection` |
| `escape` | Escapes a value for SQL. | `value: any` | `createConnection`, `createPool` |
| `escapeId` | Escapes an identifier for SQL. | `value: any` | `createConnection`, `createPool` |
| `format` | Formats a SQL query string. | `sql: string`, `values?: any` | `createConnection`, `createPool` |
| `ping` | Pings the server. | `callback?: (err: any) => void` | `createConnection`, `createPool` |
| `changeUser` | Changes the user for the current connection. | `options: any`, `callback?: (err: any) => void` | `createConnection` |
Example:
```javascript
const { connection } = require('./connection');
connection.query('SELECT * FROM users', (err, results, fields) => {
if (err) {
throw err;
}
console.log('Fetched records:', results);
});
```
** Using TypeScript **
```typescript
import { connection } from './connection';
connection.query('SELECT * FROM users', (err, results, fields) => {
if (err) {
throw err;
}
console.log('Fetched records:', results);
});
```
### Using the Model Class
MappifySQL provides a Model class that allows you to define a JavaScript class that represents a table in your database. This class provides methods for performing CRUD operations on the table.
Here's an example of how to define a model class:
create a new file (e.g., Users.js) and add the following code:
```javascript
const { MappifyModel } = require('mappifysql');
class User extends MappifyModel {
}
module.exports = User;
```
** Using TypeScript **
```typescript
import { MappifyModel } from 'mappifysql';
interface UserAttributes {
id?: number;
first_name: string;
last_name: string;
email: string;
password: string;
//add more attributes here...
}
class User extends MappifyModel {
id?: number;
first_name: string;
last_name: string;
email: string;
password: string;
constructor(data: UserAttributes) {
super();
this.id = data.id;
this.first_name = data.first_name;
this.last_name = data.last_name;
this.email = data.email;
this.password = data.password;
// add more properties here...
}
}
export default User;
```
**Note**: By default, the Model class uses the table name derived from the class name and assumes that the table name in the database is the plural form of the class name. If your table name is different, you can override the tableName property in your model class.
```javascript
const { MappifyModel } = require('mappifysql');
class User extends MappifyModel {
static get tableName() {
return 'my_user_table_name';
}
}
module.exports = User;
```
** Using TypeScript **
```typescript
import { MappifyModel } from 'mappifysql';
class User extends MappifyModel {
static get tableName() {
return 'my_user_table_name';
}
}
export default User;
```
### Performing CRUD Operations
Once you have defined a model, you can use it to perform CRUD operations on the corresponding table.
```javascript
const User = require('path/to/user.js')
// Example: Fetch all records from the table
let fetchAll = async () => {
User.findAll().then((results) => {
console.log('Fetched records:', results);
}).catch((err) => {
console.error(err);
});
};
// Example: Create a new record
let addData = async () => {
let newUser = new User({ name: 'John Doe', email: 'john.doe@example.com' });
User.save().then(() => {
console.log('New record inserted successfully');
}).catch((err) => {
console.error(err);
});
};
// Example: Update a record
let updateData = async () => {
User.findById(1).then((record) => {
record.setProperties({ name: 'Jane Doe', email: 'jane.doe@example.com' });
record.update().then(() => {
console.log('Record updated successfully');
}).catch((err) => {
console.error(err);
});
}).catch((err) => {
console.error(err);
});
};
// Example: Delete a record
let deleteData = async () => {
User.findByIdAndDelete(1).then(() => {
console.log('Record deleted successfully');
}).catch((err) => {
console.error(err);
});
};
```
** Import in TypeScript **
```typescript
import User from 'path/to/user.ts'
```
# Model Class
This file contains a base model class with methods for interacting with a database. Each method corresponds to a common database operation.
## Methods
### MappifySQL save Method
This method inserts a new record into the database. It uses the properties of the instance to determine the column names and values.
Example:
```javascript
let user = new User({ name: 'John Doe', email: 'joh.doe@example.com' });
user.save().then(() => {
console.log('New record inserted successfully');
}).catch((err) => {
console.error(err);
});
// save returns the id of the newly inserted record
```
### MappifySQL Update Method
This method updates the record associated with the instance in the database. It uses the properties of the instance to determine the column names and values.
Example:
```javascript
User.findById(1).then((record) => {
record.setProperties({ name: 'Jane Doe', email: 'janedoe@example.com' });
record.update().then(() => {
console.log('Record updated successfully');
}).catch((err) => {
console.error(err);
});
}).catch((err) => {
console.error(err);
});
// update returns the true if the record was updated successfully
```
### MappifySQL delete Method
This method deletes the record associated with the instance from the database.
Example:
```javascript
User.findById(1).then((record) => {
record.delete().then(() => {
console.log('Record deleted successfully');
}).catch((err) => {
console.error(err);
});
}).catch((err) => {
console.error(err);
});
// delete returns the true if the record was deleted successfully
```
### MappifySQL fetch Method
This method fetches all the records associated with the instance from the database.
Example:
```javascript
User.fetch().then((records) => {
console.log('Fetched records:', records);
}).catch((err) => {
console.error(err);
});
// fetch returns an array of records
```
### MappifySQL findOne Method
This method finds one record in the database that matches the specified conditions. The parameter is an object that can contain the following properties:
- `where`: An object specifying the conditions for the query. - <span style="color: red;"> **required** </span>
- `exclude`: An array of column names to exclude from the result.
- `attributes`: An array of column names to include in the result.
```javascript
// Fetch a user with all columns from the database using the email
const user = await User.findOne({ where: { email: 'user@example.com' } });
// Fetch a product with the id 1 and exclude the 'description' column from the result
const product = await Product.findOne({ where: { id: 1 }, exclude: ['description'] });
// Fetch a user with the role 'admin' and only include the 'id', 'name', and 'email' columns in the result
const admin = await User.findOne({ where: { role: 'admin' }, attributes: ['id', 'name', 'email'] });
// Fetch a record using operations
// Equal to
const user = await User.findOne({ where: { age: { eq: 18 } } });
// run this query: SELECT * FROM users WHERE age = 18;
// Greater than
const user = await User.findOne({ where: { age: { gt: 17 } } });
// run this query: SELECT * FROM users WHERE age > 17;
// Less than
const user = await User.findOne({ where: { age: { lt: 10 } } });
// run this query: SELECT * FROM users WHERE age < 10;
// Greater than or equal to
const user = await User.findOne({ where: { age: { gte: 18 } } });
// run this query: SELECT * FROM users WHERE age >= 18;
// Less than or equal to
const user = await User.findOne({ where: { age: { lte: 10 } } });
// run this query: SELECT * FROM users WHERE age <= 10;
// Not equal to
const user = await User.findOne({ where: { age: { ne: 18 } } });
// run this query: SELECT * FROM users WHERE age <> 18;
//greater than and less than
const user = await User.findOne({ where: { age: { gt: 10, lt: 20 } } });
// run this query: SELECT * FROM users WHERE age > 10 AND age < 20;
//like
const product = await Product.findOne({ where: { name: { like: '%apple%' } } });
// run this query: SELECT * FROM products WHERE name LIKE '%apple%';
//not like
const product = await Product.findOne({ where: { name: { notLike: '%apple%' } } });
// run this query: SELECT * FROM products WHERE name NOT LIKE '%apple%';
//in
const product = await Product.findOne({ where: { category: { in: ['electronics', 'clothing'] } } });
// run this query: SELECT * FROM products WHERE category IN ('electronics', 'clothing');
//not in
const product = await Product.findOne({ where: { category: { notIn: ['electronics', 'clothing'] } } });
// run this query: SELECT * FROM products WHERE category NOT IN ('electronics', 'clothing');
//between
const product = await Product.findOne({ where: { price: { between: [10, 20] } } });
// run this query: SELECT * FROM products WHERE price BETWEEN 10 AND 20;
//not between
const product = await Product.findOne({ where: { price: { notBetween: [10, 20] } } });
// run this query: SELECT * FROM products WHERE price NOT BETWEEN 10 AND 20;
//is null
const product = await Product.findOne({ where: { description: { isNull: true } } });
// run this query: SELECT * FROM products WHERE description IS NULL;
//is not null
const product = await Product.findOne({ where: { description: { isNotNull: true } } });
// run this query: SELECT * FROM products WHERE description IS NOT NULL;
//and
const product = await Product.findOne({ where: { category: 'electronics', price: { gt: 10 } } });
// run this query: SELECT * FROM products WHERE category = 'electronics' AND price > 10;
const product = await Product.findOne({ where: { and: [{ category: 'electronics' }, { price: { gt: 10 } }] } });
// run this query: SELECT * FROM products WHERE (category = 'electronics' AND price > 10);
const product = await Product.findOne({ where: { name: { like: '%apple%' }, and: [{ category: 'electronics' }, { price: { gt: 10 } }] } });
// run this query: SELECT * FROM products WHERE name LIKE '%apple%' AND (category = 'electronics' AND price > 10);
//or
const product = await Product.findOne({ where: { or: [{ category: 'electronics' }, { price: { gt: 10 } }] } });
// run this query: SELECT * FROM products WHERE category = 'electronics' OR price > 10;
const product = await Product.findOne({ where: { name: { like: '%apple%' }, or: [{ category: 'electronics' }, { price: { gt: 10 } }] } });
// run this query: SELECT * FROM products WHERE name LIKE '%apple%' AND (category = 'electronics' OR price > 10);
//not
const product = await Product.findOne({ where: { not: { category: 'electronics' } } });
// run this query: SELECT * FROM products WHERE NOT category = 'electronics';
const product = await Product.findOne({attributes: ['id', 'name', 'price'], where: { not: { category: 'electronics' } }});
// run this query: SELECT id, name, price FROM products WHERE (NOT category = 'electronics');
```
Here is a table for the LIKE operators in the where clause:
| Operator | Description |
| --- | --- |
| `%apple%` | Finds any values that have "apple" in any position |
| `apple%` | Finds any values that start with "apple" |
| `%apple` | Finds any values that end with "apple" |
| `_pple` | Finds any values that have "pple" in the second position |
| `a%e` | Finds any values that start with "a" and end with "e" |
| `a%o` | Finds any values that start with "a" and ends with "o" |
| `a__%` | Finds any values that start with "a" and are at least 3 characters in length |
| `a_%` | Finds any values that start with "a" and are at least 2 characters in length |
| `_r%` | Finds any values that have "r" in the second position |
### MappifySQL findById Method
This method finds one record in the database with the specified id.
Example:
```javascript
User.findById(1).then((record) => {
console.log('Fetched record:', record);
}).catch((err) => {
console.error(err);
});
```
### MappifySQL findAll Method
This method finds all records in the database that match the specified conditions. The `options` parameter is an object that can contain the following properties:
- `where`: An object specifying the conditions for the query.
- `exclude`: An array of column names to exclude from the result.
- `attributes`:An array of column names to include in the result. Default is ['*'] which selects all
- `limit`: The maximum number of records to return.
- `offset`: The number of records to skip before starting to return records.
- `order`: A string specifying the order in which to return the records.
- `group`: A string specifying the column to group the records by. (column_name ASC/DESC);
Example:
```javascript
// Fetch all products from the database
const products = await Product.findAll();
//run this query: SELECT * FROM products;
// Fetch all products with specific properties
const products = await Product.findAll(attributes: ['id', 'name', 'price']);
//run this query: SELECT id, name, price FROM products;
// Fetch all products and exclude specific properties
const products = await Product.findAll(exclude: ['description']);
// Fetch the first 10 products
const products = await Product.findAll({ limit: 10 });
//run this query: SELECT * FROM products LIMIT 10;
// Fetch the second set of 10 products
const products = await Product.findAll({ limit: 10, offset: 2 });
//run this query: SELECT * FROM products LIMIT 10 OFFSET 2;
/*
offset: 2 will skip the first 10 records and return the next 10 records.
This is particularly useful for implementing pagination. The offset can be set dynamically like so: offset: req.query.page
*/
// Fetch products with the 'electronics' category
const products = await Product.findAll({ where: { category: 'electronics' } });
//run this query: SELECT * FROM products WHERE category = 'electronics';
// Fetch products with the 'electronics' category and exclude the 'description' column from the result
const products = await Product.findAll({ where: { category: 'electronics' }, exclude: ['description'] });
// Fetch the total number of products for each category
const products = await Product.findAll({ attributes: ['category', 'COUNT(*) AS total'], group: 'category' });
//run this query: SELECT category, COUNT(*) AS total FROM products GROUP BY category;
// Fetch all products grouped by category and ordered by price in descending order
const products = await Product.findAll({ group: 'category', order: 'price DESC' });
//run this query: SELECT * FROM products GROUP BY category ORDER BY price DESC;
//Fetch records using operations
// Equal to
const products = await Product.findAll({ where: { price: { eq: 1000 } } });
// run this query: SELECT * FROM products WHERE price = 1000;
// Greater than
const products = await Product.findAll({ where: { price: { gt: 1000 } } });
// run this query: SELECT * FROM products WHERE price > 1000;
// Less than
const products = await Product.findAll({ where: { price: { lt: 1000 } } });
// run this query: SELECT * FROM products WHERE price < 1000;
// Greater than or equal to
const products = await Product.findAll({ where: { price: { gte: 1000 } } });
// run this query: SELECT * FROM products WHERE price >= 1000;
// Less than or equal to
const products = await Product.findAll({ where: { price: { lte: 1000 } } });
// run this query: SELECT * FROM products WHERE price <= 1000;
// Not equal to
const products = await Product.findAll({ where: { price: { ne: 1000 } } });
// run this query: SELECT * FROM products WHERE price <> 1000;
//greater than and less than
const products = await Product.findAll({ where: { price: { gt: 500, lt: 1000 } } });
// run this query: SELECT * FROM products WHERE price > 500 AND price < 1000;
//like
const products = await Product.findAll({ where: { name: { like: '%apple%' } } });
// run this query: SELECT * FROM products WHERE name LIKE '%apple%';
//not like
const products = await Product.findAll({ where: { name: { notLike: '%apple%' } } });
// run this query: SELECT * FROM products WHERE name NOT LIKE '%apple%';
//in
const products = await Product.findAll({ where: { category: { in: ['electronics', 'clothing'] } } });
// run this query: SELECT * FROM products WHERE category IN ('electronics', 'clothing');
//not in
const products = await Product.findAll({ where: { category: { notIn: ['electronics', 'clothing'] } } });
// run this query: SELECT * FROM products WHERE category NOT IN ('electronics', 'clothing');
//between
const products = await Product.findAll({ where: { price: { between: [500, 1000] } } });
// run this query: SELECT * FROM products WHERE price BETWEEN 500 AND 1000;
//not between
const products = await Product.findAll({ where: { price: { notBetween: [500, 1000] } } });
// run this query: SELECT * FROM products WHERE price NOT BETWEEN 500 AND 1000;
//is null
const products = await Product.findAll({ where: { description: { isNull: true } } });
// run this query: SELECT * FROM products WHERE description IS NULL;
//is not null
const users = await User.findAll({ where: { is_subscribed: { isNotNull: true } } });
// run this query: SELECT * FROM users WHERE is_subscribed IS NOT NULL;
//and
const products = await Product.findAll({ where: { category: 'electronics', price: { gt: 500 } } });
// run this query: SELECT * FROM products WHERE category = 'electronics' AND price > 500;
const products = await Product.findAll({ where: { and: [{ category: 'electronics' }, { price: { gt: 500 } }] }});
// run this query: SELECT * FROM products WHERE (category = 'electronics' AND price > 500);
const products = await Product.findAll({ where: { name: { like: '%apple%' }, and: [{ category: 'electronics' }, { price: { gt: 500 } }] }});
// run this query: SELECT * FROM products WHERE name LIKE '%apple%' AND (category = 'electronics' AND price > 500);
//or
const products = await Product.findAll({ where: { or: [{ category: 'electronics' }, { price: { gt: 500 } }] } });
// run this query: SELECT * FROM products WHERE category = 'electronics' OR price > 500;
const products = await Product.findAll({ where: { name: { like: '%apple%' }, or: [{ category: 'electronics' }, { price: { gt: 500 } }] }});
// run this query: SELECT * FROM products WHERE name LIKE '%apple%' AND (category = 'electronics' OR price > 500);
//not
const products = await Product.findAll({ where: { not: { category: 'electronics' } } });
// run this query: SELECT * FROM products WHERE NOT category = 'electronics';
const products = await Product.findAll({attributes: ['id', 'name', 'price'], where: { not: { category: 'electronics' } }});
// run this query: SELECT id, name, price FROM products WHERE (NOT category = 'electronics');
```
#### Operations
| Operation | Description |
| --- | --- |
| eq | Equal to `=` |
| gt | Greater than `>` |
| lt | Less than `<` |
| gte | Greater than or equal to `>=` |
| lte | Less than or equal to `<=` |
| ne | Not equal to `<>` |
| like | Like `%value%` |
| notLike | Not Like `%value%` |
| in | In `('value1', 'value2')` |
| notIn | Not In `('value1', 'value2')` |
| between | Between `value1 AND value2` |
| notBetween | Not Between `value1 AND value2` |
| isNull | Is Null |
| isNotNull | Is Not Null |
| and | Logical AND |
| or | Logical OR |
| not | Logical NOT |
### MappifySQL findOrCreate Method
This method finds one record in the database that matches the specified conditions, or creates a new record if no matching record is found. This function returns a object with two properties: `record` and `created`. The `record` property contains the record found or created, and the `created` property is a boolean value indicating whether the record was created or not. This function can be useful implementing a third-party login system where you want to find a user by their email or create a new user if they don't exist.
**Parameters**:
There are two parameters for this method:
- `options`: This is the first parameter and is an object that specifies the conditions for the record to find. It can contain the following properties:
- `where`: An object specifying the conditions for the query. <span style="color: red;"> **required** </span>
- `exclude`: An array of column names to exclude from the result.
- `attributes`: An array of column names to include in the result.
- `defaults`: This is the second parameter and is an object that specifies the values to use when creating a new record. If a record is found, these values are ignored.
Example:
```javascript
// Find a user with the email and create a new user if not found
let { record, created } = await User.findOrCreate({ where: { email: 'user@example.com' } }, { name: 'John Doe', picture: 'default.jpg', role: 'user' });
if (created) {
console.log('New user created:', record);
} else {
console.log('User found:', record);
}
// Find a user using operations
let { record, created } = await User.findOrCreate({ where: { or: [{ email: 'user@example.com' }, { username: 'user' }] } }, { name: 'John Doe', picture: 'default.jpg', role: 'user' });
```
### MappifySQL findByIdAndDelete Method
The `findByIdAndDelete` method finds a single record in the database that matches the specified `id` and deletes it. The parameter is the id of the record to delete.
Example:
```javascript
User.findByIdAndDelete(1).then(() => {
console.log('Record deleted successfully');
}).catch((err) => {
console.error(err);
});
```
### MappifySQL findOneAndDelete Method
This method finds one record in the database that matches the specified conditions and deletes it.
**Parameters**:
There are two parameters for this method:
- `options`: This is the first parameter and is an object that specifies the conditions for the record to find. It can contain the following properties:
- `where`: An object specifying the conditions for the query. <span style="color: red;"> **required** </span>
Example:
```javascript
User.findOneAndDelete({ where: { email: 'user@example.com' } }).then(() => {
console.log('Record deleted successfully');
}).catch((err) => {
console.error(err);
});
```
### MappifySQL findOneAndUpdate Method
This method finds one record in the database that matches the specified conditions and updates it.
**Parameters**:
There are two parameters for this method:
- `options`: This is the first parameter and is an object that specifies the conditions for the record to find. It can contain the following properties:
- `where`: An object specifying the conditions for the query. <span style="color: red;"> **required** </span>
- `exclude`: An array of column names to exclude from the result after the update.
- `attributes`: An array of column names to include in the result after the update.
- `data`: This is the second parameter and is an object that specifies the values to update.
Example:
```javascript
User.findOneAndUpdate({ where: { email: 'user@example.com' } }, { name: 'Jane Doe', picture: 'profile.jpg' }).then(() => {
console.log('Record updated successfully');
}).catch((err) => {
console.error(err);
});
```
### MappifySQL findByIdAndUpdate Method`
This method finds one record in the database with the specified id and updates it.
**Parameters**:
There are two parameters for this method:
- `id`: This is the first parameter and is the id of the record to update.
- `data`: This is the second parameter and is an object that specifies the values to update.
Example:
```javascript
User.findByIdAndUpdate(1, { name: 'Jane Doe', picture: 'profile.jpg' }).then(() => {
console.log('Record updated successfully');
}).catch((err) => {
console.error(err);
});
```
### Custom Queries
You can execute custom SQL queries using the query method provided by MappifySQL. This method allows you to execute any SQL query and returns a promise that resolves with the result of the query.
Example:
```javascript
const { connection, query } = require('./connection');
let customQuery = async () => {
try {
let results = await query('SELECT * FROM users WHERE role = ?', ['admin']);
console.log('Fetched records:', results);
} catch (err) {
console.error(err);
}
};
// you can also use the connection object directly
let customQuery = async () => {
try {
let results = await connection.query('SELECT * FROM products WHERE name LIKE ?', ['%apple%'], (err, results, fields) => {
if (err) {
throw err;
}
console.log('Fetched records:', results);
});
} catch (err) {
console.error(err);
}
};
```
<span style="color:red;"><b>Note</b></span>: The query method returns a promise that resolves with the result of the query. You can use async/await to handle the asynchronous nature of the database operations.
### Pagination
You can implement pagination for large datasets using the limit and offset options in the findAll method. The limit option specifies the maximum number of records to return, and the offset option specifies the number of records i.e. the page number you are on.
Example:
By passing the offset dynamically using query parameters, you can fetch the next set of records for each page.
```javascript
// Fetch the 10 records for each page
var page = req.query.page;
const products = await Product.findAll({ limit: 10 , offset: page });
```
### Creating a custom function for a model class to perform a database operation
You can create a custom function for a model class to perform a database operation. This function can be used to encapsulate complex queries or operations that are specific to the model.
Example:
```javascript
const { MappifyModel } = require('mappifysql');
class Product extends MappifyModel {
static async findElectronics() {
try {
let sql = `SELECT * FROM ${this.tableName} WHERE category = ?`;
let results = await this.query(sql, ['electronics']);
if (results.length > 0) {
return results.map(result => new this(result));
}
return [];
} catch (err) {
throw err;
}
}
// create a custom function using functions in the model class
static async findElectronics() {
try {
let results = await this.findAll(attributes: ['id', 'name', 'price'], and: [{ category: 'electronics' }, { price: { between: [500, 1000] } }]);
return results;
} catch (err) {
throw err;
}
}
}
module.exports = User;
```
Usage:
```javascript
const Product = require('path/to/product.js');
Product.findElectronics().then((products) => {
console.log('Electronics products:', products);
}).catch((err) => {
console.error(err);
});
```
** Using TypeScript **
```typescript
const { MappifyModel } = require('mappifysql');
interface ProductAttributes {
id?: number;
name: string;
price: number;
category: string;
}
class Product extends MappifyModel {
id?: number;
name: string;
price: number;
category: string;
constructor(data: ProductAttributes) {
super();
this.id = data.id;
this.name = data.name;
this.price = data.price;
this.category = data.category;
}
// create a custom function using functions in the model class
static async findElectronics() {
try {
let results = await MappifyModel.findAll(attributes: ['id', 'name', 'price'], and: [{ category: 'electronics' }, { price: { between: [500, 1000] } }]);
return results;
} catch (err) {
throw err;
}
}
}
export default Product;
```
Usage:
```typescript
import Product from 'path/to/product.ts';
Product.findElectronics().then((products) => {
console.log('Electronics products:', products);
}).catch((err) => {
console.error(err);
});
```
### MappifySQL Transactions
MappifySQL supports transactions, allowing you to execute multiple database operations as a single unit of work. This ensures that all operations are completed successfully or none of them are.
<span style="color:red;"><b>Note</b></span>: Transactions are only supported when created a single connection using the createConnection method. Transactions are not supported in pool because a pool consists of multiple connections to the database.
```javascript
const { connection, query } = require('./connection');
let performTransaction = async () => {
try {
connection.beginTransaction();
var user = await query('INSERT INTO users SET ?', { name: 'John Doe'});
await query('INSERT INTO addresses SET ?', { user_id: user.insertId, address: '123 Main St' });
connection.commit();
console.log('Transaction completed successfully');
} catch (err) {
connection.rollback();
console.error(err);
}
};
//using transaction with the model class
let performTransaction = async () => {
try {
connection.beginTransaction();
let user = new User({ name: 'John Doe' });
await user.save();
let address = new Address({ user_id: user.id, address: '123 Main St' });
await address.save();
connection.commit();
console.log('Transaction completed successfully');
} catch (err) {
await connection.rollback();
console.error(err);
}
};
```
### Relationships
MappifySQL allows you to define relationships between your tables, making it easier to fetch related data.
This table provides a quick reference for the methods available in defining relationships between models.
| Method | Description | Parameters | Example |
| --- | --- | --- | --- |
| `associations` | Defines the associations that a model has with other models. This method is meant to be overridden in subclasses. | None | `associations() { this.belongsTo(User, { as: 'user', key: 'id', foreignKey: 'user_id' }); }` |
| `hasOne` | Defines a one-to-one relationship between two models. | `relatedModel`, `options` | `this.hasOne(ShippingAddress, { as: 'shippingAddress', foreignKey: 'order_id' });` |
| `belongsTo` | Defines a one-to-one relationship where the model belongs to another model. | `relatedModel`, `options` | `this.belongsTo(Order, { as: 'order', key: 'id', foreignKey: 'order_id' });` |
| `hasMany` | Defines a one-to-many relationship where the model has many instances of another model. | `relatedModel`, `options` | `this.hasMany(User, { as: 'user', foreignKey: 'post_id' });` |
| `belongsToMany` | Defines a many-to-many relationship between two models. | `relatedModel`, `options` | `this.belongsToMany(Course, { as: 'courses', through: Enrollment, key: 'id', foreignKey: 'student_id', otherKey: 'course_id' });` |
| `populate` | Fetches the related data for a given relation. | `relation`, `options` (optional) | `await post.populate('user');` |
| `attach` | Attaches a new record to the related model and associates it with the current model. | `target`, `relation`, `options` (optional) | `await post.attach(post, 'posts');` |
This table provides a quick reference for the options available in defining relationships between models.
| Method | Key | Description |
| ------------- |:-------------:| -----:|
| hasOne | as | The alias for the association. |
| | foreignKey | The foreign key in this model. |
| belongsTo | as | The alias for the association. |
| | key | The primary key in the related model. |
| | foreignKey | The foreign key in this model. |
| hasMany | as | The alias for the association. |
| | foreignKey | The foreign key in the related model. |
| belongsToMany | as | The alias for the association. |
| | through | The "join" table model that connects the two models. |
| | key | The primary key in the related model. |
| | foreignKey | The foreign key in through model for this model. |
| | otherKey | The foreign key in through model for the related model. |
| populate | relation | The name of the relation to fetch. |
| | attributes | The columns to include in the result. |
| | exclude | The columns to exclude from the result. |
| attach | target | The record to attach to the related model. |
| | relation | The name of the relation to attach to. |
| | attributes | The columns to include in the result. |
| | exclude | The columns to exclude from the result. |
Please note that `attributes` and `exclude` keys in the `populate` and `attach` methods are optional and can be used to specify the columns to include or exclude from the result.
<span style="color:red;"><b>Note</b></span>: The `populate` method is used to fetch the related data for a given relation. The `attach` method is used to attach a new record to the related model and associate it with the current model and it can only be used with the `hasOne` and `hasMany` relationships.
#### Defining Relationships
#### One-to-One Relationship
In a one-to-one relationship, each record in one table is associated with exactly one record in another table. For example, each order has exactly one shipping address, and each shipping address belongs to exactly one order.
```javascript
const { MappifyModel } = require('mappifysql');
const ShippingAddress = require('path/to/ShippingAddress');
class Order extends MappifyModel {
associations() {
this.hasOne(ShippingAddress, {
as: 'shippingAddress',
foreignKey: 'order_id'
});
}
}
module.exports = Order;
```
Usage:
```javascript
const Order = require('path/to/Order');
Order.findByOne({ where: { id: 1 }}).then(async (order) => {
await order.populate('shippingAddress', {exclude: ['created_at', 'updated_at']}).then((order) => {
console.log('Order with shipping address:', order);
});
}).catch((err) => {
console.error(err);
});
Order.findAll().then(async (orders) => {
await Promise.all(orders.map(async (order) => {
await order.populate('shippingAddress', {exclude: ['created_at', 'updated_at']});
}));
console.log('Orders with shipping addresses:', orders);
}).catch((err) => {
console.error(err);
});
```
```typescript
import { MappifyModel } from 'mappifysql';
import Order from 'path/to/Order';
interface ShippingAddressAttributes {
id?: number;
address: string;
city: string;
state: string;
}
class ShippingAddress extends MappifyModel {
id?: number;
address: string;
city: string;
constructor(data: ShippingAddressAttributes) {
super();
this.id = data.id;
this.address = data.address;
this.city = data.city;
}
associations() {
this.belongsTo(Order, {
as: 'order',
key: 'id'
foreignKey: 'order_id'
});
}
}
export default ShippingAddress;
```
Usage:
```typescript
import ShippingAddress from 'path/to/ShippingAddress';
ShippingAddress.findByOne({ where: { id: 1 }}).then(async(shippingAddress) => {
await shippingAddress.populate('order', {attributes: ['id', 'total']}).then((shippingAddress) => {
console.log('Shipping address with order:', shippingAddress);
});
}).catch((err) => {
console.error(err);
});
ShippingAddress.findAll().then(async (shippingAddresses) => {
await Promise.all(shippingAddresses.map(async (shippingAddress) => {
await shippingAddress.populate('order', {attributes: ['id', 'total']});
}));
console.log('Shipping addresses with orders:', shippingAddresses);
}).catch((err) => {
console.error(err);
});
```
** Using `attach` method **
```javascript
const Order = require('path/to/Order');
const ShippingAddress = require('path/to/ShippingAddress');
let createShippingAddress = async () => {
var order = await Order.findById(1);
var shippingAddress = new ShippingAddress({ address: '123 Main St', city: 'New York', state: 'NY' });
await order.attach(shippingAddress, 'shippingAddress', { exclude: ['created_at', 'updated_at'] });
console.log('Shipping address created:', shippingAddress);
};
createShippingAddress();
```
```typescript
import Order from 'path/to/Order';
import ShippingAddress from 'path/to/ShippingAddress';
let createShippingAddress = async () => {
var order = await Order.findOne({ where: { id: 1 } });
var shippingAddress = new ShippingAddress({ address: '123 Main St', city: 'New York', state: 'NY' });
await order.attach(shippingAddress, 'shippingAddress');
console.log('Shipping address created:', shippingAddress);
};
createShippingAddress();
```
#### One-to-Many Relationship
In a one-to-many relationship, each record in one table is associated with one or more records in another table. For example, each user can have multiple orders, but each order belongs to exactly one user.
```javascript
const { MappifyModel } = require('mappifysql');
const Order = require('path/to/Order');
class User extends MappifyModel {
associations() {
this.hasMany(Order, {
as: 'orders',
foreignKey: 'user_id'
});
}
}
module.exports = User;
```
Usage:
```javascript
const User = require('path/to/User');
let fetchUserOrders = async () => {
var user = await User.findOne({ where: { id: 1 } });
await user.populate('orders', { exclude: ['created_at', 'updated_at'] });
console.log('User with orders:', user);
};
fetchUserOrders();
```
```typescript
import { MappifyModel } from 'mappifysql';
import Order from 'path/to/Order';
interface OrderAttributes {
id?: number;
total: number;
}
class Order extends MappifyModel {
id?: number;
total: number;
constructor(data: OrderAttributes) {
super();
this.id = data.id;
this.total = data.total;
}
associations() {
this.belongsTo(User, {
as: 'user',
key: 'id'
foreignKey: 'user_id'
});
}
}
export default User;
```
Usage:
```typescript
import Order from 'path/to/Order';
let fetchOrderUser = async () => {
var order = await Order.findOne({ where: { id: 1 } });
await order.populate('user', {attributes: ['id', 'name']});
console.log('Order with user:', order);
};
fetchOrderUser();
```
** Using `attach` method **
```javascript
const User = require('path/to/User');
const Order = require('path/to/Order');
let createOrder = async () => {
var user = await User.findById(1);
var order = new Order({ total: 1000 });
await user.attach(order, 'orders');
console.log('Order created:', order);
};
createOrder();
```
```typescript
import User from 'path/to/User';
import Order from 'path/to/Order';
let createOrder = async () => {
var user = await User.findOne({ where: { id: 1 } });
var order = new Order({ total: 1000 });
await user.attach(order, 'orders');
console.log('Order created:', order);
};
createOrder();
```
#### Many-to-Many Relationship
In a many-to-many relationship, each record in one table is associated with one or more records in another table, and vice versa. For example, each product can belong to multiple categories, and each category can have multiple products.
```javascript
const { MappifyModel } = require('mappifysql');
const Category = require('path/to/Category');
const ProductCategory = require('path/to/ProductCategory');
class Product extends MappifyModel {
associations() {
this.belongsToMany(Category, {
as: 'categories',
through: ProductCategory,
key: 'id',
foreignKey: 'product_id',
otherKey: 'category_id'
});
}
}
module.exports = Product;
```
Usage:
```javascript
const Product = require('path/to/Product');
Product.findOne({ where: { id: 1 }}).then((product) => {
product.populate('categories', { exclude: ['created_at', 'updated_at'] }).then((product) => {
console.log('Product with categories:', product);
});
}).catch((err) => {
console.error(err);
});
```
** Using TypeScript **
```typescript
import { MappifyModel } from 'mappifysql';
import Product from 'path/to/Product';
import ProductCategory from 'path/to/ProductCategory';
interface CategoryAttributes {
id?: number;
name: string;
}
class Category extends MappifyModel {
id?: number;
name: string;
constructor(data: CategoryAttributes) {
super();
this.id = data.id;
this.name = data.name;
}
associations() {
this.belongsToMany(Product, {
as: 'products',
through: ProductCategory,
key: 'id',
foreignKey: 'category_id',
otherKey: 'product_id'
});
}
}
export default Category;
```
Usage:
```typescript
import Category from 'path/to/Category';
Category.findOne({ where: { id: 1 }}).then((category) => {
category.populate('products', {attributes: ['id', 'name', 'price']}).then((category) => {
console.log('Category with products:', category);
});
}).catch((err) => {
console.error(err);
});
```
<span style="color:red;"><b>Note</b></span>: The model classes can contain many relationships, and you can define as many relationships as needed for your application. Also, if a model has multiple relationships, you can populate them individually for each relationship.
Example:
```javascript
const { MappifyModel } = require('mappifysql');
const Student = require('path/to/studentmodel');
const Course = require('path/to/coursemodel');
class Enrollment extends MappifyModel {
associations() {
this.belongsTo(Student, {
as: 'student',
key: 'id',
foreignKey: 'student_id'
});
this.belongsTo(Course, {
as: 'course',
key: 'id',
foreignKey: 'course_id'
});
}
}
module.exports = Enrollment;
```
Usage:
```javascript
const Enrollment = require('path/to/Enrollment');
Enrollment.findOne({ where: { id: 1 }}).then((enrollment) => {
enrollment.populate('student', {attributes: ['id', 'name']}).then(() => {
}).then(() => {
enrollment.populate('course', {attributes: ['id', 'name']}).then(() => {
console.log('Enrollment with student and course:', enrollment);
});
});
}).catch((err) => {
console.error(err);
});
```
```typescript
import { MappifyModel } from 'mappifysql';
import Student from 'path/to/studentmodel';
import Course from 'path/to/coursemodel';
interface EnrollmentAttributes {
id?: number;
student_id: number;
course_id: number;
}
class Enrollment extends MappifyModel {
id?: number;
student_id: number;
course_id: number;
constructor(data: EnrollmentAttributes) {
super();
this.id = data.id;
this.student_id = data.student_id;
this.course_id = data.course_id;
}
associations() {
this.belongsTo(Student, {
as: 'student',
key: 'id',
foreignKey: 'student_id'
});
this.belongsTo(Course, {
as: 'course',
key: 'id',
foreignKey: 'course_id'
});
}
}
export default Enrollment;
```
Usage:
```typescript
import Enrollment from 'path/to/Enrollment
let enroll = async () => {
var enrollment = await Enrollment.findOne({ where: { id: 1 } });
await enrollment.populate('student', {attributes: ['id', 'name']});
await enrollment.populate('course', {attributes: ['id', 'name']});
console.log('Enrollment with student and course:', enrollment);
};
enroll();
```
##### Issues
If you encounter any issues or have any questions, please feel free to open an issue on the GitHub repository. We are always happy to help and improve the library.
<!-- ##### Contributing
If you would like to contribute to the project, please feel free to fork the repository and submit a pull request. We welcome all contributions and appreciate your help in making the library better. -->
##### License
This project is licensed under the MIT License - see the LICENSE file for details.
<!-- ##### Acknowledgments
We would like to thank all the contributors to the project and the open-source community for their support and feedback. We appreciate your help in making the library better and more useful for developers. -->
##### References
<!-- - [MappifySQL Documentation]( -->
- [MappifySQL GitHub Repository](https://github.com/Walidadebayo/MappifySQL.git)
- [MappifySQL NPM Package](https://www.npmjs.com/package/mappifysql)
<!-- - [MappifySQL Examples]( -->
- [MappifySQL Issues](https://github.com/Walidadebayo/MappifySQL/issues)
- [MappifySQL License](https://github.com/Walidadebayo/mappifysql/blob/main/LICENSE)
<!-- - [MappifySQL Contributors](https://github.com/Walidadebayo/mappifysql/graphs/contributors) -->
<!-- - [MappifySQL Open Source Community]( -->
<a href="https://www.buymeacoffee.com/walidadebayo"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=walidadebayo&button_colour=FFDD00&font_colour=000000&font_family=Comic&outline_colour=000000&coffee_colour=ffffff" /></a>
| MappifySQL is a lightweight, easy-to-use Object-Relational Mapping (ORM) library for MySQL databases, designed for use with Node.js. It provides an intuitive, promise-based API for interacting with your MySQL database using JavaScript or TypeScript. | javascript,mysql,mysql-connector,mysql-database,mysql-server,mysql2,node-js,nodejs,nodemon,oop | 2024-04-24T19:27:42Z | 2024-05-02T22:04:45Z | null | 1 | 0 | 22 | 0 | 0 | 2 | null | MIT | JavaScript |
KPCOFGS/ArcGIS_ExperienceBuilder_Custom_Widget | main | # ArcGIS_ExperienceBuilder_Custom_Widget
**Note: This repository is meant for ArcGIS Experience Builder version 1.13**
## Installation
1. Download the source code and unzip the file
* Alternatively, you can use git and clone this repository
2. Go inside the folder and select all and then cut or copy
3. Go to your ArcGIS Experience Builder Developer folder and follow the path `client/your-extensions/widgets/`
4. Paste folders to that destination
## Modified Widgets
1. [better_controller](better_controller)
2. [get-map-coordinates-class](get-map-coordinates-class) by [Stephen](https://github.com/shodge17)
## Acknowledgement
A big thanks to Esri for making this repository possible! You can check out their repositories [here](https://github.com/Esri)
## License
This project is licensed under the Apache License 2.0
See the [LICENSE](LICENSE) file for details.
| Custom widgets for ArcGIS Experience Builder Developer Edition | arcgis,code,arcgisexperiencebuilder,javascript,typescript | 2024-04-12T23:48:25Z | 2024-05-04T22:45:53Z | null | 4 | 0 | 86 | 0 | 1 | 2 | null | Apache-2.0 | TypeScript |
betafontes/tiktok-clone-react-native | main | <h1 align="center">TikTok Clone</h1>
<br>
<p align="center">
<a href="#-tecnologias">Tecnologias</a> |
<a href="#-projeto">Projeto</a> |
<a href="#-instalações">Instalações</a> |
</p>
<br>
<hr>
## 🚀 Tecnologias
Esse repositório contém essas tais tecnologias :
- JavaScript
- React Native
<br>
## 💻 Projeto
Esse repositório foi desenvolvido durante uma aula do video Sujeito Programador, para eu poder iniciar os meus estudos
e ter o primeiro contato com o React Native.
<br>
## ⚙️ Instalações
<br>
🔗 **Clone o repositório :**
```bash
https://github.com/betafontes/tiktok-clone-react-native.git
```
🔗 **Entre no diretório :**
```bash
cd tiktok-clone-react-native
```
🔗 **Instale as dependências :**
```bash
npx expo install expo-av
```
🔗 **Inicie o servidor :**
```bash
npx expo start
```
| desenvolvi um clone do tiktok para dá início aos meus estudos de desenvolvimento mobile. | expo,javascript,react-native | 2024-03-25T02:11:17Z | 2024-03-29T23:08:02Z | null | 1 | 0 | 4 | 0 | 0 | 2 | null | null | JavaScript |
obed-tc/me-perdonas | main | null | Demo: | css,html,javascript | 2024-04-27T06:32:55Z | 2024-04-27T06:54:59Z | null | 1 | 0 | 2 | 0 | 0 | 2 | null | null | JavaScript |
ravimishra007/Portfolio | master | Deploy: https://ravimishra007.github.io/Portfolio/
| null | css3,html5,javascript | 2024-04-19T15:37:38Z | 2024-05-18T08:36:18Z | null | 1 | 2 | 27 | 0 | 0 | 2 | null | null | HTML |
adamlui/minify.js | main | null | </> Recursively minify all JavaScript files. | api,cli,javascript,js,minifier,nodejs,utilities | 2024-04-05T17:40:17Z | 2024-05-22T18:10:28Z | 2024-05-14T18:22:04Z | 3 | 12 | 446 | 0 | 1 | 2 | null | NOASSERTION | JavaScript |
Alexcj10/Alexcj10 | main | ![MasterHead](https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/81bb4b165684019.640b6038d133e.gif)
<h1 align="center">Hi👋, I'm Alex</h1>
<h3 align="center">"Data Science Journey: Exploring Insights, Algorithms, and Real-World Applications"</h3>
<p align="left"> <img src="https://komarev.com/ghpvc/?username=Alexcj10&label=Profile%20views&color=0e75b6&style=flat" alt="Alexcj10" /> </p>
<img align="right" alt="Data Science" width="300" src="https://mir-s3-cdn-cf.behance.net/project_modules/hd/06f21a161921919.63cd7887d0a70.gif" >
- ✨ Creating bugs since ... **2023 (my coding journey began)**
- 🌱 I’m currently learning **Data Science with Python and ADBMS (Advanced Database Management Systems).**
- 🎯 Goals: ... **Build a time series forecasting model to predict stock prices or cryptocurrency values using historical market data and advanced machine learning algorithms.**
- 💬 Ask me about **Data Science, Machine Learning, Python**
- 🎲 Fun fact: ... **The shortest war in history was between Britain and Zanzibar on August 27, 1896. Zanzibar surrendered after 38 minutes.**
- 🐧 I like exploring **Crypto Currency**
- 📫 How to reach me **alexchandarjoshva@gmail.com**
- 🔗 Visit my Data Science Portfolio **https://www.datascienceportfol.io/alexcj**
<h3 align="left">Connect with me:</h3>
<p align="left">
<a href="https://instagram.com/https://www.instagram.com/alexcj_10?igsh=enm4njn4c3h5emkz" target="blank"><img align="center"
src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/instagram.svg"
alt="https://www.instagram.com/alexcj_10?igsh=enm4njn4c3h5emkz" height="40" width="52" /></a>
<!-- <a href="http://www.linkedin.com/in/alexchandarjoshva" target="_blank"><img align="center"
src="https://raw.githubusercontent.com/maurodesouza/profile-readme-generator/master/src/assets/icons/social/linkedin/default.svg" width="52" height="40" alt="linkedin logo" />
</a> -->
</p>
<h3 align="left">Languages :</h3>
<div align="left">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/python/python-original.svg" height="45" alt="python logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/html5/html5-original.svg" height="45" alt="html5 logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/css3/css3-original.svg" height="45" alt="css3 logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/javascript/javascript-original.svg" height="45" alt="javascript logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/cplusplus/cplusplus-original.svg" height="45" alt="cplusplus logo" />
</div>
###
<h3 align="left">Tools :</h3>
<div align="left">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/vscode/vscode-original.svg" height="45" alt="vscode logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/atom/atom-original.svg" height="45" alt="atom logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/jupyter/jupyter-original.svg" height="45" alt="jupyter logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/pycharm/pycharm-original.svg" height="45" alt="pycharm logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/intellij/intellij-original.svg" height="45" alt="intellij logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/postgresql/postgresql-original.svg" height="45" alt="postgresql logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/docker/docker-original.svg" height="45" alt="docker logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mongodb/mongodb-original.svg" height="45" alt="mongodb logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/microsoftsqlserver/microsoftsqlserver-plain.svg" height="45" alt="microsoftsqlserver logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mysql/mysql-original.svg" height="45" alt="mysql logo" />
<img width="6" />
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/git/git-original.svg" height="45" alt="git logo" />
</div>
<img width="1000" src="assets/github-snake.svg" alt="snake"/>
</p>
| Welcome to my personal GitHub repository! This space is a showcase of my journey in data science and python, featuring a variety of projects and code samples that highlight my skills and interests. | ai,css,data-science,deep-learning,html,javascript,jupyter-notebook,learning-journey,machine-learning,mongodb | 2024-04-07T16:57:10Z | 2024-05-20T17:44:49Z | 2024-05-09T15:23:21Z | 1 | 0 | 52 | 0 | 0 | 2 | null | null | null |
LakshayD02/Youtube_Clone_React_RapidAPI | main | # Modern YouTube Clone Application YouTube Clone with React, Material UI, and RapidAPI
Features:
Search for videos and channels using the YouTube Data API.
Browse popular videos and suggested content.
View detailed information about videos, including titles, descriptions, thumbnails, and view counts.
Play videos within the application using a video player library (not included).
Implement basic channel pages showcasing channel information and uploaded videos.
Deployed Link - https://youtube-clone-lakshay.vercel.app/
| Explore this ReactJS YouTube clone built with stunning Material UI and RapidAPI to fetch real video data and implement search, browse popular videos, view detailed information, and integrate a video player (library not included) for playback. | html,html5,javascript,material-ui,materialui,rapid-api,rapidapi,react,react-router,reactjs | 2024-03-21T18:24:28Z | 2024-03-21T18:38:00Z | null | 1 | 0 | 4 | 0 | 0 | 2 | null | null | JavaScript |
sparshjaggi07/SocioBay | main | # SocioBay 💬
A **Real-Time** chat application with multiple custom rooms and user sign-up functionalities
1. **Sockets.io** - Used to implement the real-time functionalities by sending triggering and monitoring events on a topic-subscription based model.
2. **ReactJS** - The front end has been built using ReactJs to implement live state-change handling on (send/receive) message events.
## **Live Demo** - Heroku got priced :(
## Preview
### Join/Sign Up Page
![Join](/1.png)
### Chat Box ui
![Chat](/2.png)
#### Welcome Message and Notification on the joining of any user
![Welcome](/3.png)
## Local Setup for Live Demo
### Clone the repository using the command : `git clone https://github.com/sparshjaggi07/SocioBay.git` <br/>
### `npm install`
Run this in both server and client directories to installs all dependencies required for the app to run
### `npm start`
Run this in both server and client directories to run the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view running app it in the browser. (React-app server)
The page will reload if you make edits.<br />
| It is real-time chatting application which uses React.js , Node.js and Socket.io !! | css,html,javascript | 2024-03-26T07:34:49Z | 2024-03-26T07:36:24Z | null | 1 | 0 | 2 | 0 | 0 | 2 | null | null | JavaScript |
SgtPooki/helia-verified-fetch-cli | main | # @sgtpooki/helia-verified-fetch-cli
`@sgtpooki/helia-verified-fetch-cli` is a command-line interface tool designed to facilitate the download and fetching of content using the javascript IPFS implementation, [Helia](https://github.com/ipfs/helia), and [`@helia/verified-fetch`](https://github.com/ipfs/helia-verified-fetch/tree/main/packages/verified-fetch). It leverages various block brokers such as bitswap and trustless gateways to ensure secure and efficient data retrieval.
## Installation
To install `@sgtpooki/helia-verified-fetch-cli`, you need to have Node.js installed on your system. With Node.js installed, run the following command:
```sh
npm install -g @sgtpooki/helia-verified-fetch-cli
```
## Usage
After installation, you can use the CLI tool by invoking it with the desired resource URL and additional options as needed.
## Basic Usage
To fetch a resource, simply provide the resource URL as follows:
`helia-verified-fetch-cli <resource-url>`
### "Hello world" example
This example shows how you can fetch a "hello world" CID from peers using bitswap. (note that `-t false` is disabling trustless gateway usage)
```
helia-verified-fetch-cli ipfs://bafkqaddimvwgy3zao5xxe3debi --debug 'helia*,helia*:trace' --data ~/tmp/hvf-data -t false
```
### XKCD image example
```
helia-verified-fetch-cli 'ipfs://QmdmQXB2mzChmMeKY47C43LxUdg1NDJ5MWcKMKxDu7RgQm/1 - Barrel - Part 1/1 - Barrel - Part 1.png' --data ~/tmp/hvf-data > file.png && open file.png
```
## Options
- `--data, -d`: Specify the directory to persist data/blockstore. By default, data is stored in-memory and will not persist between requests.
- `--use-bitswap, -b`: Use bitswap block broker. Enabled by default.
- `--use-trustless-gateways, -t`: Use trustless gateways. Enabled by default.
- `--trustless-gateways`: Provide a list of trustless gateways to use. Defaults to Helia default trustless gateways.
- `--accept, -a`: Set the Accept header for the request.
- `--verbose, -v`: Enable verbose logging, similar to setting DEBUG="helia*" in your environment variables.
- `--debug`: Set the DEBUG environment variable to the provided value.
## Callouts
- Currently, piping json to `jq` will fail with `jq: parse error: Unfinished JSON term at EOF at line 2129, column 7`. If you write to a file and then pipe to `jq`, it will work as expected.
| A simple CLI for downloading IPFS content using @helia/verified-fetch | fetch,helia,ipfs,javascript,libp2p,p2p,typescript,helia-verified-fetch,verified-fetch | 2024-04-02T20:32:53Z | 2024-04-03T00:05:43Z | 2024-04-03T00:05:43Z | 2 | 0 | 14 | 0 | 0 | 2 | null | MIT | JavaScript |
RaizaCirne/calculadora-de-gorjeta | main | # 📋 Indíce
- [Bem-vindo](#id01)
- [Proposta](#id02)
- [Desafio](#id03)
- [Aprendizado](#id04)
- [Prosseguimento](id05)
- [Screenshots](#id06)
- [Links](#id07)
- [Tecnologias utilizadas](#id08)
- [Pré-requisitos](#id09)
- [Procedimentos de instalação](#id010)
- [Informações](#id011)
# Bem-vindo! 👋 <a name="id01"></a>
**Calculadora de Gorjeta**
<br />
## 🚀 Proposta <a name="id02"></a>
Aplicativo web para calcular a gorjeta a partir de uma conta, porcentagem de gorjeta e número de pessoas. Ele também fornece o total com gorjeta e o valor da conta dividido pelo número de pessoas.
<br />
## :trophy: Desafio <a name="#id03"></a>
- formatarDinheiro(value): Esta função formata o valor para exibição em formato de dinheiro (R$) com duas casas decimais.
- pluralSingular(value): Esta função determina se deve ser usado o singular ou plural dependendo do valor. Retorna "X Pessoa" se o valor for igual a 1 e "X Pessoas" se for maior que 1.
- atualizar(): Esta função é chamada quando o "Atualizar" é selecionado. Ela recupera os valores inseridos pelo usuário, calcula a gorjeta, o total com gorjeta e o valor da conta dividido pelo número de pessoas, e então atualiza os elementos HTML correspondentes com os resultados calculados.
- Além das funções JavaScript fornecidas para calcular a gorjeta e dividir a conta, este projeto inclui estilos CSS para melhorar a aparência e a usabilidade do aplicativo.
## :trophy: Aprendizado <a name="#id04"></a>
#### Construído com:
- Integração HTML, CSS e JavaScript: Aprendizado sobre como essas tecnologias se integram para criar uma aplicação web funcional.
- Manipulação do DOM: Como manipular o Document Object Model (DOM) para interagir dinamicamente com os elementos HTML.
- Tratamento de Eventos: Como lidar com eventos de usuário.
- Pré-processador Sass: Utilização do pré-processador Sass para escrever estilos CSS de forma mais eficiente, com variáveis, mixins e reutilização de código.
- Responsividade: Adaptação do layout e estilos para diferentes tamanhos de tela, proporcionando uma experiência consistente em dispositivos variados.
- Estilização Avançada: Utilização de técnicas avançadas de estilização, como sombras, gradientes, efeitos de hover e ajustes de cores.
- Lógica de Programação: Implementação de uma lógica simples de cálculo baseada em condições e operações aritméticas.
## :trophy: Prosseguimento <a name="id05"></a>
- Realizar outros projetos utilizando o React.js
# :camera_flash: Screenshots <a name="id06"></a>
## :video_camera: Video
https://github.com/RaizaCirne/calculadora-de-gorjeta/assets/109912543/31989f0b-c4a8-438f-84d7-9d7b1bab07b6
## :desktop_computer: Desktop design
![Design preview desktop](./assets/images/desktop.png)
## :iphone: Mobile design
![Design preview desktop](./assets/images/mobile.png)
<br />
# :heavy_check_mark: Links <a name="id07"></a>
<br />
- Para acessar o site [Clique aqui](https://660c338b35af304905bfa19b--dashing-haupia-302e32.netlify.app/)
<br />
# 🛠 Tecnologias utilizadas <a name="id08"></a>
<br />
- JavaScript
- Git
- SASS
- CSS3
- HTML5
<br />
# ☑️ Pré-requisitos <a name="id09"></a>
<br />
- [x] Editor de código de sua preferência (recomendado VS code)
- [x] Git
<br />
# 📝 Procedimentos de instalação <a name="id010"></a>
<br />
Clone este repositório usando o comando:
```bash
git clone https://github.com/RaizaCirne/calculadora-de-gorjeta.git
```
Baixar arquivo zip
Extrir arquivos
Abrir pasta no editor de código.
<br />
# :sunglasses: Informações <a name="id011"></a>
<br />
- Personal Page - [Raíza Cirne Braz](https://660c338b35af304905bfa19b--dashing-haupia-302e32.netlify.app/)
- Frontend Mentor - [@RaizaCirne](https://www.frontendmentor.io/profile/RaizaCirne)
- GitHub - [RaizaCirne](https://github.com/RaizaCirne)
- LinkedIn - [Raíza Cirne Braz](https://www.linkedin.com/in/ra%C3%ADzacirne/)
**JavaScript - GIT - SASS - CSS3 - HTML5** 🚀
| Calculadora de gorjeta web, feita com JavaScript puro. Permite aos usuários calcular a gorjeta com base no valor da conta, porcentagem desejada e número de pessoas. Com uma interface simples e responsiva com estilização avançada Sass, oferece uma experiência intuitiva ao usuário. | function,javascript,sass,sass-mixins | 2024-03-25T20:08:50Z | 2024-04-02T16:49:54Z | null | 1 | 0 | 24 | 0 | 0 | 2 | null | MIT | SCSS |
Roxy011/Drink-UP-Fruit-Juice-Web-Application | master | Simple Working Web application designed for frontend idea.
Snapshots:
Preview-01
![Screenshot 2024-03-22 232159](https://github.com/Roxy011/Drink-UP-Fruit-Juice-Web-Application/assets/164539809/24580389-7338-4976-9a6b-9bf8a04e1fe1)
Preview-02
![Screenshot 2024-03-22 232225](https://github.com/Roxy011/Drink-UP-Fruit-Juice-Web-Application/assets/164539809/64d548bc-72c8-4706-bf1d-08e4b2f0722d)
Preview-03
![Screenshot 2024-03-22 232242](https://github.com/Roxy011/Drink-UP-Fruit-Juice-Web-Application/assets/164539809/18b1d3ce-650f-47a7-845f-5096e3d9aae2)
| This is the simple web page that is been built using HTML, CSS, JavaScript. This website is just the front-End design and simple dynamic working only previewed in web browser. | css,frontend-web,html5,javascript,onlineorderingsystem | 2024-03-22T17:35:28Z | 2024-03-22T17:56:03Z | null | 1 | 0 | 2 | 0 | 0 | 2 | null | null | HTML |
Krypto-etox/AC-service-website | main | # **AC Service Website 🌬️**
Welcome to the AC Service Website repository! This repository hosts the code for our website, where you can find information about our air conditioning services, book appointments, and learn more about how we can keep your space cool and comfortable.
### About This Project ℹ️
This website is designed to provide a user-friendly experience for visitors seeking air conditioning services. Whether you need installation, maintenance, or repairs, our website offers comprehensive information about our services and how we can assist you.
### Features 🚀
- **Service Information:** Learn about the range of services we offer, including installation, maintenance, and repair.
- **Appointment Booking:** Easily schedule appointments through our intuitive booking system.
- **FAQs:** Find answers to frequently asked questions about our services and air conditioning in general.
- **Contact Information:** Reach out to us for inquiries, feedback, or support.
### Website Link 🌐
You can access our website [here](https://krypto-etox.github.io/AC-service-website/). Feel free to explore and let us know how we can help meet your air conditioning needs.
### Contributing 🤝
We welcome contributions to enhance the functionality and user experience of our website. If you have ideas for improvements or would like to report a bug, please submit an issue or pull request.
### Contact Us 📞
If you have any questions or need further assistance, don't hesitate to contact us via [email/phone/social media].
Thank you for visiting our repository. We look forward to serving you! 🌟
| Aero is an AC Service website, that fulfills nearly all the pages of modern service website. Learn and Enjoy | api,css,html,javascript,scss,service,web,web-development,web3,website | 2024-04-05T13:38:05Z | 2024-04-05T13:52:53Z | null | 1 | 0 | 6 | 0 | 0 | 2 | null | Apache-2.0 | SCSS |
DEVCON-Legazpi-Developers/DevConLegazpi | main | null | null | css3,html-css-javascript,html5,javascript,static,website | 2024-03-16T08:30:47Z | 2024-04-14T13:06:22Z | null | 6 | 15 | 84 | 0 | 1 | 2 | null | null | HTML |
DevsDaddy/AppSway | main | # AppSway
AppSway is an Open-Source toolkit for organizing Backend-as-a-Service for your projects. Includes dozens of essential modules for app and game development
| AppSway is an Open-Source toolkit for organizing Backend-as-a-Service for your projects. Includes dozens of essential modules for app and game development | analytics,baas,backend,gamedev,godot,javascript,open-source,server,services,toolkit | 2024-04-14T10:13:55Z | 2024-04-14T10:21:41Z | null | 2 | 0 | 3 | 0 | 0 | 2 | null | MIT | null |
HarmoniTech/artpunk-unstaking | main | # Nft-Staking-Contract
## Install Dependencies
- Install `node` and `yarn`
- Install `script` as global command
- Confirm the solana wallet preparation. ex: `wallet.json`
## Usage
- Main script source for all functionality is here: `/lib/script.ts`
- Program account types are declared here: `/lib/types.ts`
Able to test the script functions working in this way.
- Change commands properly in the main functions of the `script.ts` file to call the other functions
- Run `yarn script` with parameters
# Features
## How to deploy this program?
First of all, you have to git clone in your PC.
In the folder `nft_staking-staking`, in the terminal
1. `yarn`
2. `anchor build`
In the last sentence you can see:
```
To deploy this program:
$ solana program deploy ./target/deploy/nft_staking.so
The program address will default to this keypair (override with --program-id):
./target/deploy/nft_staking-keypair.json
```
3. `solana-keygen pubkey ./target/deploy/nft_staking.json`
4. You can get the pubkey of the `program ID : ex."5N...x6k"`
5. Please add this pubkey to the lib.rs
`declare_id!("5N...x6k");`
6. Please add this pubkey to the Anchor.toml
`nft_staking = "5N...x6k"`
7. `anchor build` again
8. `solana program deploy ./target/deploy/nft_staking.so`
<p align = "center">
Then, you can enjoy this program
</p>
</br>
## How to use?
### A Project Owner
First of all, open the directory and `yarn`
#### Initialize project
```js
yarn script init
```
### A Player
#### Stake NFT
```js
yarn script stake -m <MINT ADDRESS>
```
#### Unstake NFT
```js
yarn script unstake -m <MINT ADDRESS>
```
#### Get user status
```js
yarn script user-status -a <USER_ADDRESS>
```
Get status of user <USER_ADDRESS>.
#### Get all users
```js
yarn script get-users
```
Get all users stake info
| This is repository for solana nft unstaking | javascript,typescript,web3,web3js,nft-staking,smart-contracts | 2024-03-30T08:30:32Z | 2023-08-27T04:52:46Z | null | 1 | 0 | 1 | 0 | 0 | 2 | null | null | TypeScript |
Toluade/protime-chrome-extension | main | # protime-chrome-extension
A timer extension for your browser activities.
The extension loads ProTime web app inside an iframe.
### ProTime Features
- Timer
- Stopwatch
- Clock
## Usage
- Install the extension in your browser.
- Click on the extension to load it.
- The extension, when open, can be dragged to any position on the current page. The extension is draggable when the move cursor is seen.
- The `X` button closes the extension.
| Display a resizeable and draggable timer on your browser screen | chrome-extension,css,html,javascript | 2024-04-09T18:58:11Z | 2024-04-10T10:58:49Z | null | 1 | 0 | 8 | 0 | 0 | 2 | null | null | JavaScript |
danacatclysmx/calculadora-notas | main | # Calculadora de Notas
Este proyecto es una calculadora de notas diseñada para ayudar a los estudiantes a calcular sus promedios de calificaciones de manera eficiente. El sistema está construido con tecnologías web y permite una fácil interacción a través de una interfaz amigable.
## Características
- *Cálculo de promedios*: Permite ingresar las calificaciones de varias asignaturas y calcula el promedio automáticamente.
- *Interfaz intuitiva*: La interfaz es clara y fácil de usar, incluso para quienes no están familiarizados con este tipo de herramientas.
- *Adaptable*: Funciona en cualquier dispositivo con un navegador web moderno.(pendiente por implementar)
## Tecnologías Utilizadas
- HTML
- CSS
- JavaScript
## Instalación
Para instalar y ejecutar este proyecto en tu máquina local, sigue estos pasos:
1. Clona el repositorio:
```bash
git clone https://github.com/danacatclysmx/calculadora-notas.git
2. Inicia el index. html en tu navegador
## Contribuir
Si estás interesado en contribuir al proyecto, considera los siguientes pasos:
1. Fork el repositorio.
2. Crea una nueva rama para tus cambios (git checkout -b feature-nueva).
3. Haz tus cambios y haz commit de ellos (git commit -am 'Añadir alguna funcionalidad').
4. Push a tu fork (git push origin feature-nueva).
5. Crea un nuevo Pull Request. | calculadora de notas | calculadora,javascript,sideproject,udi | 2024-04-08T19:44:22Z | 2024-04-19T20:19:53Z | null | 1 | 0 | 5 | 0 | 0 | 2 | null | null | JavaScript |
qumaraa/fshare | master |
## fshare 📁
**Official Rust implementation of Command-line File-Sharing tool** 🦀.
#### Available Send & Upload features!
[![MIT License](https://img.shields.io/github/license/dec0dOS/amazing-github-template.svg?style=flat-square)](https://github.com/ynwqmv/netprotocol/discussions/3)
[![Version](https://img.shields.io/badge/version-2.1-red.svg)](https://github.com/ynwqmv/netplatform/blob/master/NETWORK.md)
![](https://camo.githubusercontent.com/a080948f1963a87a71216a884b318e6d84825d4cb0be5b242b3153e5b096486c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f432b2b2d536f6c7574696f6e732d626c75652e7376673f7374796c653d666c6174266c6f676f3d63253242253242)
---
# Logs 🖥️
#### `log_debug` (set as default)
#### `log_info`
#### `log_warn`
#### `log_err`
#### `log_trace`
# Port Generation
```rs
let port = rng.gen_range(49152..=65535);
```
```rs
let srv = HttpServer::new({
/**/
})
.bind(("0.0.0.0", port.clone())) /* <- binds to a local network with a randomly generated port */
.unwrap()
.run();
/*
Sometimes it may happen that the code can generate
a port that is used by the operating system or other programs, but it's not critical.
*/
```
## Example
```powershell
Usage: fshare <COMMAND>
Commands:
send
recv
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
```
```powershell
fshare help send
Usage: fshare send --path <PATH> --log <LOG>
Options:
-p, --path <PATH> Path of file for sending to server for downloading.
-l, --log <LOG> Choose log-level. Level::DEBUG set as default.
-h, --help Print help
```
```powershell
fshare help recv
Usage: fshare recv --log <LOG>
Options:
-l, --log <LOG> Choose log-level. Level::DEBUG set as default.
-h, --help Print help
```
```powershell
fshare --version
fshare 2.1
```
____
| Rust implementation of Command-line File-Sharing tool using HTTP in localhost🦀 | cli,file-sharing,http,rust,rust-lang,arctix-web,http2,javascript | 2024-04-03T13:44:28Z | 2024-04-25T15:37:36Z | 2024-04-19T15:49:42Z | 1 | 0 | 49 | 0 | 0 | 2 | null | null | Rust |
anburocky3/personal-review | main | ### Review App
| Personal review app | javascript,nextjs,reactjs | 2024-04-01T12:37:44Z | 2024-05-01T13:13:19Z | null | 1 | 1 | 9 | 0 | 0 | 2 | null | null | JavaScript |
tagoWorks/akod | main | ![Banner](https://media.discordapp.net/attachments/1092315227057561630/1221138931916214422/akodheader.png?ex=662d2cc1&is=661ab7c1&hm=bb787a7cb77e43e5258d9d82ac9526a261da7fd24265c8a79ca57f7f489c5e8c&=&format=webp&quality=lossless&width=1440&height=242)
<div align="center">
</a>
<br />
![GitHub last commit](https://img.shields.io/github/last-commit/tagoworks/akod)
![GitHub issues](https://img.shields.io/github/issues-raw/tagoworks/akod)
![GitHub](https://img.shields.io/github/license/tagoworks/akod)
</div>
> Activating Keys on Discord is a free and multi-layered encrypted user key authentication tool for your code. Built with JavaScript and Python, it utilizes GitHub and Netlify as licensing servers. AKoD allows your users to validate their purchased activation keys from your site using a simple Discord bot command. It creates a directory with the validated account name, generates an encrypted key file, and commits the changes to a GitHub repository hosted on Netlify for accessibility. To integrate AKoD into your software, create a free flask api, and obfuscate your final code using a tool like Hyperion to hide the private key. AKoD is open-source, and you're encouraged to make your own modifications to suit your needs.
# Get Started with AKoD 🚀
For better detailed intructions visit the revisioned [wiki page](https://github.com/tagoworks/akod/wiki/getting-started)
or watch the [YouTube video!](https://youtu.be/Wtpl7a_08jE)
#### ⚠️ Please follow best practices for security when handling sensitive information!!!
<a href="https://github.com/tagoworks/akod/wiki/Use-Flare-Instead-of-AKoD">
<img src="https://media.discordapp.net/attachments/1092315227057561630/1232519280294367274/warn.png?ex=662bbac7&is=662a6947&hm=9e3d4460f5292de711d64b5a34ee43667dd6fb32102185efe1d5c625b336e75e&=&format=webp&quality=lossless&width=1317&height=409" alt="WARN" width="479.2" height="148.8">
</a>
## Setup webserver
1. Create a new private GitHub repo
2. Add a `index.html` file with any content (just so the site can deploy)
3. Head to https://app.netlify.com/ and Login or Create an account
4. Create your site via GitHub
5. Wait for site to deploy. You should have a link like "repositoryname.netlify.app"
## Prepare AKoD
1. Create a new folder & clone the repo
```sh
git clone https://github.com/tagoworks/akod
```
2. Open the new `akod` folder
4. Download required modules by running the provided `GetReqs.bat` file
5. Open the `config.json` file with notepad or another text editor, and input all the values
* token: Your discord bot token
* ownerID: The owner's user ID (will be allowed to add custom keys, remove cooldowns, and delete validated accounts)
* guildID: The server ID which the bot will be in (for permission sets)
* onlySendIn: The channel ID's where the bot will be allowed to respond
* logChannel: The channel ID where the bot will send key activation logs
* GITUSERNAME: Your GitHub account username
* GITSTORAGEREPO: The repository where the accounts and active accounts/keys will be stored
* GITPAT: Your GitHub personal access token (PAT), which is used to push the new accounts to the webserver repository (give repo scopes)
* netlifyURL: Your Netlify repo link (https://repository.netlify.app/)
6. Open the `assets` directory and run the `StartWatching.bat` file in order to generate your `identifiers.txt` file
* It is very important to save these keys, if you publish your projects and use this key and later on change it you will not be able to validate any keys
* After a few minutes check your Netlify link and verify AKoD can read and write
7. Input your custom keys in the `validkeys.txt` file
* Remember to make a new line for each new activation key
8. Modify the `blacklist.txt` file to add any additional blocked usernames, like your username or other developers.
# Setting up your own free API 🛜
1. Go to [pythonanywhere.com](https://pythonanywhere.com/) and create a free account to host the auth api
2. Create a new web app
* Select "Flask" web framework
* Select "Python 3.10"
5. Rename the py file to something like "auth"
6. Create the webapp
7. Scroll down until you see "Source code", and click "Go to directory"
8. Click on the 'auth.py' file you created
9. Copy the contents of the the python file in the "flaskapi" folder, and paste it into the file for pythonanywhere
10. Save the changes on the top right
11. Reload your webapp
# Implement AKoDAuth into your code 💻
View the 'example.py' file to see how to set all the needed variables to your api and check for a valid login!
1. Set and post your private and public key
```py
private_key = "private key from identifiers.txt"
publicserverkey = "public key from identifiers.txt"
requests.post('http://yourusername.pythonanywhere.com/privatekey', data={'key': private_key})
requests.post('http://yourusername.pythonanywhere.com/publickey', data={'key': publicserverkey})
```
2. Create a way to input activation key, username, and login
```py
activationkey = input("Enter activation key: ")
username = input("Enter username: ")
password = input("Enter password: ")
3. Creata a post request to your API to check for the account credentials
```py
requests.post('http://yourusername.pythonanywhere.com/setactivationkey', data={'key': activationkey})
response = requests.post('http://yourusername.pythonanywhere.com/validate', data={'username': username, 'password': password})
```
4. If the response is "VALID", start your code!
```py
if response.text == "VALID":
print("Hello, World!")
```
5. Obfuscate your code (optional)
In order to hide your private key and licensing website link, I recommend you obfuscate your code with a python obfuscator. [Hyperion](https://github.com/billythegoat356/Hyperion) is very advanced. Additionally, if you create an executable from your python code it will be difficult to decompile.
If your still having issues join the [discord server](https://tago.works/discord)!
# Discord Bot Usage 🤖
## Member usage
Users in your Discord server can validate their keys by running the command "/validate ACTIVATION-KEY LOGIN PASSWORD".
Any member of you discord server by default will be set to a 30 day cooldown in order to prevent any type of fraud. To change this cooldown you can edit the "'const remainingTime = Math.ceil((30 * 24 * 60 * 60 * 1000 - (Date.now() - lastUsage)) / (1000 * 60 * 60 * 24));" line in `commands/validate.js` to a set amount of milliseconds.
## Owner usage
As the owner, you can remove users cooldowns, add keys, and REMOVE accounts that are registered to a key
* /removecooldown USERID
* /remove ACCOUNT-NAME
* /keyadd KEY
**Note:**
To remove added keys, or to add keys in bulk you need to manually edit the `assets/validkeys.txt` file, making sure that the last key ends with pressing the ENTER key to go down a line.
# Roadmap 🛣️
- [x] Rename project (VLoD -> AKoD)
- [x] Convert bot commands to discord slash applications
- [x] Add checks for invalid account names
- [x] Add catches for when an invalid folder is created
- [x] Add public key functionality
- [X] Add password function
- [X] Add custom API
- [ ] Expand on languages to use AKoDAuth
- [ ] Add expiring method
# License & Information 📃
This project is published under the [MIT license](./LICENSE)
If you are interested in working together, or want to get in contact with me please email me at santiago@tago.works
| Activating Keys on Discord | A simple key authenticator utilizing GitHub and Netlify | customizable,discord-bot,easy-to-use,javascript,netlify,python,authentication,encryption,login-system,key-auth | 2024-03-17T16:48:40Z | 2024-04-28T04:10:42Z | null | 1 | 2 | 166 | 0 | 1 | 2 | null | MIT | Python |
gpproton/astronvim_config | main | # AstroNvim Template
**NOTE:** This is for AstroNvim v4+
A template for getting started with [AstroNvim](https://github.com/AstroNvim/AstroNvim)
## 🛠️ Installation
#### Make a backup of your current nvim and shared folder
```shell
mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
mv ~/.local/state/nvim ~/.local/state/nvim.bak
mv ~/.cache/nvim ~/.cache/nvim.bak
```
#### Create a new user repository from this template
Press the "Use this template" button above to create a new repository to store your user configuration.
You can also just clone this repository directly if you do not want to track your user configuration in GitHub.
#### Clone the repository
```shell
git clone git@github.com:gpproton/astronvim_config ~/.config/nvim
## On Windows
git clone --depth 1 git@github.com:gpproton/astronvim_config $env:LOCALAPPDATA\nvim
```
#### Start Neovim
```shell
nvim
```
| My personal astronvim configuration for developments | astronvim,astronvim-config,csharp,development,dotnet,javascript,react,typescript,vuejs | 2024-04-01T17:41:08Z | 2024-05-03T19:43:37Z | null | 1 | 7 | 22 | 0 | 0 | 2 | null | null | Lua |
CodeOTR/snippets-on-tap | main | # Code on the Rocks
[Code on the Rocks](https://cotr.dev/) is a social network for developers. We provide tools to create, share, edit, and admire code snippets.
# COTR Snippets
If you use VS Code, you can install the [cotr-snippets](https://marketplace.visualstudio.com/items?itemName=CodeontheRocks.cotr-snippets) extension to easily save code snippets from your IDE.
# Snippets on Tap
This repository is updated in real time with new snippets added to the Code on the Rocks database. Each snippet has a title, a description, tags, and a link to the Code on the Rocks website where you can capture screenshots or remix them.
| Code Snippets on Tap 🍻 | awesome-list,cpp,css,dart,education,flutter,golang,html,javascript,learn-to-code | 2024-04-27T22:22:27Z | 2024-04-30T19:44:15Z | null | 1 | 0 | 30 | 0 | 0 | 2 | null | MIT | null |
O12097/asteroids-api | main | # RESTful API for Near-Earth Asteroids
This API provides information about asteroids that are approaching Earth. It retrieves data from the NASA API
and presents it in a user-friendly format that can be easily accessed by client applications.
### Features
- `/asteroids` Endpoint: Get information about asteroids for a specific date.
- GET Method: Retrieves data using the HTTP GET method.
- Error Handling: Handles errors gracefully and provides clear error responses.
### Technologies Used
- Node.js
- Express.js
- Axios
### How to Use
- Clone this repository to your local machine.
- Run the server by executing the command node server.js.
- Access the API via http://localhost:3000/asteroids?date=YYYY-MM-DD, replacing YYYY-MM-DD with the date you want to check for asteroids.
### Contribution
Feel free to create pull requests to improve this API.
### Notes
A valid NASA API key is required to access asteroid data. You can obtain a key by registering on the NASA API https://api.nasa.gov/.
| RESTful API that provides data about asteroids approaching Earth. This API retrieves data from the NASA API and presents it in a format that is easily accessible by clients. | axios,expressjs,javascript,restful-api,nodejs | 2024-04-17T15:27:05Z | 2024-04-17T23:24:34Z | null | 1 | 0 | 4 | 0 | 0 | 2 | null | null | JavaScript |
bonus630/JavascriptAddon | master | # How use
* Place the PopupHtmlAddon folder in " >CorelDrawPrograms< \Addons"
The name of this folder can be changed, but it is necessary to make the change in the AppUI.xslt file as well
* Place CallForm.js in "%appdata%\Corel\ >CorelVersion< \Draw\Scripts"
> <span class="colour" style="color: rgb(255, 64, 67);">It is highly recommended to change all GUIDs for your final product</span>
## Demo
[![Watch the video](screenshots/Demo.gif)](https://youtu.be/qpEy4w7AfDs)
## Screenshots
!["Javascript Form"](screenshots/formBW.png)
| Coreldraw Javascript Macro with Form | coreldraw,form,javascript,macro | 2024-04-08T12:09:32Z | 2024-04-08T12:12:40Z | null | 1 | 0 | 2 | 1 | 0 | 2 | null | null | XSLT |
devllopeadam/Adam-portfolio | master | ![Rest Countries](./src/assets/images/screenshots/Portfolio.png)
# Adam's Portfolio 🫡
This project (Portfolio) is a React application. It aims to provide a modern and customizable design. The project utilizes Vite for fast development, Framer Motion for smooth animations.
## Features 🎉
- **Built with React**: Leveraging React's power for a performant and scalable architecture.
- **Framer Motion for Animations**: Creating engaging animations and transitions.
- **Vite for Speed**: Enjoying fast development and build processes.
- **Tailwind CSS Utility-First Approach**: Rapid styling and streamlined development workflow.
- **Responsive Design**: Ensuring optimal viewing across various devices.
| Adam's Portfolio | animations,css3,framer-motion,html5,javascript,reactjs,tailwindcss,vite | 2024-04-24T21:32:46Z | 2024-05-20T23:44:14Z | null | 1 | 0 | 15 | 0 | 0 | 2 | null | null | JavaScript |
pinuya/Dogs | main | # DOGS
![GitHub repo size](https://img.shields.io/github/repo-size/pinuya/Dogs?style=for-the-badge)
![GitHub language count](https://img.shields.io/github/languages/count/pinuya/Dogs?style=for-the-badge)
![GitHub forks](https://img.shields.io/github/forks/pinuya/Dogs?style=for-the-badge)
![Bitbucket open issues](https://img.shields.io/bitbucket/issues/pinuya/Dogs?style=for-the-badge)
![Bitbucket open pull requests](https://img.shields.io/bitbucket/pr-raw/pinuya/Dogs?style=for-the-badge)
<img align="center" src="https://media.discordapp.net/attachments/1226542179380494359/1238547803605696512/image.png?ex=663faf07&is=663e5d87&hm=e5fae3db2bf5f226c7d90bdc1197a9a46715f01b85d3e958dc9147f62c9a3bb3&=&format=webp&quality=lossless" alt="Imagem de um pug bem bacana.">
> Projeto Dogs foi feito no curso Origamid, e um projeto OpenSource, onde os alunos aprendem a desenvolver um projeto do 0, com consumo de API, validação de login, upload de fotos e uma serie de novas aprendizagens.
### Ajustes e melhorias
O projeto ainda está em desenvolvimento e as próximas atualizações serão voltadas nas seguintes tarefas:
- [x] Foto Delete e animações
- [x] Scroll infinito
- [x] Perfil de Usuario
- [ ] Recuperacao de senha
- [ ] Finalização e deploy
## 💻 Pré-requisitos
Antes de começar, verifique se você atendeu aos seguintes requisitos:
- Você instalou a versão mais recente de `JavaScript / Vite / React`
- Você tem uma máquina `<Windows / Linux / Mac>`.
## 📫 Contribuindo para Projeto Dogs
Para contribuir com projeto Dogs, siga estas etapas:
1. Bifurque este repositório.
2. Crie um branch: `git checkout -b <nome_branch>`.
3. Faça suas alterações e confirme-as: `git commit -m '<mensagem_commit>'`
4. Envie para o branch original: `git push origin <nome_do_projeto> / <local>`
5. Crie a solicitação de pull.
Como alternativa, consulte a documentação do GitHub em [como criar uma solicitação pull](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request).
| Instagram for dogs :D | css3,javascript,reactjs | 2024-04-23T20:58:11Z | 2024-05-11T16:54:47Z | null | 1 | 0 | 50 | 0 | 0 | 2 | null | null | JavaScript |
0ctanium/problem-js | main | packages/problem-js/README.md | Problem-js is a JavaScript integration for the Problem Details for HTTP APIs standard (RFC 9457) | error-handling,errors,errors-exception-handling,exceptions,exceptions-handling,javascript,middleware,rfc-9457,typescript | 2024-03-18T09:13:55Z | 2024-03-18T10:32:12Z | null | 1 | 0 | 11 | 0 | 0 | 2 | null | MIT | TypeScript |
Sithumsankajith/crush-saga | main | # Crush Saga
Crush Saga is a fun and addictive match-three game inspired by Candy Crush. Swap adjacent candies to make a row or column of three or more matching candies, and watch them disappear as you earn points. With colorful graphics and engaging gameplay, Crush Saga is sure to keep you entertained for hours!
![Alt text](crushsagaplay.png)
## Features
- Match-three gameplay: Swap candies to make matches and earn points.
- Colorful graphics: Enjoy vibrant colors and animations.
## How to Play
1. Swap adjacent candies to make a row or column of three or more matching candies.
2. Earn points and stars based on your performance.
## Technologies Used
- HTML
- CSS
- JavaScript
## How to Run the Game Locally
1. Clone this repository to your local machine.
2. Open the `index.html` file in your web browser.
3. Start playing Crush Saga!
## Demo
[Play Crush Saga](https://sithumsankajith.github.io/crush-saga/)
| Crush Saga is a match-three game. It is inspired by the popular game Candy Crush and features similar gameplay mechanics. | game,javascript,webgames,css,html | 2024-03-26T07:26:47Z | 2024-03-26T17:22:03Z | null | 1 | 0 | 20 | 0 | 0 | 2 | null | MIT | JavaScript |
LakshayD02/Rapid-Chat_Whatsapp | main | # Rapid-Chat_Whatsapp
Rapidchat, Rapid WhatsApp is a React-based project designed to streamline the initiation of conversations on WhatsApp without the need to save contacts in your phone's directory.
The project allows users to enter a phone number directly into the app, click on "chat," and then be taken directly to that person's WhatsApp chat window without the need to save their number in their phone's contacts list. Additionally, Rapid WhatsApp includes the ability to save contacts directly in your browser's local storage. The WhatsApp API serves as the backbone of the website's functionality, enabling the generation of links or triggers that initiate conversations with specific phone numbers, enhancing user convenience and efficiency in initiating conversations on the popular messaging platform.
Deployed Link - https://rapid-chat-whatsapp.vercel.app/
| Rapidchat, Rapid WhatsApp is a React-based project designed to streamline the initiation of conversations on WhatsApp without the need to save contacts in your phone's directory. | css,css3,html,html5,javascript,react,react-hooks,react-router,whatsapp,whatsapp-api | 2024-03-30T17:28:43Z | 2024-03-30T18:28:50Z | null | 1 | 0 | 10 | 0 | 0 | 2 | null | null | JavaScript |
christianjtr/svelte-pokedex-pwa | master | # My Pokédex PWA application
Proof of concept aimed at putting into practice Svelte as a technology.
> [!NOTE]
> ❤️ Feel free to add any improvements or suggestions you consider.
> - **Inspiration from:**
> - [LocalStorage with TTL Expiration](https://www.sohamkamani.com/javascript/localstorage-with-ttl-expiry/)
> - [Pokédex CSS by Bidji](https://codepen.io/Bidji/pen/MYdPwo)
1. [Goals](#001)
2. [Tech Stack](#002)
3. [Tech specs](#003)
4. [Installation and running the project](#004)
5. [Samples](#005)
6. [Next steps](#006)
<a name="001"></a>
### 🎯 Goals
- Create an application **(PWA)** that displays Pokémons and its stats.
- Integrate the **[The Pokémon API - PokéAPI](https://pokeapi.co/)** to the application.
- Use of **Plotly charts** to display stats.
- Add the capability of listening to the Pokémon description using the **SpeechSynthesis API**.
- Use browser's **LocalStorage** as a means of data persistence.
#### Features
- Being able to install the application on mobile devices/browser devices. **(PWA support)**.
- Get paginated resources by setting a **limit and an offset** criteria.
- Persist data by storing responses in browsers's LocalStorage. **Default time to live (TTL): 5 days.**
- Look for resources given an identifier (Pokémons given a name).
- Display stats using a **scatter polar chart**.
- Listen to the Pokémon's description by using the **SpeechSynthesis API**.
<a name="002"></a>
### Tech Stack
- **Front-end**
- [Svelte](https://svelte.dev/)
- [Vite](https://vitejs.dev/)
- [SvelteKit Vite PWA](https://vite-pwa-org.netlify.app/)
- [Bulma CSS](https://bulma.io/)
- **Charts**
- [Plotly JavaScript Open Source Graphing Library
](https://plotly.com/javascript/)
- **Web APIs**
- [LocalStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)
- [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)
<a name="003"></a>
### Tech specs
> From Sveltve+Vite default template
#### Svelte + Vite
This template should help get you started developing with Svelte in Vite.
#### Recommended IDE Setup
[VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).
#### Need an official Svelte framework?
Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also powered by Vite. Deploy anywhere with its serverless-first approach and adapt to various platforms, with out of the box support for TypeScript, SCSS, and Less, and easily-added support for mdsvex, GraphQL, PostCSS, Tailwind CSS, and more.
#### Technical considerations
**Why use this over SvelteKit?**
- It brings its own routing solution which might not be preferable for some users.
- It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app.
This template contains as little as possible to get started with Vite + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project.
Should you later need the extended capabilities and extensibility provided by SvelteKit, the template has been structured similarly to SvelteKit so that it is easy to migrate.
**Why `global.d.ts` instead of `compilerOptions.types` inside `jsconfig.json` or `tsconfig.json`?**
Setting `compilerOptions.types` shuts out all other types not explicitly listed in the configuration. Using triple-slash references keeps the default TypeScript setting of accepting type information from the entire workspace, while also adding `svelte` and `vite/client` type information.
**Why include `.vscode/extensions.json`?**
Other templates indirectly recommend extensions via the README, but this file allows VS Code to prompt the user to install the recommended extension upon opening the project.
**Why enable `checkJs` in the JS template?**
It is likely that most cases of changing variable types in runtime are likely to be accidental, rather than deliberate. This provides advanced typechecking out of the box. Should you like to take advantage of the dynamically-typed nature of JavaScript, it is trivial to change the configuration.
**Why is HMR not preserving my local component state?**
HMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the details [here](https://github.com/sveltejs/svelte-hmr/tree/master/packages/svelte-hmr#preservation-of-local-state).
If you have state that's important to retain within a component, consider creating an external store which would not be replaced by HMR.
```js
// store.js
// An extremely simple external store
import { writable } from 'svelte/store'
export default writable(0)
```
<a name="004"></a>
### Installation and running the project
The project requires:
- [NodeJS](https://nodejs.org/)
**Clone the repository:**
```shell
git clone https://github.com/christianjtr/svelte-pokedex-pwa.git
```
**Scripts:**
Before executing these scripts, you must run **npm install** in the directory you just downloaded/cloned the codebase.
```shell
# Development mode
> npm run dev
# Build mode
> npm run build
# Others, refer to package.json file
# ...
```
<a name="005"></a>
### Samples
##### Live demo
Click on the following link [GitHub page project](https://christianjtr.github.io/svelte-pokedex-pwa).
##### Preview
<p align="center">
<img src="https://github.com/christianjtr/svelte-pokedex-pwa/blob/develop/samples/demo_compressed.gif" alt="gif-demo"/>
</p>
##### Home page preview
![](./samples/pokedex_main.png)
##### Detail page preview
![](./samples/pokedex_detail.png)
<a name="006"></a>
### Next steps
- Improve responsiveness (Lighthouse performance review).
- Better implement Svelte-way of develop applications. | This project is a progressive web application (PWA) built using Svelte, a modern JavaScript framework. It leverages the Pokémon API to provide a comprehensive and engaging Pokédex experience, data persistence with LocalStorage, the SpeechSynthesis API for listening to descriptions, and Plotly charts. | bulma-css,javascript,localstorage,plotly-graph-objects,pokemon-api,pwa,speech-synthesis,svelte,sveltekit,vite | 2024-03-26T21:44:54Z | 2024-03-31T16:06:47Z | null | 1 | 11 | 69 | 0 | 1 | 2 | null | null | Svelte |
msurdi/remix-i18n-example | main | # Remix translations example
This is an example of a possible approach to implementing translations in a [Remix](https://remix.run/) application.
Key takeaways:
* No external dependencies other than [react-string-replace](https://www.npmjs.com/package/react-string-replace) for doing interpolations.
* Easy to adapt to your own needs given it is using just Remix primitives.
* Can translate strings in React components, in Remix actions/loaders/etc and in any backend Node module.
* Translations are loaded only once, bundled with the initial HTML payload together with the the rest of the loader's data and then cached on client navigations, until a full page reload is done.
* The message strings can have any value interpolated, including other React components.
## Trying it out
1. Run `npm install`
2. Run `npm run dev`
| I18n example for Remix without large external dependencies | i18n,javascript,react,remix | 2024-03-20T06:17:51Z | 2024-04-14T06:36:21Z | null | 1 | 0 | 9 | 0 | 0 | 2 | null | null | JavaScript |
ashishshres/Countdown-Timer | main | # Countdown Timer🕒
![](./demo.gif)
| Countdown Timer App using JavaScript | css,dom-manipulation,events,gradient,html,javascript | 2024-04-12T11:55:42Z | 2024-04-15T02:25:01Z | null | 1 | 0 | 15 | 0 | 0 | 2 | null | null | JavaScript |
yongvuthivann/nextjs-app-boilerplate | main | ## Getting Started
First, install packages:
```bash
pnpm install
```
Second, run the development server
```bash
pnpm dev
```
| null | javascript,nextjs,reactjs,tailwindcss,typescript,eslint,husky,prettier,shadcn-ui,next-themes | 2024-04-09T03:49:00Z | 2024-04-15T15:14:52Z | 2024-04-15T15:14:52Z | 2 | 8 | 19 | 0 | 0 | 2 | null | null | TypeScript |
Detroja-Jenish/web-ui-components | main | null | This repo for cool Web Ui Components with layouting, trendy hover transition | 3d-animation,animation,bentobox,css-flexbox,css-grid,css3,dom-manipulation,hover-effects,html5,javascript | 2024-04-14T05:29:16Z | 2024-04-15T10:07:38Z | null | 1 | 0 | 3 | 0 | 0 | 2 | null | null | HTML |
xionhub/fsd-prettier | main | # @xionhub/fsd-prettier
Beautifully changes the import configuration of a project configured with Feature-Sliced Design
You can refer to actual example projects applying this library at [@xionhub/fsd-example repository](https://github.com/xionhub/fsd-example).
## Overview
@xionhub/fsd-prettier follows Feature-Sliced Design rules and formats all imports in the same order as the mental model of the Feature-Sliced Design.
### **example:**
**before**
```ts
import { featuresexample } from "~/features/example";
import { appexample } from "~/app/example";
import { useRouter } from "next/navigation";
import { entitiesexample } from "~/entities/example";
import React from "react";
import { pagesexample } from "~/pages/example";
import Image from "next/image";
import { sharedexample } from "~/shared/example";
import { widgetsexample } from "~/widgets/example";
```
**after**
```ts
import Image from "next/image";
import { useRouter } from "next/navigation";
import React from "react";
import { appexample } from "~/app/example";
import { pagesexample } from "~/pages/example";
import { widgetsexample } from "~/widgets/example";
import { featuresexample } from "~/features/example";
import { entitiesexample } from "~/entities/example";
import { sharedexample } from "~/shared/example";
```
@xionhub/fsd-prettier takes all 3rd party imports and places the fsd component underneath them.
At this time, the import order and names of fsd components are exactly the same as the picture below.
![feature-sliced-design](./docs/images/feature-sliced-design.jpg)
## Installation
To install the @xionhub/fsd-prettier @xionhub/fsd-typescript in your project, use the following command:
```
npm install -D @xionhub/fsd-prettier @xionhub/fsd-typescript @trivago/prettier-plugin-sort-imports prettier
```
```
pnpm install -D @xionhub/fsd-prettier @xionhub/fsd-typescript @trivago/prettier-plugin-sort-imports prettier
```
```
yarn add -D @xionhub/fsd-prettier @xionhub/fsd-typescript @trivago/prettier-plugin-sort-imports prettier
```
## Usage
### Basic Case Guide
If you use npm, yarn classic, or pnpm, follow these instructions:
Create the following in the root of your project:
.prettierrc.js
```js
{
...require("@xionhub/fsd-prettier"),
//...and your personal settings
}
```
@xionhub/fsd-prettier depends on the path alias.
Add the following settings to the path section of tsconfig.json:
```json
"extends": ["@xionhub/fsd-typescript"],
"compilerOptions": {
"baseUrl": ".",
},
```
baseUrl and extends are very important.
BaseUrl should be based on where your src folder is located (usually ".")
@xionhub/fsd-prettier may seem violent, but it assumes that your project's fsd structure will exist in the src folder.
@xionhub/fsd-prettier expects the structure of your Feature-Sliced Design project to look like this:
Modify the project structure as follows, or if you don't like it, refer to the **Advanced Guide** and create your own customization rules.
```
src
app
your-folder
your-folder
...lot of other foler
pages
your-folder
your-folder
...lot of other foler
widgets
your-folder
your-folder
...lot of other foler
features
your-folder
your-folder
...lot of other foler
entities
your-folder
your-folder
...lot of other foler
shared
your-folder
your-folder
...lot of other foler
```
### PnP Guide
PnP often does not resolve the path of a shared configuration library such as @xionhub/fsd-prettier well.
If you are using PnP functionality in your project, please follow these instructions:
```
yarn add -D @xionhub/fsd-prettier @trivago/prettier-plugin-sort-imports prettier
yarn unplug @xionhub/fsd-prettier
yarn unplug @xionhub/fsd-typescript
yarn unplug @trivago/prettier-plugin-sort-imports
yarn dlx @yarnpkg/sdks vscode
```
If you've done all that, now follow the instructions in the Basic Case Guide
### Testing
```
npx prettier --write .
yarn dlx pretteir --write .
```
prettier --write "path or filename" is a way to set a file to be formatted with prettier through the cli command.
This allows you to quickly check whether @xionhub/fsd-prettier is well integrated into your project.
## Advanced Guide
@xionhub/fsd-prettier is not magic.
Using TypeScript and the prettier @tivago/prettier-plugin-sort-imports
You can create custom configurations that behave identically to this library.
This library just provides ideas.
For example this is all the configuration from @xionhub/fsd-typescript:
```
{
"compilerOptions": {
"paths": {
"~/app/*": ["./src/app/*"],
"~/processes/*": ["./src/processes/*"],
"~/pages/*": ["./src/pages/*"],
"~/widgets/*": ["./src/widgets/*"],
"~/features/*": ["./src/features/*"],
"~/entities/*": ["./src/entities/*"],
"~/shared/*": ["./src/shared/*"],
"~/*": ["./*"]
}
}
}
```
Through paths, you can notice that all you have to do is modify the path you want to use the mapping method you want.
Now, if you have specified the type of import statement through paths in typescript, you can set the order based on this.
Define your own customization rules by following [@trivago/prettier-plugin-sort-imports](https://github.com/trivago/prettier-plugin-sort-imports).
## Maintainers
[@XionWCFM](https://github.com/XionWCFM)
## License
MIT
| 🍰Feature sliced design prettier shared configuration | javascript,prettier,feature-sliced-design | 2024-04-03T16:41:48Z | 2024-04-08T05:46:54Z | null | 1 | 0 | 20 | 0 | 0 | 2 | null | MIT | JavaScript |
LuizEdu-AR/html-css-javascript-course | main | # html-css-javascript-course | Repository containing codes from the Basic Frontend course (html, css and javascript) | css3,html-css-javascript,html5,javascript | 2024-04-26T16:44:06Z | 2024-04-26T16:47:50Z | null | 1 | 0 | 2 | 0 | 0 | 2 | null | null | HTML |
parthamk/Feedback-Collection-System | main |
# Feedback Collection System
### How to run this application in localhost:
You need to have latest version of nodejs and mongodb community server installed.
1. Clone the repository with this command:
`git clone https://github.com/parthamk/Feedback-Collection-System.git`
2. Once cloned get into the directory:
`cd Feedback-Collection-System`
3. To run server use these commands
`cd server`
`npm i`
`npm start`
4. To run the fronend use these commands
`cd frontend`
`npm i`
`npm run dev`
### Technology used to create the application are
* Frontend
* Vitejs
* tailwindcss
* libraries:
* react-router-dom
* react-hot-toast
* axios
* Backend
* Nodejs
* mongodb
* libraries:
* express.js
* mongoose
* nodemon
* cors
* bcryptjs
* dotenv
* jsonwebtoken
### File structure
```
└── 📁Feedback-Collection-System
└── 📁backend
└── .env
└── .gitignore
└── 📁controllers
└── sampleController.js
└── 📁models
└── Sample.js
└── package-lock.json
└── package.json
└── 📁routes
└── sampleRoutes.js
└── server.js
└── 📁frontend
└── .eslintrc.cjs
└── .gitignore
└── index.html
└── package-lock.json
└── package.json
└── postcss.config.js
└── 📁public
└── vite.svg
└── README.md
└── 📁src
└── App.css
└── App.jsx
└── 📁assets
└── react.svg
└── 📁components
└── Form.jsx
└── RequireAuth.jsx
└── index.css
└── main.jsx
└── 📁pages
└── 📁dashboard
└── Dashboard.jsx
└── Home.jsx
└── Profile.jsx
└── Login.jsx
└── Register.jsx
└── tailwind.config.js
└── vite.config.js
└── package-lock.json
└── README.md
└── 📁server
└── .env
└── .gitignore
└── 📁controllers
└── authController.js
└── fromController.js
└── index.js
└── 📁models
└── authModel.js
└── formModel.js
└── package-lock.json
└── package.json
└── 📁routes
└── authRoutes.js
└── formRoute.js
```
| Zidio Internship Project 1 | javascript,react,react-router-dom,vitejs | 2024-04-26T18:27:28Z | 2024-05-15T16:08:09Z | null | 4 | 16 | 58 | 0 | 1 | 2 | null | null | JavaScript |
Abshir112/Sports-Union | main | # Sports Union
Sports Union is a web application designed to help university students stay connected with sports activities on campus. The platform provides a centralized hub where students can explore and participate in upcoming sports events, fostering a community of inclusivity, accessibility, and enthusiasm for sports.
## Table of Contents
- [Sports Union](#sports-union)
- [Table of Contents](#table-of-contents)
- [Features](#features)
- [Tech Stack](#tech-stack)
- [Deployed Application](#deployed-application)
- [Installation Guide](#installation-guide)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)
## Features
- User Registration and Login
- Create, Edit, and Delete Events
- View and Register for Events
- Admin Dashboard for Managing Users and Events
- Notifications for Upcoming Events
- Responsive Design Compatible with Various Devices
## Tech Stack
- **Frontend**: React.js, Material UI, Vite
- **Backend**: Node.js, Express.js
- **Database**: MongoDB
- **Version Control**: Git and GitHub
- **Communication**: Discord
- **Design**: Figma, Lucidchart
- **Authentication**: JWT (JSON Web Tokens)
## Deployed Application
You can access the deployed application at [Sports Union](https://sports-union.onrender.com/).
## Design page on Figma
You can view the design for all pages at [Figma](https://www.figma.com/design/iAEBH2D7RQWcpzFFZfVuvT/HkIF?node-id=251-31&t=kVlOcphMkyzPjI7s-0)).
## Installation Guide
Follow these steps to set up the project locally.
1. **Clone the repository**
```bash
git clone https://github.com/Abshir112/Sports-Union.git
```
2. **Change to the project directory**
```bash
cd Sports-Union
```
3. **Install Backend Dependencies**
```bash
cd Backend
npm install
```
4. **Create a `.env` file in the backend directory and add the following**
```env
PORT=3000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key
```
5. **Go back to the root directory**
```bash
cd ../
```
6. **Install Frontend Dependencies**
```bash
cd Frontend
npm install
```
7. **Go back to the root directory**
```bash
cd ../
```
8. **Install concurrently to run both server and client**
```bash
npm install concurrently
```
9. **Run the application**
```bash
npm start
```
10. **Open your browser**
- Navigate to `http://localhost:3000` to see the server running
- Navigate to `http://localhost:8080` to see the client running
## Usage
Once the application is running, you can register as a new user or log in with existing credentials. Depending on your role (admin or user), you will have different functionalities available:
- **Users**: View and register for sports events.
- **Admins**: Manage users, create and manage events, view registered participants.
## Contributing
Contributions are welcome! Please follow these steps:
1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes.
4. Commit your changes (`git commit -m 'Add some feature'`).
5. Push to the branch (`git push origin feature-branch`).
6. Open a pull request.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Contact
Feel free to reach out to any of the contributors for more information or if you have any questions.
Contributors:
- [Abshir Muhumed Abdi](https://github.com/Abshir112)
- [Ahmed Saber Elsayed Radwan](https://github.com/ahmedradwancs)
- [Jwan Mardini](https://github.com/JwanMardini)
- [Lakshmi Vishal Hayagriven](https://github.com/lakshmivishal9496)
- [Mohamad Alloush](https://github.com/Alloush95)
---
Made with ❤️ by the Sports Union Development Team at Kristianstad University.
| Welcome to the Sports Union HKIF project! This application is designed to streamline the management and participation of sports activities and events for the HKIF community. It aims to provide a seamless experience for users to register for activities, track their participation, and stay informed about upcoming events. | api,backend,frontend,fullstack,javascript,material-ui,react,restful-api | 2024-04-15T09:15:52Z | 2024-05-22T11:19:29Z | null | 5 | 34 | 473 | 0 | 1 | 2 | null | MIT | JavaScript |
kuki477/Snake | main | null | GRA W SNAKE | javascript,snake,snake-game,snakegame | 2024-03-20T05:24:29Z | 2024-03-25T16:09:09Z | 2024-03-20T05:28:03Z | 1 | 0 | 8 | 0 | 0 | 2 | null | null | JavaScript |
RafaRz76Dev/stackX-project-landing-page | master | null | Criação de um Projeto-Landing-Page e o intuito é promover um “Serviço” diferenciado, com soluções voltado para tecnologia. Ao interagir com o projeto poderá me contactar pelo whatssap ou e-mail. Aplicadas as principais stacks => HTML, CSS, Java-Script e o framework “Bootstrap”!!! | bootstrap,css3,html5,javascript | 2024-03-26T23:29:56Z | 2024-04-01T21:07:11Z | null | 1 | 0 | 6 | 0 | 0 | 2 | null | MIT | HTML |
Sahaj19/js-interview-prep | main | # js-interview-prep | notes & codes | javascript | 2024-03-18T06:23:25Z | 2024-04-06T17:53:30Z | null | 1 | 0 | 23 | 0 | 1 | 2 | null | null | null |
SH20RAJ/react-hooksh | main | ## 🎣 Reeling in React Hooks
**Introduction:**
Ahoy, React developers! 🌊 Are you ready to dive into the ocean of React Hooks? 🎣 If you've been wondering how to add some serious magic to your functional components, you're in the right place. 🪄 Let's sail through the basics together and get you hooked on Hooks! ⚓️
---
**🎣 Reeling in `useState`: Catching State in Functional Components**
Imagine you're building a simple counter. 🎯 In the old days, you'd need a class component to handle state. But now, with `useState`, it's as easy as pie in a functional component!
```javascript
import React, { useState } from 'react';
function Counter() {
const [count, setCount] = useState(0); // 🎣 Catching the count!
return (
<div>
<p>You clicked {count} times</p>
<button onClick={() => setCount(count + 1)}>Click me</button>
</div>
);
}
```
Now you've got a `count` state that updates when you click that button! 🎉
---
**🌟 Casting `useEffect`: Side Effects Made Simple**
Sometimes you need to do something after your component renders, like fetching data or setting up a timer. 🕰 That's where `useEffect` comes in!
```javascript
import React, { useState, useEffect } from 'react';
function Timer() {
const [seconds, setSeconds] = useState(0);
useEffect(() => {
const interval = setInterval(() => {
setSeconds(seconds + 1); // 🌟 Updating the seconds!
}, 1000);
return () => clearInterval(interval); // 🌊 Cleaning up the interval
}, [seconds]); // 🌟 Re-running when seconds change
return (
<div>
<p>Timer: {seconds}s</p>
</div>
);
}
```
Voila! 🎩 Now you have a timer that ticks away with `useEffect` magic!
---
**🎨 Painting with `useContext`: Coloring Your Components**
Ever wanted to avoid prop drilling for global data? 🎨 `useContext` to the rescue!
```javascript
import React, { useContext } from 'react';
const ThemeContext = React.createContext('light');
function ThemeButton() {
const theme = useContext(ThemeContext); // 🎨 Grabbing the theme!
return <button style={{ background: theme }}>Themed Button</button>;
}
function App() {
return (
<ThemeContext.Provider value="dark">
<ThemeButton />
</ThemeContext.Provider>
);
}
```
Now you've got a themed button without passing props all the way down! 🚀
---
**🔧 Crafting with `useReducer`: A Redux Alternative**
For more complex state management, `useReducer` is your tool! 🛠
```javascript
import React, { useReducer } from 'react';
const initialState = { count: 0 };
function reducer(state, action) {
switch (action.type) {
case 'increment':
return { count: state.count + 1 };
case 'decrement':
return { count: state.count - 1 };
default:
throw new Error();
}
}
function Counter() {
const [state, dispatch] = useReducer(reducer, initialState);
return (
<div>
Count: {state.count}
<button onClick={() => dispatch({ type: 'increment' })}>+</button>
<button onClick={() => dispatch({ type: 'decrement' })}>-</button>
</div>
);
}
```
Now you can manage complex state logic with ease! 💪
---
**🔍 Peeking with `useRef`: Getting a Closer Look**
Need to access a DOM element directly? 🔍 `useRef` is your magnifying glass!
```javascript
import React, { useRef } from 'react';
function TextInputWithFocusButton() {
const inputEl = useRef(null); // 🔍 Peeking at the input element!
const onButtonClick = () => {
inputEl.current.focus(); // 🔍 Focusing the input!
};
return (
<div>
<input ref={inputEl} type="text" />
<button onClick={onButtonClick}>Focus the input</button>
</div>
);
}
```
With `useRef`, you've got direct access to DOM elements! 🎯
---
**⚡️ Conclusion: Your Hooked Journey Begins!**
Armed with these simple yet powerful React Hooks, you're ready to rock your functional components! ⚡️ Whether it's managing state, handling side effects, or accessing DOM elements, React Hooks have you covered. 🚀 So dive in, explore, and let your React apps flourish with the magic of Hooks! 🌟 Happy coding! 🎉
---
Now you're all set to catch some React Hooks! 🎣 Keep this guide close as you navigate the seas of React development! 🌊 Let me know if you have any questions or need more bait for your React adventures! 😉
---
### Practice Time
{% stackblitz react-hooksh %} | 🎣 Reeling in React Hooks | javascript,react,reacthooks,reactjs | 2024-04-08T09:41:33Z | 2024-04-08T09:41:40Z | null | 1 | 0 | 1 | 0 | 0 | 2 | null | null | JavaScript |
skydrige/MyPortfolio | master | # MyPortfolio
> **A Portfolio of CyberSecurity Enthusiast** | **Click the Image to get _Guide_ and _Resourses_**
[![My Portfolio](https://raw.githubusercontent.com/skydrige/skydrige.github.io/master/Images/MyPortfolio.png "My Portfolio")](https://github.com/skydrige/skydrige.github.io/releases/tag/MyPortfolio)
© copyright 2024 [skydrige](https://github.com/skydrige)
| A Cyber Security Enthusiast Portfolio | cybersecurity,git,homepage,javascript,mui-material,node-js,nodejs,npm,react,react-components | 2024-03-23T11:42:42Z | 2024-04-20T21:19:08Z | 2024-03-23T14:49:56Z | 1 | 0 | 18 | 0 | 0 | 2 | null | GPL-3.0 | JavaScript |
mikezzb/reading-list-manager | main | # Reading List Manager: Set Expiry for Links
![build](https://github.com/mikezzb/reading-list-manager/workflows/build/badge.svg)
Effortlessly set expiry dates for your Chrome Reading List links. Automatically remove expired links with ease.
<img src="assets/screenshot.png" alt="screenshot" width="50%">
## Prerequisites
* [node + npm](https://nodejs.org/) (Current Version)
## Setup
```
npm install
```
## Build
```
npm run build
```
## Watch
```
npm run watch
```
## Load extension to chrome
Load `dist` directory
## Test
`npx jest` or `npm run test`
| A browser extension that sets expiry dates for your Browser Reading List links and automatically removes expired ones. | bookmarks,browser-extension,chrome-extension,css,extension,javascript,react,reading-list,styled-components,typescript | 2024-04-06T09:34:10Z | 2024-04-07T01:24:09Z | null | 1 | 0 | 11 | 0 | 0 | 2 | null | MIT | TypeScript |
bestmat-inc/bestarivu | main | # bestarivu
A general AI created by BestMat, inc.
| A general AI created by BestMat, inc. | ai,bestdeveloper,bestmat,general-ai,javascript,python | 2024-04-29T06:46:45Z | 2024-04-30T07:14:04Z | null | 3 | 1 | 11 | 0 | 0 | 2 | null | MIT | Python |
rxjpatil/JavaScript-learn-from-scratch | main | # JavaScript Learning Journey 📚
Welcome to my GitHub repository, where I'm learning JavaScript from scratch! This repo is designed to document my progress and serve as a resource for others who want to learn the basics of JavaScript. Below, you'll find an outline of the repository's structure and how you can use it to kickstart your own JavaScript learning journey.
## Table of Contents
1. [Introduction](#introduction)
2. [Folder Structure](#folder-structure)
3. [Getting Started](#getting-started)
4. [Learning Resources](#learning-resources)
5. [Contributing](#contributing)
6. [Contact](#contact)
## Introduction
This repository is a record of my journey as I learn JavaScript from the ground up. It contains code snippets, exercises, and notes on key concepts. My goal is to create a comprehensive learning resource that can help others understand JavaScript fundamentals.
## Folder Structure
- **/01_basics**: Contains code snippets and examples demonstrating basic JavaScript concepts like variables, loops, and functions.
- **/projects**: A collection of small projects that apply basic concepts to solve simple problems.
- **/notes**: My notes on various topics in JavaScript, including explanations of key concepts, common pitfalls, and useful tips.
- **/resources**: Links to tutorials, courses, and other learning materials that I found helpful.
## Getting Started
If you're new to JavaScript, here's how you can use this repository to start learning:
1. **Explore the Basics**: Check out the `/basics` folder to understand fundamental concepts like data types, conditionals, and functions.
2. **Practice with Projects**: Head to the `/projects` folder to see examples of how these concepts are used in small-scale projects.
3. **Read the Notes**: The `/notes` folder contains additional explanations and clarifications that can deepen your understanding.
4. **Use External Resources**: Visit the `/resources` folder to find additional learning materials that complement the content in this repository.
## Learning Resources
Here are some external resources that I found helpful during my learning journey:
- [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript): Comprehensive documentation on JavaScript and related technologies.
- [JavaScript.info](https://javascript.info/): A detailed guide covering a wide range of JavaScript topics.
- [FreeCodeCamp](https://www.freecodecamp.org/): A platform offering interactive tutorials and exercises for learning JavaScript.
## Contributing
I welcome contributions to this repository! If you have suggestions for improvement, additional examples, or corrections, please feel free to open an issue or submit a pull request. Let's build this resource together.
## Contact
If you have any questions or want to connect with me, you can reach me at [rxjpatil@gmail.com](mailto:rxjpatil@gmail.com).
Happy coding! 💻
| Welcome to JavaScript-learn-from-scratch! This repository is a beginner-friendly guide to learning JavaScript. Get Involved! Feel free to ask questions, give feedback, and contribute as you learn with t | javascript | 2024-04-30T11:23:50Z | 2024-05-04T19:15:52Z | null | 1 | 0 | 32 | 0 | 1 | 2 | null | null | JavaScript |
0xelsherif/Search-Text-Highlighter | main | <p align="center">
<a href="https://github.com/0xelsherif/Search-Text-Highlighter"><img src="https://img.shields.io/github/repo-size/0xelsherif/Search-Text-Highlighter?style=social&logo=github"></a>
<a href="https://github.com/0xelsherif/Search-Text-Highlighter"><img src="https://img.shields.io/github/stars/0xelsherif/Search-Text-Highlighter.svg?style=social&label=Star" alt="GitHub Stars"></a>
<a href="https://github.com/0xelsherif/Search-Text-Highlighter"><img src="https://img.shields.io/github/forks/0xelsherif/Search-Text-Highlighter.svg?style=social&label=Fork" alt="GitHub Forks"></a>
<a href="https://github.com/0xelsherif/Search-Text-Highlighter/discussions"><img src="https://img.shields.io/github/discussions/0xelsherif/Search-Text-Highlighter?style=social&logo=github" alt="GitHub Discussions"></a>
<a href="https://github.com/0xelsherif/Search-Text-Highlighter/issues"><img src="https://img.shields.io/github/issues/0xelsherif/Search-Text-Highlighter?style=social&logo=github" alt="GitHub Issues"></a>
<a href="https://codepen.io/0xelsherif/full/ZEZJOLP" target="_blank"><img src="https://img.shields.io/badge/CodePen-Project-blue?logo=codepen" alt="CodePen Project"></a>
<a href="https://0xelsherif.medium.com/building-a-text-highlighting-tool-for-web-pages-step-by-step-guide-839a9b0aa24c" target="_blank"><img src="https://img.shields.io/badge/Medium-Publication-green?logo=medium" alt="Medium Publication"></a>
</p>
# Search Text Highlighter
This is a simple web application that allows users to search for specific text within a paragraph and highlights all occurrences of the searched text.
## Features
- Input field to enter the text you want to search for.
- Clickable button to initiate the search.
- Automatic highlighting of all matches within the paragraph.
- Display of the number of matches found.
- Feedback message indicating whether any results were found.
## Instructions
1. Enter the text you want to search for in the input field labeled "Search...".
2. Click the "Search" button to initiate the search.
3. Matches will be highlighted in yellow within the paragraph.
4. The number of matches found will be displayed above the paragraph.
5. If no matches are found, a message in red will indicate this.
## How It Works
- The application uses JavaScript to perform a search within the paragraph element.
- It utilizes regular expressions to find all occurrences of the searched text, ignoring case sensitivity.
- Matches are then highlighted using HTML `<mark>` tags.
- The application provides visual feedback to the user based on the search results.
## Technologies Used
- HTML
- CSS
- JavaScript
## How to Run
### Option 1: Download ZIP
1. Download the ZIP file from the [GitHub repository](https://github.com/0xelsherif/Search-Text-Highlighter).
2. Extract the ZIP file to your desired location.
3. Open the extracted folder.
4. Double-click the `index.html` file to open it in a web browser.
### Option 2: Clone the Repository
1. Clone the repository using the following command in your terminal or command prompt:
```
git clone https://github.com/0xelsherif/Search-Text-Highlighter.git
```
2. Navigate to the cloned directory:
```
cd Search-Text-Highlighter
```
3. Open the `index.html` file in a web browser.
## Preview
![URL Search Text Highlighter](preview.png)
## Support and Contributions
If you find this project useful or interesting, consider giving it a star ⭐ on GitHub and spreading the word! Your support means a lot to me and helps in maintaining and improving the project.
If you'd like to contribute to the project, whether it's fixing bugs, adding new features, or improving documentation, feel free to open a pull request. Contributions of all kinds are welcome!
## Follow Me
Follow me on GitHub to stay updated with my latest projects and contributions:
[![Follow me on GitHub](https://img.shields.io/github/followers/0xelsherif?label=Follow&style=social)](https://github.com/0xelsherif)
<a href="https://twitter.com/intent/follow?screen_name=0xelsherif"><img alt="Follow @0xelsherif on Twitter" src="https://img.shields.io/twitter/follow/0xelsherif"></a>
[![Connect with @0xelsherif on LinkedIn](https://img.shields.io/badge/LinkedIn--blue?style=social&logo=linkedin)](https://www.linkedin.com/in/0xelsherif)
[![Follow @0xelsherif on Medium](https://img.shields.io/badge/Medium--black?style=social&logo=medium)](https://medium.com/@0xelsherif)
[![Follow @0xelsherif on Codepen](https://img.shields.io/badge/Codepen--black?style=social&logo=codepen)](https://codepen.io/0xelsherif)
### Buy Me a Coffee ☕
If you'd like to support the development of this project further or express your appreciation with a small gesture, consider buying me a coffee! Your support helps keep me fueled for more coding sessions. Thank you for your support!
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/0xelsherif)
| A simple text search and highlight tool that allows users to enter a search query and find matching text within a paragraph. The matching text is highlighted, and the number of results is displayed. If no matches are found, a message indicating so is shown. | highlight,highlighter,highlighting,javascript,search,searching,codesnippets | 2024-03-31T01:03:00Z | 2024-05-02T02:12:55Z | null | 1 | 0 | 10 | 0 | 0 | 2 | null | null | HTML |
CStre/PORTFOLIO | main | # Professional Portfolio
## Project Overview
<strong>This repository is the backbone of a major full-stack web development project, crafted specifically to be the highlight of my resume portfolio. It uses the MEAN stack (MongoDB, Express.js, Angular, Node.js) to showcase a wide range of abilities and experiences in web development. The project not only demonstrates skills in building and managing websites but also covers a variety of Computer Science fundamentals, from basic systems design to complex algorithms. This diverse expertise reflects a well-rounded understanding of the digital world, making this portfolio a true representation of my professional journey in web development and computer science.
<p align="center">
<img src="./logos/logo.png" alt="Project Logo" width="200"/>
</p>
## Project Updates
<details>
<summary>4/12/2024</summary>
- Currently focusing on deploying the project through AWS for accessibility via a custom domain.
- Anticipated deployment timeframe is short, enabling swift progression to the implementation of the final project.
- Learning from previous experience, starting development with backend components for smoother integration.
- Utilizing the entire MEAN stack and its components for maximum efficiency and functionality.
- Key features include:
- Portfolio page
- Contact page
- User authentication system with a login feature, enabling resume download for registered users.
- Integration of capstone project and other relevant GitHub repositories into the projects page.
- Skills page highlighting diverse computer science experiences and proficient tool usage.
- Outlook page, offering insights into personal passions and career aspirations within the field.
</details>
<details>
<summary>4/22/2024</summary>
- Refocused on main project and pushing off deployment since Capstone took too long.
- Currently trying to restructure my user accounts feature and webpage navigation.
- My overall goal is to have a administrtion side and a 'guest' side so that I can see who has visited.
- Utilizing the entire MEAN stack and its components for maximum efficiency and functionality.
- UPDATED Key features include:
- Portfolio Landing Page
- Administration Login Page allowing priveledged access to accounts management.
- User authentication system, enabling resume downloading for registered users after filling out a form.
- Integration of capstone project and other relevant GitHub repositories into the projects section.
- Skills section highlighting diverse computer science experiences and proficient tool usage.
- Resume download section, offering insights into personal passions and career aspirations within the CS field.
</details>
<details>
<summary>4/30/2024</summary>
- Main Page is coming along. Now need to add a projects section and then a place to download the resume.
- Currently finishing up the about section.
- My overall goal is to have a administrtion side and a 'guest' side so that I can see who has visited.
- Utilizing the entire MEAN stack and its components for maximum efficiency and functionality.
- UPDATED Key features include:
- Portfolio Landing Page
- Administration Login Page allowing priveledged access to accounts management.
- User authentication system, enabling resume downloading for registered users after filling out a form.
- Integration of capstone project and other relevant GitHub repositories into the projects section.
- Skills section highlighting diverse computer science experiences and proficient tool usage.
- Resume download section, offering insights into personal passions and career aspirations within the CS field.
- NEW! Stretch Goal
- I would still like to deploy my site by presentation day.
</details>
<details>
<summary>5/3/2024</summary>
- The main page is now complete, with styling and animations mostly finished, except for window resizing adjustments.
- Resume download functionality has been set up.
- The site utilizes the entire MEAN stack to maximize efficiency and functionality.
- Key features include:
- A portfolio landing page.
- An administration login page allowing privileged access for account management.
- A user authentication system that enables resume downloading for registered users after form submission.
- Integration of capstone projects and other relevant GitHub repositories into the projects section.
- A skills section showcasing diverse computer science expertise and proficient use of tools.
- A resume download section that provides insights into personal passions and career aspirations within the computer science field.
- Stretch Goals:
- Aim to deploy the site by presentation day.
- Plan to implement an administration field and utilize two tables for tracking.
</details>
<details>
<summary>5/5/2024</summary>
- BIG UPDATE!!
- The entire repository has been restarted, based on class examples, after encountering critical errors with the implementation of user authentication.
- User authentication and passport are now fully implemented with my user login.
- All pages have been implemented, with most page styling completed.
- UPDATED Key features include:
- A portfolio landing page that supports user resume downloads.
- An administration login page allowing privileged access for account management.
- A user authentication system that enables resume downloading for registered users after form submission.
- Admin management controlled on the Management page where all requests populate and can be managed.
- Resume downloads are managed through a form and can be tracked on the Dashboard page, with options for deletion.
- An Accounts page where the admin can change their account information or delete their account.
- Significant project-wide styling updates.
- Stretch Goals:
- Aim to deploy the site by presentation day.
- Implement route guards by presentation day.
</details>
<details>
<summary>5/6/2024</summary>
- PROJECT SPLIT
- Development has now moved to the deployment branch.
- All front-end and backend development has reached the end.
- Completed Key features include:
- A portfolio landing page that supports user resume downloads.
- An administration login page allowing privileged access for account management.
- A user authentication system that enables resume downloading for registered users after form submission.
- Admin management controlled on the Management page where all requests populate and can be managed.
- Resume downloads are managed through a form and can be tracked on the Dashboard page, with options for deletion.
- An Accounts page where the admin can change their account information or delete their account.
- Significant project-wide styling updates.
- Current Work:
- Restructuring files to be served from JS and Implementing deployment files from Google.
</details>
## Tools Utilization
### MongoDB
<p align="center">
<img src="./logos/MongoDB.svg" alt="MongoDB Logo" width="200"/>
</p>
<p align="center">
MongoDB is a powerful NoSQL database that allows for flexible and scalable data storage. Its document-oriented data model makes it ideal for handling complex, unstructured data commonly encountered in web applications. MongoDB's features include high availability, horizontal scaling, and a rich query language, providing developers with the tools needed to build robust backend systems.
</p>
### Express.js
<p align="center">
<img src="./logos/Express.svg" alt="Express.js Logo" width="200"/>
</p>
<p align="center">
Express.js is a minimal and flexible web application framework for Node.js, providing a robust set of features for building web applications and APIs. With Express.js, developers can easily create server-side applications, define routes, handle middleware, and manage HTTP requests and responses. Its simplicity and extensibility make it a popular choice for building RESTful APIs and web servers.
</p>
### Angular
<p align="center">
<img src="./logos/Angular.svg" alt="Angular Logo" width="200"/>
</p>
<p align="center">
Angular is a powerful front-end framework developed and maintained by Google. It simplifies the development of dynamic, single-page web applications by providing a comprehensive toolkit for building reusable components, managing state, and handling user interactions. Angular's features include two-way data binding, dependency injection, and a modular architecture, enabling developers to create scalable and maintainable applications with ease.
</p>
### Node.js
<p align="center">
<img src="./logos/Node.svg" alt="Node.js Logo" width="200"/>
</p>
<p align="center">
Node.js is a server-side JavaScript runtime environment that allows developers to run JavaScript code outside of a web browser. It provides a non-blocking, event-driven architecture, making it suitable for building fast and scalable network applications. Node.js comes with a rich ecosystem of libraries and frameworks, making it a popular choice for building backend services, APIs, and real-time applications.
</p>
### Google Cloud
<p align="center">
<img src="./logos/GoogleCloud.svg" alt="Google Cloud Logo" width="200"/>
</p>
<p align="center">
Google Cloud is a suite of cloud computing services offered by Google. It provides a range of hosting and cloud computing tools for developers, including computing power, data storage solutions, and machine learning capabilities. With its robust infrastructure and powerful analytics, Google Cloud enables businesses to scale and innovate, while efficiently managing their resources in a secure, highly reliable, and high-performance environment.
</p>
### Google Cloud Platform
<p align="center">
<img src="./logos/GooglePlatform.svg" alt="Google Platform Logo" width="200"/>
</p>
<p align="center">
Google Cloud Platform (GCP) offers a comprehensive set of cloud-based services that allow developers to build, test, and deploy applications on Google's highly-scalable and reliable infrastructure. GCP provides various services such as compute engines, container tools, networking, big data solutions, and APIs for machine learning. This platform supports rapid development and allows organizations to leverage Google’s technologies to create powerful applications and data analysis solutions.
</p>
## Contributors
- [Collin Streitman](https://github.com/CStre)
For any inquiries or collaborations, please feel free to contact me. I welcome contributions and feedback from the community to enhance the project further.
## License
This project is licensed under the [MIT License](LICENSE.md), granting permission for widespread use and modification, with proper attribution to the original source.
| MEAN Stack Portfolio Project | angular,cloud-functions,deployment,express,google-cloud,google-cloud-platform,javascript,mongodb,nodejs,typescript | 2024-04-09T04:25:16Z | 2024-05-09T20:57:16Z | 2024-05-06T21:19:27Z | 2 | 1 | 15 | 0 | 0 | 2 | null | NOASSERTION | TypeScript |
simonecorsi/mongodb-query-validator | main | # mongodb-query-validator
<!-- ![tests](https://github.com/simonecorsi/mongodb-query-validator/workflows/test/badge.svg) -->
> ✅ Zero Dependency MongoDB Query Operator Validator, why bother the database when you can save network rount-trip and CPU cycles?
## Table of Contents
<!-- toc -->
- [About](#about)
* [Benefits](#benefits)
* [Use Cases](#use-cases)
- [Installation](#installation)
- [Usage](#usage)
- [Valid query Operators](#valid-query-operators)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)
<!-- tocstop -->
## About
Do you ever find yourself squinting at your MongoDB queries, only to realize you've made a tiny typo that's causing a big headache? We've been there too. That's why we built this nifty little tool – to save you from those pesky errors and wasted database trips.
### Benefits
- **Error-Free Queries**: Say goodbye to query typos and syntax errors. Our validator catches them before they cause any trouble.
- **Efficiency Boost**: Streamline your development process by validating queries upfront, saving you time and resources.
### Use Cases
- **Production Systems**: Enhance the robustness of production systems by validating queries before executing them in live environments, minimizing downtime and errors.
- **Development Environments**: Validate queries during development to catch errors early and streamline the debugging process.
- **Testing Processes**: Integrate query validation into testing pipelines to ensure query correctness and reliability.
<!-- GETTING STARTED -->
## Installation
```sh
npm i --save mongodb-query-validator
# OR
yarn add mongodb-query-validator
```
<!-- USAGE EXAMPLES -->
## Usage
```ts
import { validateQuery } from './src/index';
const { isValidQuery } = validateQuery({ myField: { nested: { $gte: 123 } } });
// isValidQuery = true
const { isValidQuery, invalidFields } = validateQuery({
myField: { nested: { $exist: true } },
});
// isValidQuery = false
// invalidFields = ["myField.nexted.$exist"]
```
## Valid query Operators
You can find all supported query operator [here](./src/allowed.ts)
## Contributing
Project is pretty simple and straight forward for what is my needs, but if you have any idea you're welcome.
This projects uses [commitlint](https://commitlint.js.org/) with Angular configuration so be sure to use standard commit format or PR won't be accepted.
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'feat(scope): some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
<!-- LICENSE -->
## License
Distributed under the MIT License. See `LICENSE` for more information.
<!-- CONTACT -->
## Contact
Simone Corsi - [@im_simonecorsi](https://twitter.com/im_simonecorsi)
| ✅ Validate your MongoDB queries before executing them | javascript,mongodb,nodejs,query-validation,query-validator,typescript,validation | 2024-04-12T11:11:01Z | 2024-05-22T09:55:45Z | 2024-04-17T10:14:36Z | 2 | 40 | 54 | 0 | 0 | 2 | null | MIT | TypeScript |
pomelo-js/pomelo | main | # pomelo
Based on Bun/Nodejs, pomelo is a resource parsing tool with flexible configurations. It supports various types of resources. Most of the functionality is inspired by [Flexget](https://github.com/Flexget/Flexget).
A typical use case involves parsing RSS resources and sending them to aria2 for downloading. This process is particularly suitable when paired with [Aria2 Pro](https://github.com/P3TERX/Aria2-Pro-Docker).
## Documentation
https://pomelo.pages.dev
## Supported Resources
Pomelo has built-in parsers for commonly used resources, and also supports custom resource parsing.
### RSS
Currently, the built-in support for RSS includes the following:
1. [mikanami](https://mikanani.me/)
2. [share.acgnx](https://share.acgnx.se/)
3. [nyaa](https://nyaa.si/)
## License
pomelo source is licensed under the [GNU AGPLv3](https://github.com/pomelo-js/pomelo/blob/main/LICENSE).
| A resource parsing tool | anime,automation,bun,download,flexget,javascript,node,rss,typescript | 2024-04-11T08:48:29Z | 2024-05-22T11:55:01Z | null | 2 | 0 | 108 | 0 | 0 | 2 | null | AGPL-3.0 | TypeScript |
LakshayD02/Animated-Signup-Login-Form | main | # Animated-Signup-Login-Form
The project represents an animated Glassmorphism login page. It includes various elements such as background images, a login form, and styling using CSS. The page uses the Glassmorphism design trend, which involves creating a frosted glass-like effect on elements.
Deployed Link - https://animated-signupform-lakshay.netlify.app/
| The project represents an animated Glassmorphism login page. It includes various elements such as background images, a login form, and styling using CSS. The page uses the Glassmorphism design trend, which involves creating a frosted glass-like effect on elements. | animation,cascading-style-sheets,css,css3,html,html5,javascript,login-page,polymorphism,signup-page | 2024-03-19T18:46:18Z | 2024-03-19T18:50:16Z | null | 1 | 0 | 3 | 0 | 0 | 2 | null | null | HTML |
khanhanphamz/my-portfolio | main | This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
| null | emailjs,javascript,lottie-react,nextjs,react,react-toastify,scss,tailwindcss | 2024-03-29T07:39:13Z | 2024-03-29T16:14:31Z | null | 1 | 0 | 1 | 0 | 0 | 2 | null | null | JavaScript |
Arc-Jung/random-cat-word | main | ![cat.jpeg](image%2Fcat.jpeg)
# random-cat-word
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FArc-Jung%2Frandom-cat-word&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits-GitHub&edge_flat=false)](https://hits.seeyoufarm.com)
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Frandom-cat-word&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits-NPM&edge_flat=false)](https://hits.seeyoufarm.com)
### 2024-03-20 Arc-Jung
## Description
- Randomly generates cat sounds. / 랜덤한 고양이 소리를 생성합니다.
- Now, only English and Korean are supported. / 지금은 영어와 한국어만 지원합니다.
- If you would like to add cat words in other languages, please submit Pull Request or create issue. / 다른 언어의 고양이 단어를 추가하고 싶으면 풀 리퀘스트 또는 이슈를 생성해주세요.
## Installation
- If you use NPM
```shell
npm install random-cat-word
```
- If you use Yarn
```shell
yarn add random-cat-word
```
## Usage
```typescript
import {generate} from "random-cat-word/dist/cjs/main";
console.log(generate(10)) // default language is 'english'
console.log(generate(1)) // default language is 'english'
console.log(generate(10, 'english')) // or generate(10, 'en')
console.log(generate(10, 'korean')) // or generate(10, 'ko')
```
```shell
Kaaaack Yaaong Grwo Merr Yaaayong Yaaayong Nyaaaaa Nya Grwo Nyaayong
Meow
Aong Trill Mewooong Yaaayong Nyaayong Nyaa Nyong Meow Nyaayong Nyong
야옹 옹 야 아옥 애오옹 먀 냐야야야야얌 야야아앙 냐야야야앙 아오오오
``` | [NPM] random cat word generator / 랜덤 고양이 단어 생성기 | cat,korean,random,word,javascript,tdd,test,typescript,npm,express | 2024-03-20T05:43:42Z | 2024-03-25T03:48:52Z | null | 1 | 0 | 42 | 0 | 0 | 2 | null | MIT | TypeScript |
anuragbehura/Quizify-mern-app | main | # A MERN STACK Quiz System
| Introducing Quizify: the ultimate quiz management system. With a user-friendly interface, it simplifies quiz creation, management, and completion. Features like user authentication, CRUD operations and secure access. Experience streamlined quiz management today with Quizify. | css,express,fullstack-development,javascript,mongodb,mongoose,nodejs,quiz,quiz-app,quizapp | 2024-03-20T11:03:59Z | 2024-04-09T11:03:14Z | null | 2 | 0 | 66 | 0 | 0 | 2 | null | null | JavaScript |
devarshi002/frontend-website | main | # LAZAREV. 🪀 — Digital Product Design Agency
## Overview
LAZAREV. is a digital product design agency specializing in AI & ML, Fintech, Real Estate, E-commerce, and Web 3.0. This repository contains the code for the agency's website.
## Features
- **Navigation**: Easy navigation through different sections of the website.
- **Responsive Design**: The website is responsive and works well on various devices.
- **UI/UX Showcase**: Showcasing the agency's expertise in UI/UX design and digital product development.
- **Case Studies**: Highlighting success stories and projects undertaken by the agency.
- **Insights and Articles**: Providing exclusive insights, articles, and tips related to UI/UX and product design.
- **Interactive Elements**: Incorporating interactive elements like videos and animations to enhance user engagement.
## Technologies Used
- HTML5
- CSS3
- JavaScript (including libraries like Locomotive Scroll and GSAP)
## Getting Started
To view the website locally:
1. Clone this repository: `git clone <repository-url>`
2. Navigate to the project directory.
3. Open `index.html` in your web browser.
## Credits
- Icons: Remix Icon library
- Fonts: Remix Icon library, Google Fonts
- Libraries: Locomotive Scroll, GSAP
## Screenshot
![frontend1](https://github.com/devarshi002/frontend-website/assets/124704583/550b2667-8049-492a-8748-6d2fcace33c0)
![frontend2 1](https://github.com/devarshi002/frontend-website/assets/124704583/ac5b3012-57ab-4593-a08b-e2b76e445e9b)
![frontend3](https://github.com/devarshi002/frontend-website/assets/124704583/570b2389-4162-4127-9e01-5636c96b9cba)
| frontend website | css,gsap,html5,javascript,locomotive-scroll | 2024-03-29T15:41:13Z | 2024-03-31T08:20:10Z | null | 1 | 0 | 6 | 0 | 0 | 2 | null | null | HTML |
DzmitryUr/js-html-css-apps | main | The repository contains code for simple JS/HTML/CSS Apps.
Each project was built from scratch during the recording of the YouTube video. The video usually contains a short introduction, a review of the design, defining HTML structure and CSS styles, and applying JS code.
Provided exercises can help improve Web Development skills, get an understanding of how to code in JavaScript, and prepare for the Frontend interview.
The index.html summary page was created with links to all projects and deployed to GitHub Pages. [Check All Projects Page App](https://dzmitryur.github.io/js-html-css-apps/)
## Project 1. Counter App
- Topics covered: HTML Structure and Semantics, CSS Styling and Layout, JS DOM Manipulation, Events Handling
- [Look at the code](./counter)
- [Try the App](https://dzmitryur.github.io/js-html-css-apps/counter/index.html)
- [Watch on YouTube](https://youtu.be/IfHdXb3Gxe0)
## Project 2. Image Gallery
- Topics covered: HTML Structure and Semantics, CSS Styling and Layout, JS DOM Manipulation, Events Handling
- [Look at the code](./image-gallery)
- [Try the App](https://dzmitryur.github.io/js-html-css-apps/image-gallery/index.html)
- [Watch on YouTube](https://youtu.be/pAc1hW3eKr0)
## Project 3. Facts App
- Topics covered: HTML Structure and Semantics, CSS Styling and Layout, JavaScript Fetch API, Promises
- [Look at the code](./facts-api)
- [Try the App](https://dzmitryur.github.io/js-html-css-apps/facts-api/index.html)
- [Watch on YouTube](https://youtu.be/ZrOqRrcpsEs)
## Project 4. Jokes App
- Topics covered: HTML Structure and Semantics, CSS Styling and Layout, JavaScript Fetch API, Async, Await
- [Look at the code](./jokes-app)
- [Try the App](https://dzmitryur.github.io/js-html-css-apps/jokes-app/index.html)
- [Watch on YouTube](https://youtu.be/b7Cgpu541lQ)
## Project 5. Accordion
- Topics covered: HTML Structure and Semantics, CSS Styling and Layout, JS DOM Manipulation, Events Handling
- [Look at the code](./accordion)
- [Try the App](https://dzmitryur.github.io/js-html-css-apps/accordion/index.html)
- [Watch on YouTube](https://youtu.be/81q_kEgbNPA)
## Project 6. Native Popups
- Topics covered: HTML Structure and Semantics, CSS Styling and Layout, JS DOM Manipulation, Alert, Confirm, Prompt Popups
- [Look at the code](./native-popups)
- [Try the App](https://dzmitryur.github.io/js-html-css-apps/native-popups/index.html)
- [Watch on YouTube](https://youtu.be/mqYTk7XoRBs)
## Project 7. Timer App
- Topics covered: HTML Structure and Semantics, CSS Styling and Layout, JS Date object, `setInterval`, `clearInterval` functions
- [Look at the code](./timer)
- [Try the App](https://dzmitryur.github.io/js-html-css-apps/timer/index.html)
- [Watch on YouTube](https://youtu.be/9nMLgtFKfNc)
## Project 8. Contact Us Form
- Topics covered: HTML Structure and Semantics; CSS Styling and Layout; Form, Input, Textarea, Form Validation
- [Look at the code](./form-contact-us)
- [Try the App](https://dzmitryur.github.io/js-html-css-apps/form-contact-us/index.html)
- [Watch on YouTube](https://youtu.be/x2ItMNJI-rc)
## Project 9. Memory Words Game
- Topics covered: HTML Structure and Semantics; CSS Flexbox Layout, Rem Measurement; JS array, `Math.random()`
- [Look at the code](./memory-words-game)
- [Try the App](https://dzmitryur.github.io/js-html-css-apps/memory-words-game/index.html)
- [Watch on YouTube](https://youtu.be/oZpgtx6T6MY)
## Project 10. Portfolio Projects
- Topics covered: HTML Structure and Semantics, CSS Flexbox Layout
- The source code is in the root
- [Try the App](https://dzmitryur.github.io/js-html-css-apps/)
- [Watch on YouTube](https://youtu.be/OjesQpDMWJo)
| Projects for Beginners in JavaScript HTML CSS | beginner-project,css,css-flexbox,css3,html,html5,javascript,js,programming | 2024-03-27T09:29:29Z | 2024-04-19T17:03:02Z | null | 1 | 0 | 25 | 0 | 0 | 2 | null | MIT | HTML |
IsHereZahin/vue-forum | main | # vue-forum
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Lints and fixes files
```
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
| ⚡ Vue Forum is a web application built using the Vue.js framework, designed to facilitate online discussions and interactions among users. It provides features such as user authentication, posting threads, commenting, and upvoting/downvoting posts to create a dynamic and engaging forum experience. | vue3,vuejs,javascript | 2024-04-16T06:40:29Z | 2024-04-20T09:23:59Z | null | 1 | 0 | 6 | 0 | 0 | 2 | null | null | Vue |
PetrisGR/Website-TitanSec | main | # 🛡️ TitanSec Website Project [![GitHub stars](https://img.shields.io/github/stars/PetrisGR/Website-TitanSec.svg)](https://github.com/PetrisGR/Website-TitanSec/stargazers) [![GitHub license](https://img.shields.io/github/license/PetrisGR/Website-TitanSec.svg)](https://github.com/PetrisGR/Website-TitanSec/blob/master/LICENSE)
---
![presentation-responsive-image](https://github.com/PetrisGR/Website-TitanSec/assets/121623120/c349fcd2-8c92-4b79-96f7-76c76259724f)
---
## Description
This website is a college assignment project featuring the hypothetical cybersecurity company, TitanSec. It showcases various cybersecurity services in a user-friendly and fully-responsive manner. Please note that TitanSec is a fictional entity created solely for the purpose of this project.
## Features
- Fully responsive design across all platforms.
- User-friendly interface with intuitive navigation.
- Comprehensive information about cybersecurity services offered by TitanSec.
- Simple FAQ section addressing common queries.
- Job listings and application form for career opportunities at TitanSec.
- Easy-to-use contact form for reaching out to TitanSec.
## Pages
- **Home**: The landing page of the website.
- **About**: Details about TitanSec, including its information, mission and team.
- **Services**: Information about the cybersecurity services offered by TitanSec, including pricing.
- **FAQ**: Frequently Asked Questions section addressing common queries about TitanSec and its services.
- **Career**: Job listings and application form for individuals interested in joining the TitanSec team.
- **Contact**: Contact form and company details for reaching out to TitanSec.
## Tools Used
- HTML5
- CSS3
- JavaScript
- Font Awesome Icons
| This website is a college assignment project featuring the hypothetical cybersecurity company, TitanSec. It showcases various cybersecurity services in a user-friendly and fully-responsive manner. Please note that TitanSec is a fictional entity created solely for the purpose of this project. | college,css3,html5,javascript,website,cybersecurity | 2024-04-02T23:37:52Z | 2024-04-19T10:00:49Z | 2024-04-19T09:54:37Z | 1 | 0 | 10 | 0 | 0 | 2 | null | GPL-3.0 | HTML |
yeaayy/the-matrix | main | null | Text waterfall with the matrix style | css,html,javascript,screensaver,the-matrix,text-waterfall | 2024-04-13T21:36:47Z | 2024-04-13T21:35:41Z | null | 1 | 0 | 1 | 0 | 0 | 2 | null | null | JavaScript |
AdarshMishra26/Assign-FS | main | # Assign-FS
## Assignment Feedback System
This is a web application developed using Flask for managing student assignments, providing feedback, and facilitating communication between students and teachers.
## Features
- **User Authentication**: Users can sign up, log in, and reset their passwords.
- **Profile Management**: Users can update their contact information and branch details.
- **Assignment Submission**: Students can submit assignments through the system.
- **Plagiarism Detection**: Assignments are evaluated for plagiarism using a simple placeholder algorithm.
- **Feedback Mechanism**: Teachers can evaluate assignments and provide feedback to students.
- **Developer Profile**: A page showcasing the developer's information.
## Setup Instructions
To run the application locally, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/AdarshMishra26/Assign-FS.git
```
2. Install dependencies:
```bash
cd Assign-FS
pip install -r requirements.txt
```
3. Configure MongoDB:
- Replace the MongoDB URI in `app.py` with your own URI.
4. Configure Flask-Mail:
- Replace the SMTP server address, port, username, and password in `app.py` with your own credentials.
5. Run the application:
```bash
python app.py
```
6. Access the application:
Open a web browser and go to `http://localhost:5000` to access the application.
## Technology Stack
- **Python**: Programming language used for backend development.
- **Flask**: Web framework used for building the application.
- **MongoDB**: NoSQL database used for storing user profiles and assignments.
- **Flask-Mail**: Extension used for sending email notifications.
- **HTML/CSS**: Frontend development languages for creating user interfaces.
- **JavaScript**: Client-side scripting language for dynamic behavior.
- **Tailwind**: Frontend framework for responsive design.
## Contributors
- [Adarsh Mishra](https://github.com/AdarshMishra26)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
| This is the minor project submitted to college. This is a web application developed using Flask for managing student assignments, providing feedback, and facilitating communication between students and teachers. | flask,html5,javascript,python,assignment,ocr-recognition | 2024-04-19T08:30:40Z | 2024-04-21T06:22:54Z | null | 1 | 0 | 9 | 0 | 1 | 2 | null | MIT | HTML |
AlexK-1/Bacteria-simulation | main | # Bacteria simulation
Simulation of bacteria with the ability to customize the simulation using the *GUI*. As a result of evolution, bacteria change their behavior, size and speed, and the ability to eat food or other bacteria.
> [!WARNING]
> If you clone the repository, change the `TEST` variable in the file `/scripts/config.js ` (line number 27) to `true`, this is necessary for the correct loading of images.
## Basic rules
Bacteria move based on the location of *food* (green and yellow dots) and other bacteria. A bacteria has energy that it uses up. When a bacteria encounters food, it receives energy (if it has the ability to do so), and the food disappears. When a bacteria collides with another bacteria, it takes energy from another bacteria (if it has the ability to do so). If the bacteria has no energy left, it dies and leaves *yellow food* in its place.
## Bacteria
Bacteria form the basis of the simulation. A bacteria has age and energy. The age increases with each tick, and when it reaches a certain maximum, the bacteria dies. The energy decreases with each tick, if it is too little, the bacteria dies.
At birth, a bacteria receives a certain amount of energy. A bacteria can gain energy by eating food or *"biting"* another bacteria. How much energy a bacteria gets when it eats food depends on its *herbivore coefficient (c. h.)*. The higher the coefficient, the more energy the bacteria receives when it eats food. How much energy a bacteria takes from another bacteria in a collision depends on the *predation coefficient (c. p.)*. The higher this coefficient, the more energy the bacteria can take away. These two coefficients can be used to determine whether a bacteria is herbivorous, omnivorous, or a predator.
> [!NOTE]
> As a rule, predators die at the beginning of the simulation and only a few herbivorous bacteria remain. But if the right conditions are chosen, predators can reappear from herbivore species.
When a bacteria accumulates enough energy, it can create a new bacteria with a similar *genome*. The new bacteria has almost the same genome as its parent, but with a few small changes. There is also a chance of a large *mutation* of the bacteria. This contributes to the creation of new species of bacteria, the *evolution* of bacteria.
The bacteria is controlled by a simple *neural network* with no *hidden layers*. The parameters that the bacteria knows: the direction to the accumulation of food and the coordinates of the nearest food, the direction to the accumulation of less dangerous bacteria and the coordinates of the nearest less predatory bacteria, the direction to the accumulation of bacteria of the same species and the coordinates of the nearest bacteria of the same species, the direction to the accumulation of more dangerous bacteria and the coordinates of the nearest more predatory bacteria, the amount of energy spent. Bacteria can only see food and other bacteria within a certain radius. **Bacteria can only move and take energy from the bacteria that collide with them.**
## Food
The food consists of green and yellow dots scattered all over the world of bacteria. Bacteria can eat food and get energy from it. When a bacteria dies, it leaves yellow food in its place. Green food appears by itself in a certain amount in a certain period of time.
## Antibiotics
*Antibiotics* represent blue areas. They cause damage to the bacteria trapped in them and take away energy from the bacteria. Antibiotics are generated randomly each time the simulation is restarted. The brighter the blue color, the stronger the antibiotics are there.
> [!TIP]
> You can find such an arrangement of antibiotics (by pressing the Restart button in the menu on the left), in which antibiotics will divide the simulation world into several parts, in these parts bacteria can develop separately from other parts of the world and different new types of bacteria can appear from one type of bacteria in different parts.
## GUI
The interface consists of two panels: settings and statistics. They can be hidden using the red buttons in the corner of the panels. By clicking on the name of the settings group, you can hide/show the settings of this group.
### Settings
The settings panel is located on the right side of the screen. There are controls, simulation start settings, bacteria, food and antibiotics settings.
The first group contains the pause and restart buttons for the simulation, as well as the bacteria display mode.
The start settings include the size of the world, the number of bacteria and food that appear at the start of the simulation.
Bacterial settings and their description:
* Max age - the age at which the bacteria dies (measured in ticks)
* Energy usage - how much energy will a bacteria spend in one tick
* Energy on start - how much energy does the bacteria receive at birth
* Viewing radius - the radius in which a bacteria can see food and other bacteria, with a small world size (measured in pixels)
* Energy for reproduction - how much energy does a bacteria lose when it creates a new bacteria
* Speed - the speed of the bacteria
* Delay on start - the amount of time that the bacteria will stay in place after it appears (measured in ticks)
* Mutation chance - the chance that a bacteria can mutate at birth (measured in percentage)
* Mutation size - how many connections in the bacterial neural network will change during mutation
* Energy when bite - how much energy does a predatory bacteria take from another bacteria it has encountered in one tick
Food settings include: how much energy one yellow and green food contains, how much and how often green food will appear.
There are two settings in the antibiotic settings: the use of antibiotics (whether antibiotics will be displayed and harm bacteria) and the amount of energy that antibiotics take from bacteria.
### Statistics
The statistics panel is also divided into two groups: global statistics and statistics of certain species of bacteria.
The global statistics show the total number of bacteria and food, the percentage of predators and herbivores (only *c. p.* and *c. h.* are counted therefore, even in the absence of obvious predators, the counter will show the presence of predators).
Species statistics show the abilities and abundance of certain species of bacteria. The species are arranged in descending order of the number of bacteria of this species.
## Credits
I got the idea to create this simulation when I watched @ArtemOnigiri 's video about his simulation of similar bacteria.
Also thanks to @GulgDev for his images of bacteria and the image color change code.
## Conclusion
This project is my second with a bacteria simulation project. And this project turned out to be much better than the previous one ([Bacteria simulation zones](https://github.com/AlexK-1/Bacteria-simulation-zones)).
In the future, I'm going to add some new features to this simulation and start doing a new simulation with multicellular organisms. | Simulation of bacteria with food, predators, herbivores, GUI | bacteria,computational-biology,evolution,genome,javascript,simulation,simulation-modeling,simulations,website | 2024-03-19T10:36:11Z | 2024-04-03T11:08:37Z | null | 2 | 1 | 18 | 0 | 1 | 2 | null | MIT | JavaScript |
dohmeid/todo-list | main | <div align='center'>
<h1>:star2: TODO LIST :star2:</h1>
</div>
### FTS-TASK4 - creating a todo list web application
### :stars: Overview
This repository creates a TODO List web application with various features to manage tasks efficiently. It implements a user-friendly interface that allows users to add, update, and remove TODO items.
The web app interacts with the a dummy API to retrieve the initial TODO list.
### :dart: Features
- Create Tasks: Add new tasks to your list with ease.
- Update Tasks: Mark tasks as complete or edit their details.
- Delete Tasks: Remove tasks from your list when they're no longer needed.
- Search for Tasks.
- Retrieve TODO list from a dummy API.
- Count the number of TODOs in the footer.
- Data is stored in the browser to persist across page refreshes.
- Responsive Design: the application works well on any device - desktop, tablet, or mobile.
- Asynchronous JavaScript methods: are used for API interactions (e.g., Fetch API, async/await).
### :space_invader: Technologies Used
<div align="left">
<img src="https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white" height="30" />
<img src="https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge&logo=css3&logoColor=white" height="30" />
<img src="https://img.shields.io/badge/JavaScript-323330?style=for-the-badge&logo=javascript&logoColor=F7DF1E" height="30" />
</div>
### :eye: Demo
You can access a live demo of this application here -> https://dohmeid.github.io/todo-list/
![todo-list](todo-list.png)
| FTS-TASK4 - creating a todo list web application | css3,html5,javascript,todo-list | 2024-04-17T04:33:44Z | 2024-04-27T08:20:50Z | null | 2 | 1 | 21 | 0 | 0 | 2 | null | null | CSS |
Sieep-Coding/learn-data-structures | main | null | Explore the fundamentals of data structures and learn about memory storage within computer systems. | data-structures,javascript,learning | 2024-04-29T14:58:12Z | 2024-04-29T17:55:22Z | null | 1 | 0 | 6 | 0 | 0 | 2 | null | Unlicense | JavaScript |
mahiiyh/project-gaia-gallery | main | # project-gaia-gallery
(IITWebDev Branch: dev-md)
Welcome to our IIT/UoW Web Design & Development Coursework project repository! This part was maintained by Mahima Dharmasena.
# Project GAIA: Wildlife Conservation at WILD TRAILS - Hotel & Spa
Welcome to Project GAIA by WILD TRAILS - Hotel & Spa, situated alongside the mesmerizing Yala National Park. As champions of sustainability, we are deeply committed to fostering a harmonious relationship between humans and wildlife.
At the heart of Project GAIA lies our advanced Wildlife Vet Clinic, dedicated to ensuring the well-being of the park's diverse fauna. Our mission extends beyond medical care; we are passionate about educating the public on wildlife conservation. Seasonal volunteer opportunities allow participants to engage hands-on, from assisting in our vet clinic to immersive wildlife tours.
Support our cause by exploring our curated range of merchandise at our on-site shop, featuring volunteer t-shirts, safari-themed apparel, eco-friendly bags, and more. Every purchase directly contributes to our conservation efforts.
Check out our online gallery to witness our conservation journey through captivating images of our vet clinic, rescue operations, beach cleanups, and the dedicated volunteers who drive our mission forward.
Join us in making a difference. Visit our website to create a volunteer profile or make a donation, and help us protect the future of Yala's magnificent wildlife through Project GAIA.
### As Student 4, my responsibilities in this project were as follows:
1. **Gallery Page**
- Implemented an interactive gallery page with thumbnails
- Displayed an extended view with larger images and descriptions
- Ensured sufficient length for internal linking
![Gallery Page](readme/gallery.JPG)
2. **Sitemap Page**
- Created a sitemap page using Scalable Vector Graphics (SVG)
- Made the sitemap interactive, responsive, and accessible
- Provided keyboard navigation and hover effects
![Sitemap Page](readme/sitemap.JPG)
3. **Content Page (Blog)**
- Developed a content page related to the website's theme (Wildlife Conservation)
![Content Page](readme/blog.JPG)
4. **Page Editor**
- Created a personal page editor with my name, role, completed tasks, and links to my work
- Ensured the pages open in a new tabs
![Page Editor](readme/page-editor.JPG)
## How to Install and Run the Project
To install and run the project, follow these steps:
1. Clone the repository to your local machine:
```
git clone https://github.com/mahiiyh/project-gaia-gallery.git
```
2. Navigate to the project directory:
```
cd project-gaia-gallery
```
3. Install the required dependencies:
```
npm install
```
4. Start the development server:
```
npm start
```
5. Open your web browser and visit `http://localhost:3000` to view the project.
Note: Make sure you have Node.js and npm installed on your machine before running the project.
## How to Use the Project
To use the project, follow these steps:
1. Explore the gallery page to view captivating images of our vet clinic, rescue operations, beach cleanups, and dedicated volunteers.
2. Navigate to the sitemap page to get an overview of the website's structure and easily navigate to different sections.
3. Read the content page (blog) to learn more about wildlife conservation and our efforts in protecting the future of Yala's magnificent wildlife.
4. Visit the page editor to see my contributions to the project, including my name, role, completed tasks, and links to my work.
Feel free to explore the website further, create a volunteer profile, make a donation, and support our cause in protecting wildlife through Project GAIA.
## How to Contribute to the Project
To contribute to the project, please follow these steps:
1. Fork the repository on GitHub by clicking the "Fork" button.
2. Clone your forked repository to your local machine:
```
git clone https://github.com/mahiiyh/project-gaia-gallery.git
```
3. Navigate to the project directory:
```
cd project-gaia-gallery
```
4. Create a new branch for your contribution:
```
git checkout -b your-branch-name
```
5. Make your desired changes to the project.
6. Commit your changes:
```
git commit -m "Add your commit message here"
```
7. Push your changes to your forked repository:
```
git push origin your-branch-name
```
8. Go to the original repository on GitHub and create a new pull request from your forked repository.
9. Provide a clear and descriptive title for your pull request, along with any additional comments or information.
10. Submit the pull request, and wait for the project maintainers to review and merge your changes.
Thank you for your contribution to Project GAIA!
## 💰 You can help me by Donating
[![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://buymeacoffee.com/mahiiyh)
| This repository displays IIT/UoW Web Design coursework, including an interactive gallery, SVG sitemap, wildlife blog, and a personal editor. | coursework,css,design,gallery,html,javascript,project,web,website,westminster | 2024-04-01T07:36:42Z | 2024-04-06T20:11:26Z | null | 1 | 0 | 9 | 0 | 0 | 2 | null | MIT | HTML |
Ciollo/Nexus | main | null | ✍️ Nexus is your all-in-one productivity hub, simplifying note-taking , task management, project organization , and collaboration to keep you focused and organized. | css,html,javascript,mysql,php,school-project,website,note-taking,productivity | 2024-04-12T13:24:23Z | 2024-05-20T06:27:06Z | null | 2 | 6 | 171 | 0 | 0 | 2 | null | GPL-3.0 | JavaScript |
baqx/SunnahSnap | main | <h1 align="center">SunnahSnap</h1>
<p align="center">
<img src="screenshots/feature.png" width="450"/>
</p>
<br/><br/>
<a href="#">
<img src="https://img.shields.io/badge/ReactNative-0.73.6-blue.svg?style=flat-square" alt="npm version">
</a>
## Introduction
A platform where users can access Sunnah teachings or practices swiftly and conveniently, perhaps through short, easily digestible content or snippets.
## Requirements
- NPM (Node Package Manager)
- React-Native
- Expo
## Features
- View Hadiths of different books
- Switch Hadiths Languages
### To do list
- [x] Add multiple languages (Eng, Ara)
- [ ] Add daily push notifications
- [ ] Bookmarking Hadiths
- [ ] Sharing Hadiths
- [ ] Reactions to Hadiths
## Install all packages
> npm install
## Screenshots
<p align="center">
<span>
<img src="screenshots/splashscreen.png" width="400px" />
<img src="screenshots/1.png" width="400px" />
</span>
</p>
<p align="center">
<span>
<img src="screenshots/2.png" width="400px" />
</span>
</p>
<p align="center">
<span>
<img src="screenshots/3.png" width="400px" />
</span>
</p>
<p align="center">
<span>
<img src="screenshots/4.png" width="400px" />
<img src="screenshots/5.png" width="400px" />
</span>
<p align="center">
<span>
<img src="screenshots/6.png" width="400px" />
</span>
</p>
## Contributors
<table border="0">
<tr>
<td align="center">
<a href="https://github.com/fawazahmed0">
<img width="110" src="https://avatars1.githubusercontent.com/fawazahmed0" alt="Fawaz Ahmed"><br/>
<sub><b>Fawaz Ahmed</b></sub>
</a>
</td>
</tr>
</table>
| A platform where users can access Sunnah teachings or practices swiftly and conveniently, perhaps through short, easily digestible content or snippets. | expo,expo-cli,hadith,hadith-api,javascript,muslim,npm,react,react-native | 2024-04-05T17:14:31Z | 2024-04-06T10:24:58Z | null | 1 | 0 | 9 | 0 | 1 | 2 | null | null | JavaScript |
FE-tech-talk/codeit14_techtalk | main | # 코드잇 14팀 테크톡
코드잇 스프린트 14팀 **코어 자바스크립트** 테크톡 레포지토리입니다.
<p align="center">
<img width=300 src="https://github.com/CitrusSoda/codeit14_techtalk/assets/98106371/10224acb-6cf1-419d-9974-c56e101be582" />
</p>
![JS](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=JavaScript&logoColor=white)
## 팀원 구성
<table align="center">
<tbody>
<tr>
<td>
<a href="https://github.com/JiminN2">
<img src="https://avatars.githubusercontent.com/JiminN2" width="100" height="100"/>
</a>
</td>
<td>
<a href="https://github.com/codefug">
<img src="https://avatars.githubusercontent.com/codefug" width="100" height="100"/>
</a>
</td>
<td>
<a href="https://github.com/easyhyun00">
<img src="https://avatars.githubusercontent.com/easyhyun00" width="100px" height="100px"/>
</a>
</td>
<td>
<a href="https://github.com/CitrusSoda">
<img src="https://avatars.githubusercontent.com/CitrusSoda" width="100px" height="100px"/>
</a>
</td>
<td>
<a href="https://github.com/hnitam">
<img src="https://avatars.githubusercontent.com/hnitam" width="100px" height="100px"/>
</a>
</td>
</tr>
<tr>
<th>
<a href="https://github.com/JiminN2">박지민</a>
</th>
<th>
<a href="https://github.com/codefug">이승현</a>
</th>
<th>
<a href="https://github.com/easyhyun00">이지현</a>
</th>
<th>
<a href="https://github.com/CitrusSoda">장준혁</a>
</th>
<th>
<a href="https://github.com/hnitam">장혜민</a>
</th>
</tr>
</tbody>
</table>
| null | javascript | 2024-04-02T01:39:49Z | 2024-05-07T08:40:49Z | null | 5 | 0 | 61 | 0 | 1 | 2 | null | null | null |
Alipakkr/ToDoAppReact | main | # TODO APP REACT
## Description:
ReactCRUD is a powerful web application built using React.js, designed to streamline data management with its intuitive CRUD features. Whether you're managing tasks, contacts, projects, or any other type of data, ReactCRUD offers a seamless user experience for adding, viewing, updating, and deleting entries.
## Features:
- User Authentication: Secure user authentication system to ensure data privacy and access control.
- Dashboard Overview: A clean and organized dashboard providing an overview of all entries.
- Create: Users can easily add new entries with a simple form interface. Validation ensures data integrity.
- Read: Effortlessly view all existing entries in a paginated and searchable format. Sort and filter options enhance usability.
- Update: Edit existing entries with ease. Intuitive forms pre-filled with existing data simplify the editing process.
- Delete: Remove unwanted entries quickly with a built-in delete function. Confirmations prevent accidental deletions.
- Responsive Design: Fully responsive layout ensures seamless usability across various devices and screen sizes.
- Data Persistence: Utilizes a backend database (e.g., MongoDB, Firebase) for robust data storage and retrieval.
- Real-time Updates: For collaborative environments, implement real-time updates using technologies like WebSockets or GraphQL subscriptions.
- Customization: Tailor the app to fit specific needs by easily extending functionality or customizing the UI.
- Accessibility: Adheres to accessibility standards to ensure inclusivity for all users.
## ├─ frontend/
## ├─ backend/
## Installation & Getting started
Detailed instructions on how to install, configure, and get the project running. For BE/FS projects, guide the reviewer how to check mongodb schema etc.
```bash
npm install
cd frontend
npm start
cd src
npm run start
```
## Technology Stack
- JavaScript
- React
- Git
- CSS
## Getting Started with Create React App
This project was bootstrapped with Create React App.
## Available Scripts
In the project directory, you can run:
## npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
## npm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
## npm run build
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
## npm run eject
Note: this is a one-way operation. Once you eject, you can't go back!
If 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.
Instead, 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.
You 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.
## Learn More
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
## Code Splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
## Analyzing the Bundle Size
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
## Making a Progressive Web App
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
## Advanced Configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
## Deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
## npm run build fails to minify
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
### Made By Alipa
[![profile](https://img.shields.io/badge/Github-000?style=for-the-badge&logo=ko-fi&logoColor=white)](https://github.com/Alipakkr)
[![linkedin](https://img.shields.io/badge/Linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/alipa-55b365285/)
| ReactCRUD is a powerful web application built using React.js, designed to streamline data management with its intuitive CRUD features. | css,javascript,nodejs,reactjs | 2024-03-15T02:19:42Z | 2024-03-25T16:04:55Z | null | 1 | 0 | 10 | 0 | 0 | 2 | null | null | JavaScript |
Sithumsankajith/civil-war-web-game | main | # Civil War Game
A little game inspired by the movie Captain America: Civil War, built using HTML, CSS, and JavaScript. It's a fighting game like Tekken, featuring two characters: Iron Man (controlled by a bot) and Captain America (controlled by the player).
![Alt text](testingss.png)
## Controls
Player One (Captain America):
- 'A' - move left
- 'D' - move right
- 'W' - jump
- 'Z' - punch
- 'X' - shoot
## Play Online
You can play the game online [here](https://sithumsankajith.github.io/civil-war-web-game/).
![Alt text](playingss.png)
Enjoy the game!
| Civil War is a retro-style mini game where players control Captain America to battle against Iron Man. Use the keys to move and attack. Defeat Iron Man to win! | css,game-development,html,webgame,javascript | 2024-03-26T15:31:10Z | 2024-03-26T17:25:53Z | null | 1 | 0 | 11 | 0 | 0 | 2 | null | MIT | JavaScript |
khaouitiabdelhakim/HolyQuran-JS | main | # HolyQuran JavaScript Library
The HolyQuran JavaScript Library provides easy access to comprehensive Quranic data for JavaScript applications. It enables developers to seamlessly incorporate Surah details, including name, type, English name, number of verses, words, and letters, into their projects.
![HolyQuran](https://github.com/khaouitiabdelhakim/HolyQuran-JS/blob/main/HolyQuranJS.png)
```
If you find this library useful or it has helped you,
please consider leaving a ⭐️, or even following my GitHub account.
Your support motivates me to continue providing helpful resources.
Thank you for your appreciation! 🌟🚀💖😊👍
If you'd like to support further, consider buying me a coffee:
```
[![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee--yellow.svg?style=for-the-badge&logo=buy-me-a-coffee)](https://www.buymeacoffee.com/kh.abdelhakim)
## Example Usage
```javascript
// Example of accessing the 3rd verse of the 4th Surah in the Holy Quran
const quran = require('holy-quran');
const hasfsHolyQuran = quran.HolyQuranHafsVersion;
const thirdVerseFourthSurah = hasfsHolyQuran[3]["verses"][2];
console.log(thirdVerseFourthSurah);
// Example of accessing the 4th english name
const englishName = hasfsHolyQuran[3]["englishName"];
console.log(englishName);
// Al-Nesaa
// Example of accessing the 3rd verse of the 4th Surah in the Holy Quran but in German
const germanHolyQuran = quran.QuranGerman;
const thirdVerseFourthSurahGerman = germanHolyQuran[3][2];
console.log(thirdVerseFourthSurahGerman);
// Und wenn ihr befürchtet, nicht gerecht hinsichtlich der Waisen zu handeln,
// dann heiratet, was euch an Frauen gut scheint, zwei,
// drei oder vier. Wenn ihr aber befürchtet, nicht gerecht zu handeln,
//dann (nur) eine oder was eure rechte Hand besitzt. Das ist eher geeignet, daß ihr nicht ungerecht seid.
```
## Surah sample
{
"name": "الفلق",
"type": "مكيّة",
"englishName": "Al-Falak",
"number": 113,
"numberOfVerses": 5,
"numberOfWords": 23,
"numberOfLetters": 71,
"verses": [
"قُلْ أَعُوذُ بِرَبِّ الْفَلَقِ",
"مِن شَرِّ مَا خَلَقَ",
"وَمِن شَرِّ غَاسِقٍ إِذَا وَقَبَ",
"وَمِن شَرِّ النَّفَّاثَاتِ فِي الْعُقَدِ",
"وَمِن شَرِّ حَاسِدٍ إِذَا حَسَدَ"
]
}
## Features
- Access detailed Surah information including name, type, English name, number of verses, words, and letters.
- Retrieve specific verses of Surahs easily.
- Translation available in 49 world languages.
## Supported Languages for Translation
Russian, Chinese, Hindi, Spanish, Portuguese, Bengali, Urdu, Italian, Vietnamese, Turkish, Thai, Polish, German, Dutch, Icelandic, Hausa, Albanian, Persian, Azerbaijani, Swahili, Tajik, Tamil, Pashto, Malayalam, Malay, Sinhala, Amharic, Kurdish (Sorani), Bulgarian, Kazakh, Filipino, Sindhi, Korean, Japanese, Swedish, Norwegian, Somali, Croatian, Yoruba, Fulani, Tatar, Uyghur, Kyrgyz, Punjabi, Javanese, Telugu
## Installation
### Step 1: Install via npm
```bash
npm i holy-quran
```
### Step 2: Import in your project
```javascript
const quran = require('holy-quran');
```
## Contribution
This project is open to contributions. Feel free to contribute to the development of this library by forking the repository, making your changes, and creating pull requests.
## License
This project is licensed under the MIT License.
```
Copyright 2024 KHAOUITI ABDELHAKIM
Licensed under the MIT License
You may obtain a copy of the License at
http://opensource.org/licenses/MIT
Unless required by applicable law or agreed to in writing, software
distributed under the MIT License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the MIT License.
made with love 💖 - KHAOUITI Apps 2024
```
This README provides an overview of the HolyQuran JavaScript Library and instructions for usage, installation, and contribution.
| The HolyQuran JavaScript Library provides easy access to comprehensive Quranic data for JavaScript applications. It enables developers to seamlessly incorporate Surah details, including name, type, English name, number of verses, words, and letters, into their projects. | api,holy-quran,islam,islamic,islamic-apps,javascript,npm,quran,quran-api | 2024-03-17T14:56:43Z | 2024-03-29T22:42:11Z | 2024-03-29T22:42:11Z | 1 | 0 | 19 | 0 | 0 | 2 | null | null | JavaScript |
JoelDeonDsouza/Nave_ReadMeGenerator | main | # 🚀Nave
Nave is a ReadMe editor built using React. It allows users to select from a variety of templates, edit content, and view the rendered output in real-time.
## Tech Stack
**Client:** React, Styled Components.
## Dependency package
Check out react-markdown
```bash
https://www.npmjs.com/package/react-markdown/v/8.0.6
```
## Screenshots
![App Screenshot](https://i.ibb.co/v1b9zfx/img.png)
## Features
- Template Selection: Users can choose from a selection of pre-defined templates to start editing their Markdown content.
- Real-time Editing: Content editing is facilitated with a live preview of the Markdown output.
- Copy to Clipboard: Users can easily copy the edited Markdown content to their clipboard with a single click.
## Installation
```bash
https://github.com/JoelDeonDsouza/Nave_ReadMeGenerator.git
```
```bash
npm install
```
## Usage
To start the server, run:
```bash
npm start
```
| Nave is a ReadMe editor built using React. It allows users to select from a variety of templates, edit content, and view the rendered output in real-time. | editor,javascript,markdown,react,readme,styled-components,typescript | 2024-04-07T17:28:49Z | 2024-04-07T19:58:05Z | null | 1 | 2 | 7 | 0 | 0 | 2 | null | null | TypeScript |
GabrielAssis19y/TIAW | main | A realização de um ensino superior é um marco importante para qualquer estudante que deseja caminhar para seus objetivos profissionais/acadêmicos. Entretanto, dentre diversos fatores que podem inibir e lesar essa jornada acadêmica, a locomoção se destaca como um grande obstáculo para os estudantes universitários. Seja pelo alto custo do transporte, pela falta de pontos de transporte público ou pela dificuldade de acesso a esses pontos, como no caso de moradias localizadas em bairros de difícil acesso com ruas estreitas para veículos grandes, a locomoção para a faculdade pode se tornar um desafio diário.
Facilitar a vida universitária, tornando mais fácil e acessível o deslocamento para a faculdade, não apenas beneficia os estudantes, mas também contribui significativamente para a redução da evasão do ensino. Diante desse cenário, torna-se essencial a criação de uma comunidade conectada, onde estudantes possam compartilhar caronas de forma segura, mais barata e eficiente.
Através desse projeto, esperamos não apenas proporcionar uma solução prática para o problema de locomoção dos estudantes, mas também proporcionaar um senso de comunidade e colaboração entre os estudantes. Acreditamos que ao facilitar o acesso dos estudantes à faculdade, estaremos contribuindo para uma experiência universitária mais positiva, promovendo não apenas a educação, mas também o desenvolvimento pessoal e social dos estudantes.
O problema que se busca resolver com a solução é a dificuldade que estudantes e funcionários não detentores de veículos próprios encontram ao residirem em lugares longe da faculdade.
A partir de realidades com trajetos até mesmo entre diferentes municípios, rotinas se tornam mais cansativas e indivíduos são prejudicados, principalmente quando há dependência de transportes públicos.
Para os estudantes que possuem carga pesada de matérias e trabalhos, principalmente os ativos no mercado de trabalho, ou funcionários que passam o dia inteiro a serviço do campus, passar horas no transporte significa perder o momento de descanso e o tempo que poderia ser utilizado para estudos. Sem contar os dias atípicos de demora na espera, podendo prejudicar, inclusive, quando há provas e trabalhos, por exemplo.
Dessa forma, evidência-se a distância e a impossibilidade de utilizar transportes particulares como principais dificuldades enfrentadas.
Tendo em vista constatação da necessidade identificada pelos integrantes do grupo da existência de um meio de transporte seguro, confortável, mais sustentável e financeiramente viável para os corpos discente e docente da universidade, o projeto visa concretizar de maneira ágil e efetiva, um site que poderá beneficiar não somente o passageiro da carona, mas também o motorista, criando-se assim, uma integração harmônica e proveitosa para a universidade, alunos e outros funcionários da instituição. Em suma, visa-se criar um site de caronas que forneça ao usuário, seja ele passageiro ou motorista, mais segurança e facilidade na hora de ir e voltar para a faculdade, sempre pensando nos benefícios sociais, ambientais e financeiros que podem ser advindos do projeto.
Como objetivos específicos temos:
- Fornecer funcionalidades que permitam ao usuário conseguir achar motoristas e passageiros dentro do site.
- Integrar o site a um aplicativo de localização que garanta a eficiência e rapidez no percurso.
- Permitir que o usuário avalie outros usuários visando seu conforto e segurança durante a viagem
- Prover ao usuário formas de realizar e receber pagamentos de forma veloz e segura.
A pesquisa de "Regiões de Influências das Cidades" do IBGE, realizada em 2020, expõe o
alto deslocamento de indivíduos como consequência da demanda por formação em
instituições renomadas, e consequente locomoção, até mesmo, entre diferentes municípios.
Para os alunos que não possuem automóveis próprios e condições financeiras de acessar
veículos particulares (como, por exemplo, estudantes que ingressam em instituições
particulares através do ProUni), a escassez dos transportes públicos se torna uma
dificuldade.
Em uma reportagem do site "Transite", publicada em 2023, que entrevistou graduandos da
UFMG, Kauet Machado, estudante de jornalismo com moradia à 22 km de distância da
faculdade, relatou as vantagens que encontra em utilizar caronas, ao invés de locomoções
públicas, sendo fatores como a diminuição da jornada, conforto e praticidade.
Com isso, estudantes que trabalham o dia inteiro e perdem o pouco de tempo que possuem
nesses transportes, assim como a falta de segurança (inclusive para os funcionários do
campus) que o período noturno oferece na volta para casa, evidenciam a solução como
objeto de auxílio compatível com indivíduos que enfrentam essas realidades.
O foco deste trabalho está em estudantes universitários, professores, vigias e outros
funcionários do campus, todos exclusivamente da PUC Minas São Gabriel. O sistema busca
fornecer auxílio para essas pessoas que não possuem veículos próprios e enfrentam
dificuldades no transporte, como a dependência diária de vários ônibus e metrôs, ou apenas
aqueles que buscam uma companhia para um trajeto mais seguro e divertido.
Sem faixa etária definida de público, pois tanto a idade dos alunos quanto dos funcionários
podem variar bastante, assim como a escolaridade. Enquanto aluno, é necessário estar
matriculado no ensino superior, e, para contratados da faculdade, não há formação
específica.
As viagens variam de acordo com o destino e ponto de partida identificado pelo solicitante,
dessa forma, a especificação da localização de usuários não é necessária.
| Trabalho em grupo de TIAW. Estudantes de ADS - Puc Minas : Maria Eduarda, Fabia Rodrigues, Lucas Vinicius (https://github.com/LVideas), Gabriel Assis, Anderson Gonçalves, | css3,html,javascript | 2024-04-15T00:09:15Z | 2024-04-24T00:21:35Z | null | 1 | 0 | 9 | 0 | 0 | 2 | null | MIT | null |
Alexandrbig1/camp-on-wheels | main | # Camp On Wheels
Discover the Freedom of Mobile Exploration with Camp On Wheels.
<img align="right" src="https://media.giphy.com/media/du3J3cXyzhj75IOgvA/giphy.gif" width="100"/>
[![GitHub last commit](https://img.shields.io/github/last-commit/Alexandrbig1/camp-on-wheels)](https://github.com/Alexandrbig1/camp-on-wheels/commits/main)
[![GitHub license](https://img.shields.io/github/license/Alexandrbig1/camp-on-wheels)](https://github.com/Alexandrbig1/camp-on-wheels/blob/main/LICENSE)
[![JavaScript](https://img.shields.io/badge/JavaScript-Latest-EAD319.svg)](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
[![Axios](https://img.shields.io/badge/Axios-1.6.4-5300D8.svg)](https://github.com/axios/axios)
[![Vite](https://img.shields.io/badge/Vite-5.0.8-6868F2)](https://vitejs.dev/)
[![React](https://img.shields.io/badge/React-18.2.0-51CAEF.svg)](https://reactjs.org/)
[![Redux](https://img.shields.io/badge/Redux-9.1.0-764ABC.svg)](https://redux.js.org/)
[![Styled Components](https://img.shields.io/badge/Styled_Components-6.1.6-D664C0.svg)](https://styled-components.com/)
[![Framer Motion](https://img.shields.io/badge/Framer_Motion-11.1.1-00ADD8.svg)](https://www.framer.com/motion/)
[![React Icons](https://img.shields.io/badge/React_Icons-5.0.1-E10051.svg)](https://react-icons.github.io/react-icons/)
[![Figma](https://img.shields.io/badge/Figma-2022.2-FF7262.svg)](https://www.figma.com/)
[![Firebase](https://img.shields.io/badge/Firebase-10.8.1-FFCA28.svg)](https://firebase.google.com/)
[![Git](https://img.shields.io/badge/Git-2.35.1-F05032.svg)](https://git-scm.com/)
## Overview
Embark on unforgettable journeys with CampOnWheels, where every road leads to new adventures. With our fleet of comfortable and fully-equipped camping cars, you can roam wherever your wanderlust takes you, and unwind amidst nature's embrace. Start your journey today and experience the thrill of the open road, without sacrificing the comforts of home.
## Table of Contents
- [Features](#features)
- [Technologies Used](#technologies-used)
- [License](#license)
### Screenshots:
![Cruise Wheels](/public/images/screenshots/camp1.jpg) _Screenshot 1
(Home Page Light Theme)_
![Cruise Wheels](/public/images/screenshots/camp2.jpg) _Screenshot 2
(Home Page Light Theme)_
![Cruise Wheels](/public/images/screenshots/camp3.jpg) _Screenshot 3
(Home Page Light Theme)_
![Cruise Wheels](/public/images/screenshots/camp4.jpg) _Screenshot 4
(Catalog Page Dark Theme)_
![Cruise Wheels](/public/images/screenshots/camp5.jpg) _Screenshot 5
(Catalog Page Modal Pop Up Light Theme)_
![Cruise Wheels](/public/images/screenshots/camp6.jpg) _Screenshot 6
(Catalog Page Modal Pop Up Reviews and Form Dark Theme)_
![Cruise Wheels](/public/images/screenshots/camp7.jpg) _Screenshot 7
(Favorites Page Light Theme Mobile Screen)_
## Features
- **Intuitive User Interface**: Crafted with @mui/material and styled with @emotion/styled for a sleek and user-friendly experience.
- **State Management with Redux Toolkit**: Utilizes @reduxjs/toolkit for efficient state management in your React application.
- **Asynchronous Data Fetching**: Employs Axios for seamless asynchronous data fetching.
- **Form Handling with Formik and Yup**: Implements @formik and yup for robust form handling and validation.
- **Routing with React Router**: Utilizes @react-router-dom for smooth navigation and routing in your application.
- **UI Components with React Icons and Styled Components**: Enhances the UI using @react-icons and @styled-components.
- **Dynamic Loading with React Loader Spinner**: Incorporates @react-loader-spinner for dynamic loading indicators.
- **Modal Windows with React Modal**: Utilizes @react-modal for elegant and responsive modal windows.
- **Select Input with React Select**: Enhances user interaction with @react-select for customizable select input.
- **Notification System with React Toastify**: Implements @react-toastify for user-friendly notifications.
- **Persistent State with Redux Persist**: Uses @redux-persist for persistent state management.
- **Middleware for Async Actions with Redux Thunk**: Enhances Redux with @redux-thunk for handling asynchronous actions.
- **Universal Styling with Styled Components and Emotion**: Combines @styled-components and @emotion/styled for a versatile styling approach.
- **Unique Identifiers with UUID**: Generates unique identifiers using the @uuid library.
- **Smooth Animations with Framer Motion**: Elevate your user experience with smooth and interactive animations powered by Framer Motion.
- **Dynamic Slides with React-Awesome-Reveal**: Capture your audience's attention with stunning slide animations using React-Awesome-Reveal.
## Technologies Used
- React
- Redux Toolkit
- Vite
- @emotion/react
- @emotion/styled
- @mui/material
- Axios
- Formik
- Yup
- React Router
- React Icons
- React Loader Spinner
- React Modal
- React Select
- React Toastify
- Redux Persist
- Redux Thunk
- Styled Components
- UUID
## Issues
If you encounter any issues or have suggestions, please
[open an issue](https://github.com/Alexandrbig1/camp-on-wheels/issues).
## License
This project is licensed under the [MIT License](LICENSE).
## Feedback
I welcome feedback and suggestions from users to improve the application's
functionality and user experience.
## Languages and Tools:
<div align="center">
<a href="https://en.wikipedia.org/wiki/HTML5" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/html5-original-wordmark.svg" alt="HTML5" height="50" /></a>
<a href="https://www.w3schools.com/css/" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/css3-original-wordmark.svg" alt="CSS3" height="50" /></a>
<a href="https://www.javascript.com/" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/javascript-original.svg" alt="JavaScript" height="50" /></a>
<a href="https://reactjs.org/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/react/react-original-wordmark.svg" alt="react" width="40" height="40"/></a>
<a href="https://redux.js.org/" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/redux-colored.svg" width="36" height="36" alt="Redux" /></a>
<a href="https://styled-components.com/" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/styled-components.png" alt="Styled Components" height="50" /></a>
<a href="https://framer.com" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/framer-colored.svg" width="36" height="36" alt="Framer" /></a>
<a href="https://vitejs.dev/" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/vite-colored.svg" width="36" height="36" alt="Vite" /></a>
<a href="https://git-scm.com/" target="_blank" rel="noreferrer">
<img src="https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg" alt="git" width="40" height="40"/></a>
<a href="https://www.figma.com/" target="_blank" rel="noreferrer"><img src="https://www.vectorlogo.zone/logos/figma/figma-icon.svg" alt="figma" width="40" height="40"/></a>
<a href="https://firebase.google.com/" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/danielcranney/readme-generator/main/public/icons/skills/firebase-colored.svg" width="36" height="36" alt="Firebase" /></a>
</div>
## Connect with me:
<div align="center">
<a href="https://linkedin.com/in/alex-smagin29" target="_blank">
<img src=https://img.shields.io/badge/linkedin-%231E77B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white alt=linkedin style="margin-bottom: 5px;" />
</a>
<a href="https://github.com/alexandrbig1" target="_blank">
<img src=https://img.shields.io/badge/github-%2324292e.svg?&style=for-the-badge&logo=github&logoColor=white alt=github style="margin-bottom: 5px;" />
</a>
<a href="https://discord.gg/uzM3UNQU" target="_blank">
<img src="https://img.shields.io/badge/discord-%237289DA.svg?&style=for-the-badge&logo=discord&logoColor=white" alt="Discord" style="margin-bottom: 5px;" />
</a>
<a href="https://stackoverflow.com/users/22484161/alex-smagin" target="_blank">
<img src=https://img.shields.io/badge/stackoverflow-%23F28032.svg?&style=for-the-badge&logo=stackoverflow&logoColor=white alt=stackoverflow style="margin-bottom: 5px;" />
</a>
<a href="https://dribbble.com/Alexandrbig1" target="_blank">
<img src=https://img.shields.io/badge/dribbble-%23E45285.svg?&style=for-the-badge&logo=dribbble&logoColor=white alt=dribbble style="margin-bottom: 5px;" />
</a>
<a href="https://www.behance.net/a1126" target="_blank">
<img src=https://img.shields.io/badge/behance-%23191919.svg?&style=for-the-badge&logo=behance&logoColor=white alt=behance style="margin-bottom: 5px;" />
</a>
<a href="https://www.upwork.com/freelancers/~0117da9f9f588056d2" target="_blank">
<img src="https://img.shields.io/badge/upwork-%230077B5.svg?&style=for-the-badge&logo=upwork&logoColor=white&color=%23167B02" alt="Upwork" style="margin-bottom: 5px;" />
</a>
</div>
| CampOnWheels offers fully-equipped camping cars for adventurous journeys. Built with Vite, React with Redux, Axios, Framer Motion, and Styled Components, roam freely, embrace nature, and experience the open road's thrill without leaving home comforts behind. | backend,computerscience,css3,frontend,fullstack,html-css-javascript,html5,javascript,js,react | 2024-04-11T19:11:09Z | 2024-04-26T21:32:01Z | null | 1 | 0 | 57 | 0 | 0 | 2 | null | MIT | JavaScript |
danidudileka/Food-Delivery-App-React-JS | main | # Food Delivery App Front-End React JS Project
- Smooth Scrolling
- Smooth animations and effects
- Change Menu Category
- Add to cart & Remove from cart
- View Cart
- Proceed to payment
- Website fully responsive
<img src='./screenshots/5.png'>
<img src='./screenshots/1.png'>
<img src='./screenshots/2.png'>
<img src='./screenshots/3.png'>
<img src='./screenshots/4.png'> | Food Delivery App Front-End Using React JS | css,frontend,javascript,react,reactjs,restaurant-website,vite-template,html5 | 2024-03-20T11:17:13Z | 2024-03-26T04:12:27Z | null | 1 | 0 | 35 | 0 | 0 | 2 | null | null | JavaScript |
pauloimon/gnome-screenshort-cut-extension | main | null | A simple shortcut to take screenshots directly on your top bar | gnome,javascript,screenshot,gnome-shell,gnome-shell-extension,gjs | 2024-03-20T03:31:55Z | 2024-05-03T04:18:47Z | null | 1 | 0 | 12 | 0 | 1 | 2 | null | MIT | JavaScript |
MoSalem149/My_Portfolio-Template | main | # Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes.\
You may also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
If 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.
Instead, 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.
You 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.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This 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)
### Making a Progressive Web App
This 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)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This 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)
| That is my personal portfolio template. | bootstrap5,css3,emailjs,googleanalytics,html5,javascript,reactjs,scss | 2024-04-25T15:23:10Z | 2024-04-25T16:04:09Z | null | 1 | 0 | 6 | 0 | 0 | 2 | null | null | JavaScript |
YemsAla/FemHealthTogether | main | ![CI logo](https://codeinstitute.s3.amazonaws.com/fullstack/ci_logo_small.png)
# FemHealthTogether
## Meno-Together
**Overview**
Menopause affects anyone who menstruates, and refers to the phase of life when periods stop due to lower hormone levels. It usually happens between the ages of 45 and 55, but it can happen earlier. Perimenopause happens in the lead up to menopause - where periods haven't yet stopped (for at least 12 months), but there are symptoms of menopause. These symptoms can be difficult and confusing to deal with when they happen - e.g. anxiety, mood swings, hot flushes, brain fog and forgetfulness, dry skin.. to name but a few - and they can have a big impact on general life, relationships and work.
There is very little general knowledge available about it and unfortunately, it is often surrounded by misconceptions, stigma and lack of understanding, leading to those experiencing menopausal symptoms sometimes feeling embarrassed, isolated and unsupported during this transition.
Partners, colleagues and friends may not know how to recognize the symptoms of menopause or how to provide effective support, resulting in potentially strained relationships and decreased quality of life for anyone experiencing menopause.
As a team, we have recognised there is a lack of support and education for everyone involved when it comes to menopause, so the best approach for us to encourage positive change is to **"MAKE MENOPAUSE EASIER, TOGETHER".**
## Showcase
![Am I Responsive?](/docs/femhealthtogether-responsive.webp "Am I Responsive? Website Mockup")
A **deployed link** to the live website can be found here [Meno-Together Live Website](https://yemsala.github.io/FemHealthTogether/index.html)
## Developers
**Yemi Alade**
Role: Scrum Master & Team Coordinator
[GitHub](https://github.com/YemsAla) - [LinkedIn](https://www.linkedin.com/in/yemi-alade-ldn/)
**Erikas Ramanauskas**
Role: Lead Developer
[GitHub](https://github.com/Erikas-Ramanauskas) - [LinkedIn](https://www.linkedin.com/in/erikas-ramanauskas-full-stack-developer/)
**Georgina Carlisle**
Role: Content Curator & Developer
[GitHub](https://github.com/GeorginaCarlisle) - [LinkedIn](https://www.linkedin.com/in/georgina-carlisle-617b58268/)
**Tarah Waters**
Role: Lead Designer
[GitHub](https://github.com/tarahwaters) - [LinkedIn](https://www.linkedin.com/in/tarahwaters/)
**Rob Killick**
Role: UX/UI Lead
[GitHub](https://github.com/rkillickdev) - [LinkedIn](https://www.linkedin.com/in/rob-killick-7178262a/)
**Asif Hirani**
Role: Contact Page Magician
[GitHub](https://github.com/Asifhirani38) - [LinkedIn](https://www.linkedin.com/in/asif-hirani-complianceofficer/)
**Stefan Ruppe**
Role: Accessibility Advocate & Bug Buster
[GitHub](https://github.com/CsClown/) - [LinkedIn](https://www.linkedin.com/in/stefan-ruppe/)
## Product Vision
**Meno-Together** aims to bridge the current gap in understanding and support for people going through menopause (as well as perimenopause) by providing comprehensive information and resources for partners & other surrounding groups, such as colleagues and friends.
The platform will serve as a one-stop destination for education, empathy and practical tips to help loved ones navigate this significant life transition together.
The overall approach and features have been designed in a friendly, upbeat and inclusive way that hopefully engages all ages and backgrounds, while also providing reliable suggestions from reliable sources online (see References below).
We have considered the use of our language, design and advice across the pages to be as neutral as possible, highlighting that menopause affects not just those who identify as women, and also to appeal more broadly across different age groups. However, it must be stressed that this hackathon project was developed in a very short space of time, so there is more that we aim to do in future to make this a truly inclusive space with extra features of support.
## Features (MVP)
1. Interactive Body Diagram
- Users will be greeted with an interactive diagram of a female body, highlighting different areas affected by menopause
- Clicking on specific body parts will reveal information about the associated symptoms, how common they are and possibly the stage of menopause
- A body diagram and symptoms page per persona (you/partner/friends&family/colleague)
2. Symptom Details
- Each clickable area should provide detailed information about the symptom including its prevalence, the stage of menopause it commonly occurs in and its impact on the body.
- Brief descriptions tailored for partners, colleagues and friends should help them understand what people are experiencing during menopause.
3. Supportive Tips
- Practical tips and suggestions will be provided to advise how best to support someone through their menopausal journey.
- These tips will cover everything from lifestyle changes to effective communication, aimed at easing symptoms and fostering understanding.
## Features (post MVP)
4. Resource Library/Information Hub
- A comprehensive resource library will offer additional information, via articles, videos, and external links for those looking for more in-depth knowledge about menopause.
5. Menopause Tracker
- Provide a brief overview of the stages of menopause, including perimenopause, menopause, and postmenopause on a visual scale
- Integrates with an assessment tool where users can input information about age, menstrual status and symptoms. Based on the inputs, the tool provides an estimate of which stage of menopause the user may be in and offer relevant information and resources.
6. Community forum - post MVP
- A community forum will allow users to connect with others in similar situations, share experiences and offer support.
- Moderated by healthcare professionals and menopause experts, the forum will provide a safe space for open discussion and mutual encouragement.
## **User Stories**
### Epic - Navigation
1 - As a user, a clear navigation bar is present throughout the site, so that I can navigate easily between different pages.
### Epic - Landing Page
2 - As a new user, I can instantly see what the website is about, so that I can understand the value that it may offer me.
### Epic - Contact us
3 - As a user, a contact form is available, so that I can contact the site to request further information.
4 - As a user, a clear success message is displayed on submitting the form, so that I know my message has been successful.
### Epic - The Menopausal Body
5 - As a user, I can view an image of a womans body which highlight's the different areas affected by menopause, so that I can understand all the ways in which the menopause can affect a women.
6 - As a user, I can click on a different area of the body to bring up further information, so that I can learn more about a specific symptom.
7 - As a user, I can read information on the different symptoms of menopause, so that I can learn more about the effects of menopause.
8 - As a user, I can pick up suggestions of how to support a women going through menopause, so that I can support Women who I know you are going through menopause.
### Epic - About the team
9 - As a user, I can read about the team and why this website has been created, so that I can learn the story behind the site.
10 - As a user, I can click to visit the LinkedIn and Github pages for the developers that created the site, so that I can find out more about them and connect should I wish.
## **Wireframes**
Wireframes were created using [Balsamiq](https://balsamiq.com/wireframes/) and used as a blueprint for development of the site layout and structure.
![Mobile Wireframes](docs/wireframes/meno-together-mobile-draft2.png)
These evolved slightly throughout the planning phase. The first draft can be viewed [here](docs/wireframes/meno-together-mobile-draft1.png)
## **Design**
### **Logo**
The logo idea came from generic graphics used online to describe the menopause, in the hope that this would be instantly recognisable - e.g. a female gender symbol with a pause symbol inside the circle part. This could be developed further to improve inclusivity, but a conscious design choice was to move away from the gendered feminine stereotype associated with the colour 'pink', by using a more fluid and neutral colour of 'purple'.
This then inspired the icon for the logo, and in turn, the matching typography that is both upbeat and youthful, hopefully appeals to both young and older generations.
**Horizontal Logo Design for Navbar:**
![Logo Design Horizontal for Navbar](assets/images/logo/logo-with-text.svg "Purple female gender symbol with a pause sign inside to represent the Menopause, with the brand name Meno-Together aligned to the right")
**Smaller Logo Design option with Curved Text:**
![Smaller Logo Design](assets/images/logo/logo-image.svg "Purple female gender symbol with a pause sign inside to represent the Menopause, with the brand name Meno-Together curved over the top")
### **Typography**
**FontJoy** was used to test aesthetic font pairings once the *Fredoka* font was chosen to be most similar to the icon style.
- *Fredoka* - logo font and main headings
- *Karla* - body text
- *Roboto* - as backup body font
- *Sans-serif* - as general backup font
![FontJoy font pairing example screenshot](docs/fontjoy-font-pairing.jpg "Screenshot of font pairings with placeholder text to visualise Fredoka and Karla fonts together")
### **Icons**
The same style of icons generated by **Freepix** (accessed through **Flaticon** - see Credits below) were used throughout the site for interactive features such as, clicking to reveal more information on menopause symptoms.
The examples below were used to represent the 4 different symptom information pages designed for the different support roles: **'For You', 'For Your Partner', 'For Friends & Relatives' and 'For The Workplace'.**
The icon style was in keeping with the overall design approach which gives a gamified, colourful and engaging feel to the website.
![Support Role Icons](docs/design-icons-example.jpg "Icons depicting four different roles for each symptom page in a cartoon illustrated style, from left to right - 3 friends together with colourful hair (Friends & Relatives), 2 romantic partners kissing with a love heart above them (For Your Partner), 2 people stood by a desk at work (For The Workplace), and a torso with a female gender symbol on top (For You)")
### **Colour Scheme**
A colour scheme was developed using **Coloors** (see below for reference), which aligned with the main icons and purple theme. This was used as a basis for background colour choices (though not all were utilised), with an emphasis on consistency with the icon theme and neutrality.
**Colour scheme used as inspiration for styling**:
![Colourscheme image from Coloors](docs/colorscheme-meno-together.png "Purple, grey and blue colour gradient with associated HEX styling codes: 6864F7, 0E1081, 524ED2, BF9CF6, BBC1DA, 052A75")
## Tools and Technologies Used:
- **HTML5**
- **CSS**
- **Bootstrap**
- **JavaScript**
- [GitHub and Github Pages](https://github.com/) - used to securely store the code and to host and deploy the live project
- [GitPod](https://www.gitpod.io/) - used as a cloud-based IDE for development
- [Chrome Developer Tools](https://developer.chrome.com/docs/devtools/) - used for testing and troublshooting code, along with Lighthouse auditing
- [Balsamiq](https://balsamiq.com/wireframes/) - used to create wireframes during project planning
- [redketchup.io](https://redketchup.io/) - used for resizing and converting image files to webp format
- [Canva](https://www.canva.com/) - used to create logo, hero images
- [Coolors](https://coolors.co/) - used to generate a color palette for the website design
- [TinyPNG](https://tinypng.com/) - converting and compressing images
- [FontJoy](https://fontjoy.com/) - used to generate visually appealing font pairings for the website
- [AmIResponsive?](https://ui.dev/amiresponsive?url=https://tarahwaters.github.io/milestone-project2/) - used to create a mockup of the website
- [PhotoPea](https://www.photopea.com/) - used to remove backgrounds and editing of images
## Credits
- [Adobe Stock Images](https://stock.adobe.com/uk/search/images?filters%5Bcontent_type%3Azip_vector%5D=true&hide_panel=true&k=body+outline&search_type=usertyped&asset_id=740103554) - for body diagram image
- [Flaticon icons](https://www.flaticon.com/authors/basic-accent/lineal-color) - colourful link icons ('basic accent lineal color' style) made by [Freepik](https://www.freepik.com/) and accessible through Flaticon, free for usage with credit reference
## References
- Source: British Menopause Society, "Menopause Matters" (2020). [Link - https://www.britishmenopausesociety.org/menopause-faqs/]
- Source: Fiona Clark, Medium Blogpost, "Could it be Menopause? With more than 30 symptoms it can sometimes be hard to tell" (2020). [Link - https://medium.com/@info_30745/could-it-be-menopause-with-more-than-30-symptoms-it-can-sometimes-be-hard-to-tell-eeb399e2eaa2]
- Source: Forth With Life, "How to support your partner through perimenopause" (2023). [Link: https://www.forthwithlife.co.uk/blog/how-to-support-your-partner-through-perimenopause/]
- Source: National Institute for Health and Care Excellence (NICE), "Menopause: Diagnosis and Management" (2015). [Link - https://www.nice.org.uk/guidance/ng23]
- Source: NHS (National Health Service), "Menopause" (2021). [Link - https://www.nhs.uk/conditions/menopause/]
- Source: NHS Inform Scotland, "Menopause and the Workplace" (2023). [Link - https://www.nhsinform.scot/healthy-living/womens-health/later-years-around-50-years-and-over/menopause-and-post-menopause-health/menopause-and-the-workplace/]
- Source: NHS Inform Scotland, "Supporting someone through the menopause" (2023). [Link - https://www.nhsinform.scot/healthy-living/womens-health/later-years-around-50-years-and-over/menopause-and-post-menopause-health/supporting-someone-through-the-menopause//]
- Source: Royal College of Obstetricians and Gynaecologists (RCOG), "Menopause" (2016). [Link - https://www.rcog.org.uk/en/patients/menopause/]
- Source: Menopause UK, "The Menopause Survey 2020". [Link - https://www.menopauseuk.org/for-women/menopause-awareness/menopause-uk-survey-2020]
- Reference for inclusivity: Article: Inclusive Language and the Menopause (GenderGP Transgender Services) [Link - https://www.gendergp.com/blog-menopause-inclusivity/]
- Reference for inclusivity: Clinic Blog Post: LGBTQ+ inclusivity and menopause (The Surrey Park Clinic) [Link - https://thesurreyparkclinic.co.uk/lgbtq-health-menopause/] | null | css,html,javascript,json | 2024-04-22T18:38:36Z | 2024-04-30T18:24:54Z | null | 7 | 70 | 239 | 13 | 1 | 2 | null | null | HTML |