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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DevExpert0101/Resume-Builder-Django-OpenAI | master | # Resume-Builder_Django_OpenAI
This repo contains Django backend and HTML frontend for building resume with Artificial Intelligence.
<img src="page.png" alt="Alt text" title="Optional title">
| A Django App for building resume with AI | ajax,artificial-intelligence,chatbot,chatgpt,cross-platform,css3,django,html,javascript,natural-language-processing | 2023-06-16T15:01:23Z | 2023-06-23T12:16:02Z | null | 1 | 0 | 6 | 0 | 1 | 6 | null | null | HTML |
SH20RAJ/EncriptorJS | main | # EncriptorJS
[](https://badge.fury.io/js/encriptorjs)
[](https://www.jsdelivr.com/package/gh/sh20raj/EncriptorJS)
[](https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2FSH20RAJ%2FEncriptorJS%2F)
EncriptorJS is a JavaScript text encryption library that allows you to securely encrypt and decrypt text. It provides a simple interface to convert your text into an encrypted form and optionally add a key for additional security. Only the correct key can be used to decrypt the text, ensuring that unauthorized access is prevented.
## Installation
You can use EncriptorJS by including the library in your JavaScript project or HTML file.
### In a JavaScript project
1. Download the EncriptorJS library file (`encriptor.js`) from the [GitHub repository](https://github.com/sh20raj/EncriptorJS).
2. Move the `encriptor.js` file into your project directory.
3. In your JavaScript file, import the EncriptorJS library:
```javascript
import Encriptor from './encriptor.module.js';
```
or Use
```bash
npm i encriptorjs
```
```javascript
import Encriptor from 'encriptorjs';
```
### In an HTML file
1. Download the EncriptorJS library file (`encriptor.js`) from the [GitHub repository](https://github.com/sh20raj/EncriptorJS) or [NPMJS](https://www.npmjs.com/package/encriptorjs).
2. Move the `encriptor.js` file into your project directory.
3. In your HTML file, add the following script tag:
```html
<script src="encriptor.js"></script>
```
or
```html
<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/EncriptorJS@main/encriptor.min.js"></script>
```
## Usage
Once you have included the EncriptorJS library in your project, you can start encrypting and decrypting text.
### Encrypting Text
To encrypt text, use the `encrypt` method of the `Encriptor` object. Here's an example:
```javascript
const text = 'My name is Sh';
const key = '1234';
const encryptedText = Encriptor.encrypt(text, key);
console.log(encryptedText); // Outputs: 'Kcdew9zdYidBf'
```
The `encrypt` method takes two parameters: the `text` you want to encrypt and an optional `key` for additional security. It is recommended to use only digits in the `key` parameter. It returns the encrypted text.
### Decrypting Text
To decrypt the encrypted text, use the `decrypt` method of the `Encriptor` object. Here's an example:
```javascript
const encryptedText = 'Kcdew9zdYidBf'; // Replace with the encrypted text
const key = '1234';
const decryptedText = Encriptor.decrypt(encryptedText, key);
console.log(decryptedText); // Outputs: 'My name is Sh'
```
The `decrypt` method takes two parameters: the `encryptedText` you want to decrypt and the `key` used during encryption. It returns the decrypted text.
### Shuffling Strings
The EncriptorJS library also provides a utility function called `shuffleString` that can be used to shuffle strings using a key. Here's how you can use it:
```javascript
const text = 'Hello, World!';
const shuffledText = Encriptor.shuffleString(text, 42);
console.log(shuffledText); // Outputs a shuffled version of the input string
```
The `shuffleString` function takes a `text` parameter as the input string and an optional `key` parameter used to initialize the random number generator. By using the same key, you can obtain the same shuffled result. This function can be used for encryption purposes or to shuffle strings for other applications.
Please note that the `shuffleString` function alone does not provide strong encryption. For secure encryption, it is recommended to use well-established encryption algorithms and libraries designed for that purpose.
`Encriptor.shuffle(text)` always gives different shuffled pattern.
## Examples
You can find more examples in the [examples](https://replit.com/@SH20RAJ/EncriptorJS) directory of this repository. The examples demonstrate various use cases of the EncriptorJS library.
## License
This project is licensed under the [MIT License](./LICENSE).
## Refrences
> https://dev.to/sh20raj/creating-a-custom-javascript-function-to-shuffle-strings-with-a-key-parameter-3c8a
> https://dev.to/sh20raj/introducing-encriptorjs-secure-text-encryption-and-decryption-in-javascript-a-jwt-easy-to-use-alternative-l02
| EncriptorJS is a JavaScript text encryption library that allows you to securely encrypt and decrypt text. It provides a simple interface to convert your text into an encrypted form and optionally add a key for additional security. Only the correct key can be used to decrypt the text, ensuring that unauthorized access is prevented. | encryption,encryption-decryption,javascript,security-tools,sh20raj | 2023-06-09T15:39:31Z | 2024-04-08T01:25:12Z | null | 1 | 0 | 20 | 1 | 0 | 6 | null | null | JavaScript |
Davilarek/TekstoLibre | master | # TekstoLibre
A free & open source Tekstowo front-end.
It currently uses latest build of [Tekstowo-Unofficial-API](https://github.com/Davilarek/Tekstowo-Unofficial-API) with SirJoshProxy option.
## Self-hosting
To self host, you need to have Node.js installed (latest LTS recommended).
1. Clone this repo
2. `cd` to your cloned directory
3. `node server.js`
## Features
- [x] Search bar
- [x] Lyrics + translation view
- [x] "Go to official" button
- [x] Artist's song list
- [ ] Artist details
- [ ] Popular songs list
- [ ] Popular artists list
- [ ] Wanted translations list
- [ ] Wanted lyrics list
- [ ] Translation edit history
- [ ] Lyrics edit history
- [x] Comments view
- [x] Song's video
## Not planned
- Same as in [Tekstowo-Unofficial-API#not-planned](https://github.com/Davilarek/Tekstowo-Unofficial-API#not-planned)
- Autocomplete for search
- White theme (?)
| A free & open source Tekstowo front-end. | alternative-frontend,alternative-frontends,javascript,self-hosted | 2023-06-26T16:06:42Z | 2024-05-21T20:45:17Z | null | 1 | 0 | 45 | 2 | 0 | 6 | null | MIT | JavaScript |
LiveWithCodeAnkit/React-CURD-With-Authentication | master | # Small React Web Application
This is a small React web application that includes various features such as registration, login, URL restriction, age calculator, currency calculator, user listing, and CRUD operations for registered users. The application utilizes React Validation with Formik and Yup for registration form validation and employs Tailwind CSS for styling.
## Features
- Registration: Users can register by filling out a registration form that includes validation using React Validation with Formik and Yup.
- Login: Registered users can log in using their credentials.
- URL Restriction: Certain URLs or routes may have restricted access based on user roles or permissions.
- Age Calculator: Users can calculate their age by providing their birthdate.
- Currency Calculator: Users can perform currency conversions using the provided currency exchange rates.
- User Listing: Registered users are listed, displaying their basic information.
- CRUD Operations: CRUD (Create, Read, Update, Delete) operations can be performed on registered users.
## Technologies Used
- React
- React Validation with Formik and Yup
- Tailwind CSS
## Installation
To run the application locally, follow these steps:
1. Clone the repository: `git clone [repository-url]`
2. Navigate to the project directory: `cd [project-directory]`
3. Install the dependencies: `npm install`
4. Start the application: `npm start`
## Usage
Provide instructions on how to use or interact with the different features of the application.
## Contributing
Specify guidelines for others who wish to contribute to the project or mention if contributions are not currently accepted.
## License
Include information about the license under which your project is distributed (e.g., MIT License, Apache License 2.0).
| This is a small React web application that includes various features such as registration, login, URL restriction, age calculator, currency calculator, user listing, and CRUD operations for registered users. The application utilizes React Validation with Formik and Yup for registration form validation and employs Tailwind CSS for styling. | html-css-javascript,javascript,react,reactrouterdom,tailwindcss | 2023-06-19T18:30:36Z | 2023-06-19T18:51:26Z | null | 1 | 0 | 2 | 0 | 1 | 6 | null | null | JavaScript |
nsaini-05/Bankist-Operations | main | # Bankist-Operations



# Bankist
Bankist is an imaginary and simple online banking application that provides a seamless digital banking experience. It offers
- Login/Logout
- Transfer
- Deposit
- Close Account
- Session Management
## What is Bankist ?
[Bankist](https://bankist-operations.vercel.app/) is an imaginative and user-friendly online banking platform. While incorporating all the essential features of a real-world bank, Bankist also introduces some notable enhancements in terms of UI design and extended session management. This project was part of an online course. additionally, the session management functionality has been extended to ensure enhanced security and uninterrupted access for users.
## Accessing Accounts
Here are the login credentials for accessing the bank functionality. All the data is stored and retrieved from local storage. Remember that the username should always be in lowercase when logging in.
### Account One
- Username: bt
- Password: 111
### Account Two
- Username: ej
- Password: 2222
## Technologies Used
- HTML
- CSS
- JavaScript
| 💰 Bankist: An imaginative and user-friendly online banking platform. This project was created in order to practice DOM Manipulation, Login/Logout and building interactive UI. Inspired from real world bank it offers transfer, request money and close account. Try it out and read readme for description. | bank-dashboard,banking-system,bankist-app,bankist-website,dom-manipulation,event-handlers,javascript,session,simple-landing-page,simple-project | 2023-06-29T05:07:17Z | 2023-08-09T00:15:09Z | null | 1 | 0 | 29 | 1 | 2 | 6 | null | null | JavaScript |
jadaun-sahab/Grappus-clone | main | # Grappus-clone
a product development studio
| a product development studio | css,css3,html,html5,javascript | 2023-06-27T07:12:58Z | 2023-07-11T16:03:21Z | null | 1 | 0 | 1,943 | 1 | 0 | 6 | null | null | HTML |
janpabisiak/weather-app | main | # Weather App
A weather app written in JavaScript with a completely Model-View-Controller Architecture. There are two ways to fetch weather data:
- By writing the city name in the specified input element and clicking the Search button (Enter key works the same way),
- By clicking the small satellite icon, which represents geolocation, this method fetches your device's location using the Geolocation API, a built-in JavaScript feature. It then checks the weather for the city corresponding to your coordinates.
The Weather App uses the Parcel NPM module. The compiled and ready-to-use files are located in the "public" git branch. The source code of this project can be found in the src folder.
# Credits
This app is based on the open-meteo.com and nominatim.openstreetmap.org APIs. The favicon image is artwork by Freepik, sourced from Flaticon.com. All SVG icons included in this project are from the Material Design Icons website.
# Author & License
The project was created by Jan Pabisiak and it is using the MIT License.
| A weather app written in JavaScript with a completely Model-View-Controller Architecture. | geolocation,javascript,mvc-architecture,weather,weather-app,web-app,web-development | 2023-06-29T11:02:11Z | 2023-07-18T09:19:01Z | null | 1 | 4 | 9 | 0 | 1 | 6 | null | MIT | JavaScript |
mk314k/2048 | main | # 2048
Welcome to the 2048 GitHub repository! This repository contains the source code and deployment configuration for the 2048 game, which can be played at [mk314k.github.io/2048/](https://mk314k.github.io/2048/).
The game is built using the following technologies:
- Vite: A fast build tooling framework for modern web projects.
- TypeScript: A typed superset of JavaScript that compiles to plain JavaScript.
- React: A JavaScript library for building user interfaces.
## How to Play
The goal of the game is to combine numbered tiles to reach the 2048 tile. You can use the arrow keys (up, down, left, right) to move the tiles in the corresponding direction. When two tiles with the same number collide, they merge into one tile with double the value. After each move, a new tile will appear randomly on the board.
<!-- ## Getting Started
To run the game locally on your machine, follow these steps:
1. Clone this repository: `git clone https://github.com/mk314k/2048.git`
2. Navigate to the project directory: `cd 2048`
3. Install the dependencies: `npm install`
4. Start the development server: `npm run dev`
5. Open your web browser and visit `http://localhost:5173` to play the game. -->
## Preview

<!-- ## Project Structure
The repository structure is organized as follows:
- `public/`: Contains static assets such as the HTML template and favicon.
- `src/`: Contains the source code for the game.
- `components/`: Contains reusable React components used in the game.
- `constants/`: Contains constant values used in the game.
- `helpers/`: Contains helper functions for game logic.
- `styles/`: Contains CSS styles for the game.
- `App.tsx`: The main React component that renders the game.
- `index.tsx`: The entry point of the application. -->
<!-- ## Deployment -->
<!-- The game is automatically deployed to [mk314k.github.io/2048/](https://mk314k.github.io/2048/) whenever changes are pushed to the `main` branch of this repository. The deployment is configured using GitHub Pages. -->
<!-- ## Contributing
Contributions to this project are welcome! If you find any bugs or have suggestions for improvements, feel free to open an issue or submit a pull request.
Before contributing, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file for more information on how to get started and the development guidelines. -->
## License
This project is licensed under the [MIT License](LICENSE).
## Acknowledgments
The game is inspired by the original 2048 game created by Gabriele Cirulli.
## Contact
If you have any questions or need further assistance, you can reach out to the project maintainer via email at [mk314k@mit.edu].
Thank you for visiting the 2048 GitHub repository! Enjoy playing the game! | 2048 Game | css,game,html5,javascript,reactjs,typescript,vite | 2023-06-28T20:08:01Z | 2024-01-21T07:21:34Z | null | 1 | 0 | 12 | 0 | 0 | 6 | null | MIT | CSS |
focus1691/indicator-library | master | # Technical Analysis Library Starter Project
This project is a starter pack for anyone looking to get started with technical analysis in trading. It's built using the NestJS framework and employs a monorepo structure with a library folder.
## Features
- **Market Profile**
- Excess
- Single Prints
- Poor High/Low
- Ledges
- Initial Balance
- Open Type
- Naked Point of Control
- **Value Area**
- POC, VAH, VAL, EQ, Low, High
- Exponential Moving Average (EMA)
- Simple Moving Average (SMA)
- Open Interest Sentiment
- Peak Detector
- Range Detector
- Average True Range (ATR)
- Linear Regression
- Volume Weighted Average Price (VWAP)
- Z-Scores
## Getting Started
To get started with this project:
1. Clone the repository:
```bash
git clone git@github.com:focus1691/indicator-library.git
```
2. Navigate into the project directory:
```bash
cd indicator-library
```
3. Install the dependencies:
```bash
npm install
```
4. Start the development server:
```bash
npm run start
```
## Contributing
Contributions are welcome! If you're interested in improving the library, fixing bugs, or adding new indicators, please feel free to fork the repository and submit a pull request.
## License
This project is licensed under the [MIT License](LICENSE). | NestJS Indicator library for trading: Market Profile (Single Prints, Excess, Ledges, IB, Value Area) | crypto,javascript,nestjs,technical-analysis,technical-indicators,trading,trading-algorithms,typescript | 2023-06-13T20:36:07Z | 2023-11-25T17:53:41Z | null | 1 | 0 | 25 | 0 | 2 | 6 | null | null | TypeScript |
mohammadali-arjomand/singlightjs | master | # Singlight

SinglightJs is a light-weight, open-source, free, powerful and easy-to-use Javascript library for creating SPAs. It's a super-light-weight library. size of minified SinglightJs file is less than `8KB`. It's very fast and high-performance.
# Guide
- [Document](https://github.com/mohammadali-arjomand/singlightjs/wiki)
- [Examples](https://github.com/mohammadali-arjomand/singlightjs-examples)
# Ecosystem
- [Singlighter](https://github.com/mohammadali-arjomand/singlighter)
# License
MIT License - Copyright (c) 2023, MohammadAli Arjomand
| A light-weight, open-source, free, powerful and easy-to-use Javascript library for creating SPAs | javascript-framework,single-page-app,single-page-applications,spa,front-end,javascript,router,single-spa,single-spa-application,template-builder | 2023-06-23T04:28:06Z | 2023-09-16T08:42:10Z | 2023-09-15T15:10:18Z | 1 | 0 | 152 | 0 | 0 | 6 | null | MIT | JavaScript |
Bibiwei-Pere/Time-tracking-app | main | ### Time tracking dashboard solution
This is a solution to the [Time tracking dashboard challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/time-tracking-dashboard-UIQ7167Jw).
### Screenshot
<img src="/design/active-states.jpg" />
### Links
- [Live Site URL](https://Timetracking01.netlify.app)
## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- Javascript
## Author
- Website - [Bibiwei Pere](https://perebibiwei.netlify.app)
- Frontend Mentor - [@Bibiwei-Pere](https://www.frontendmentor.io/profile/Bibiwei-Pere)
- Twitter - [@Bibiwei_Pere](https://www.twitter.com/Bibiwei_Pere) | Fitness tracker app that keeps record of activities done in the past and activities to be carried out in the future | frontend-mentor,javascript,time,time-tracker-app,time-tracking-app | 2023-06-26T21:21:36Z | 2023-07-08T01:07:37Z | null | 1 | 0 | 3 | 0 | 0 | 6 | null | null | CSS |
AlirezaAbd-dev/Bolboler | master | <div align="center">
# Bolboler
## It's just a twitter like web application.
### You can see the deployed project just by [clicking here](https://Bolboler.vercel.app)
<br/>
<br/>
# Language and technologies used in This Project














<br/>
<br/>
<br/>
# Dark Mode
### Home

### Profile

### Tweet

<br/>
# Light Mode
### Home

### Profile

### Tweet

</div>
<br/>
# **Abilities**
- Fully Responsive
- Able To:
- Authentication & Authorization:
- Able To SignIn, Log and Logout with discord
- Tweets:
- Able To add Tweet
- Able To edit Tweet
- Able To delete Tweet
- Able To Infinite Scroll On Tweets
- Follow:
- Able To Follow other users
- Able To Be Followed By Other Users
- Able To See Followers
- Able To See Followings
- Theme:
- Able To Understand System Theme And Set It On Website
- Able To Change Theme Between Dark & Light | It's a twitter like website, named Bolboler :) | javascript,jsx,mysql,nextjs,planetscale,prisma,react,ssr,tailwindcss,trpc | 2023-06-28T19:41:31Z | 2023-07-28T14:47:27Z | 2023-07-25T09:25:09Z | 1 | 2 | 210 | 0 | 0 | 6 | null | MIT | TypeScript |
bnbong/Project-Pinned | main | # 핀드 - 내 추억 속의 랜드마크
<공모전 출품용> 지역 랜드마크와 관련된 내 추억을 공유하는 지도 기반 웹 SNS 서비스
SNS Link(Disabled): [Link](https://mypinnedlandmark.bnbong.tk/)
## Developers
1. 이준혁 (팀장, 백엔드, 프로젝트 설계 및 디자인, 스프린트 매니징, 아키텍처 설계)
2. 박종윤 (백엔드, API 테스트)
3. 최수용 (프론트엔드, UI/UX 디자인 및 구현)
4. 허재원 (프론트엔드, UI/UX 디자인 및 구현)
# About App
## 1. Stack
* Framework: Backend - Django, Python / Frontend - Next.js, tailwind.css
* DB: PostgreSQL
* Cache DB: Redis
* Proxy: Nginx
* Container: Docker
## 2. Directory Tree
```
├── .github (sources of github templates)
├── project_pinned (backend sources)
│ ├── project_pinned (sources)
│ │ └── source files ...
│ ├── Dockerfile (백엔드 앱 컨테이너 빌드 파일)
│ ├── manage.py
│ ├── setup.cfg (linter or test env configurations)
│ ├── setup.py (configurations)
│ ├── serviceAccountKey.json (개발자 각자 반드시 개인적으로 받아야 하는 파일)
│ ├── requirements.txt (백엔드 프로젝트 의존성 파일)
│ └── .env (개발자 각자 반드시 개인적으로 받아야 하는 파일)
│
├── nginx (proxy service)
│
├── front (frontend sources)
│ ├── components
│ │ └── source files ...
│ ├── contexts
│ │ └── source files ...
│ ├── HOC
│ │ └── source files ...
│ ├── hook
│ │ └── source files ...
│ ├── pages
│ │ └── source files ...
│ ├── public
│ │ └── source files ...
│ ├── styles
│ │ └── source files ...
│ ├── utils
│ │ └── source files ...
│ ├── .babelrc
│ ├── .dockerignore
│ ├── .env (개발자 각자 반드시 개인적으로 받아야 하는 파일)
│ ├── .eslintrc.json
│ ├── .gitignore
│ ├── Dockerfile (프론트 앱 컨테이너 빌드 파일)
│ ├── jsonconfig.json
│ ├── next,config.js
│ ├── package.json
│ ├── package-lock.json
│ ├── postcss.config.js (framework config file)
│ ├── tailwind.config.js (framework config file)
│ └── README.md
├── .env (개발자 각자 반드시 개인적으로 받아야 하는 파일)
├── .gitignore
├── docker-compose.yml (build containers for development)
├── docker-compose.test.yml (build containers for before deployment, check availability)
├── docker-compose.prod.yml (build containers for production)
├── scripts
│ ├── apitest.sh (API test script - backend)
│ ├── build_dev.sh (build script for development)
│ ├── build_test.sh (build script for before deployment, check availability)
│ └── build_prod.sh (build script for production)
└── README.md
```
## 3. API Docs
API endpoint에 대한 설명이 기재되어 있습니다:
- [Swagger Link](https://mypinnedlandmark.bnbong.tk/api/swagger)
- [Github wiki Link](https://github.com/bnbong/Project-Pinned/wiki/API-documentation)
## 4. DB Schemas
PostgreSQL Database에 구현된 Table에 대한 schema가 정의되어 있습니다: [Link](https://github.com/bnbong/Project-Pinned/wiki/DB-Schemas)
## 5. UI/UX Diagrams
프론트 뷰에 구현된 UI/UX 다이어그램이 정의되어 있습니다(업로드 예정): [Link](https://github.com/bnbong/Project-Pinned/wiki/UI-UX-Diagram)
# Contribution Guide
## 필수 환경
- Python 3.10.10 버전 이상 혹은 해당 버전의 Python
- Git
- Docker
## 개발 환경 구성
1. 현재 github repository를 작업할 Local 디렉토리에 clone: `git clone git@github.com:bnbong/Project-Pinned.git`
2. 디렉토리에 python 가상 환경을 구성: `python -m venv pinn-venv`
3. python 가상 환경으로 접속:
- Mac / Linux: `source pinn-venv/bin/activate`
- Window: `.pinn-venv/Scripts/activate`
4. 의존성 설치: `pip install -r requirements.txt`
5. IDE가 venv 속 python과 linter로 pylint를 사용하도록 변경: `depends on your IDE environment.`
6. 공유받은 .env 파일을 프로젝트 디렉토리에 저장: `없다면 팀장에게 개인 연락 혹은 메일하기 (bbbong9@gmail.com)`
7. 정의된 컨테이너들을 빌드: `bash scripts/build_dev.sh`
8. 프론트 앱을 빌드: `cd front & npm install & npm run build & npm run dev`
9. 컨테이너들이 정상적으로 빌드가 되었는지 확인.
10. localhost 환경에서 개발하기, 이때 프론트 앱은 `localhost:3000`에서 확인 가능(**브라우저의 CORS 기능을 꺼준 상태에서 개발하기**).
11. 개발이 완료되면 컨테이너들을 종료: `bash scripts/stop_dev.sh`
12. 파이썬 가상환경을 종료: `deactivate`
## Contribution Guide
코딩 컨벤션, 커밋 메시지 작성 방법, branch 전략, document contribution 방법이 기재되어 있습니다: [Link](https://github.com/bnbong/Project-Pinned/wiki/Contribution-Guide)
| <공모전 출품용> 지역 랜드마크와 관련된 내 추억을 공유하는 지도 기반 웹 SNS 서비스 | django,docker,docker-compose,python,react,reactjs,rest-api,restful-api,js,javascript | 2023-06-16T08:21:43Z | 2023-09-27T14:10:33Z | 2023-09-05T05:32:02Z | 4 | 27 | 342 | 0 | 3 | 6 | null | null | JavaScript |
stamat/poops | main | # 💩 Poops [](https://www.npmjs.com/package/poops)
Straightforward, no-bullshit bundler for the web.
> When your day is long
>
> And the night, the night is yours alone
>
> When you're sure you've had enough
>
> Of these bundlers, well hang on
>
> Don't let yourself go
>
> 'Cause everybody poops
>
> Everybody poops sometimes
[R.E.M. - Everybody Poops :poop:](https://www.youtube.com/watch?v=5rOiW_xY-kc)
----
Intuitive with a minimal learning curve and minimal docs, utilizing the most efficient transpilers and compilers available (like [dart-sass](https://sass-lang.com/dart-sass) and [esbuild](https://esbuild.github.io/)) Poops aims to be the simplest bundler option there is. If it's not, please do contribute so we can make it so! 🙏 All ideas and contributions are welcome.
It uses a simple config file where you define your input and output paths and it poops out your bundled files. Simple as that.
## Features
* Bundles SCSS/SASS to CSS
* Uses [dart-sass](https://sass-lang.com/dart-sass) for SCSS/SASS bundling
* Bundles JS/TS to IIFE/ESM/CJS
* Uses [esbuild](https://esbuild.github.io/) for bundling and trinspiling JS/TS to IIFE/ESM/CJS
* Optional JS and CSS minification using [esbuild](https://esbuild.github.io/)
* Can produce minified code simultaneously with non-minified code! (cause I always forget to minify my code for production)
* Supports source maps only for non minified - non production code (optional)
* Supports multiple input and output paths
* Resolves node modules
* Can add a templatable banner to output files (optional)
* Static site generation with [nunjucks](https://mozilla.github.io/nunjucks/) templating, with blogging option (optional)
* Has a configurable local server (optional)
* Rebuilds on file changes (optional)
* Live reloads on file changes (optional)
## Quick Start
> For a superfast start, you can use the Poops template repository: [💩🌪️Shitstorm](https://github.com/stamat/shitstorm)
You can install Poops globally:
```bash
npm i -g poops
```
or locally:
```bash
npm i -D poops
```
If you have installed Poops globally, create a `poops.json` or `💩.json` configuration file in the project root (see [Configuration](#configuration) on how to configure) and run:
`poops` or `💩`
or pass a custom config. This is useful when you have multiple environments:
`poops yourAwesomeConfig.json` or `💩 yourAwesomeConfig.json`
If you have installed Poops locally you can run it with `npx poops` or `npx 💩` or add a script to your `package.json`:
```json
{
"scripts": {
"build": "npx poops" // or "npx 💩"
}
}
```
## Configuration
Configuring Poops is simple 😌. Let's presume that we have a `example/src/scss` and `example/src/js` directories and we want to bundle the files into `example/dist/css` and `example/dist/js`. If you also have markup files, you can use [nunjucks](https://mozilla.github.io/nunjucks/) templating engine to generate HTML files from your templates. Let's presume that we have a `example/src/markup` directory and we want to generate HTML files in the root of the your directory.
Just create a `poops.json` file in the root of your project and add the following (you can see this sample config in this repo's root):
```json
{
"scripts": [{
"in": "example/src/js/main.ts",
"out": "example/dist/js/scripts.js",
"options": {
"sourcemap": true,
"minify": true,
"justMinified": false,
"format": "iife",
"target": "es2019"
}
}],
"styles": [{
"in": "example/src/scss/index.scss",
"out": "example/dist/css/styles.css",
"options": {
"sourcemap": true,
"minify": true,
"justMinified": false
}
}],
"markup": {
"in": "example/src/markup",
"out": "/",
"options": {
"site": {
"title": "Poops",
"description": "A super simple bundler for simple web projects."
},
"data": [
"example/src/markup/data/links.json",
"example/src/markup/data/poops.yaml"
],
"includePaths": [
"example/src/markup/_layouts",
"example/src/markup/_partials"
]
}
},
"banner": "/* {{ name }} v{{ version }} | {{ homepage }} | {{ license }} License */",
"serve" : {
"port": 4040,
"base": "/"
},
"livereload": true,
"watch": [
"src"
],
"includePaths": [
"node_modules"
]
}
```
All config properties are optional except `scripts`, `styles` or `markups`. You have to specify at least one of them. If you don't have anything to consume, you won't poop. 💩
You can freely remove the properties that you don't need. For example, if you don't want to run a local server, just remove the `serve` property from the config.
### Scripts
Scripts are bundled with [esbuild](https://esbuild.github.io/). You can specify multiple scripts to bundle. Each script has the following properties:
* `in` - the input path, can be an array of file paths, but please just use one file path per script
* `out` - the output path, can be a directory or a file path, but please just use it as a filename
* `options` - the options for the bundler. You can apply most of the esbuild options that are not in conflict with Poops. See [esbuild's options](https://esbuild.github.io/api/#build-api) for more info.
**Options:**
* `sourcemap` - whether to generate sourcemaps or not, sourcemaps are generated only for non-minified files since they are useful for debugging. Default is `false`. This is a direct esbuild option
* `minify` - whether to minify the output or not, minification is performed by `esbuild` and is only applied to non-minified files. Default is `false`
* `justMinified` - whether you want to have a minified file as output only. Removes the non-minified file from the output. Useful for production builds. Default is `false`
* `format` - the output format, can be `iife` or `esm` or `cjs` - this is a direct esbuild option
* `target` - the target for the output, can be `es2018` or `es2019` or `es2020` or `esnext` for instance - this is a direct esbuild option
`scripts` property can accept an array of script configurations or just a single script configuration. If you want to bundle multiple scripts, just add them to the `scripts` array:
```json
{
"scripts": [
{
"in": "src/js/main.ts",
"out": "dist/js/scripts.js",
"options": {
"sourcemap": true,
"minify": true,
"justMinified": false,
"format": "iife",
"target": "es2019"
}
},
{
"in": "src/js/other.ts",
"out": "dist/js/other.js",
"options": {
"sourcemap": true,
"minify": true,
"justMinified": false,
"format": "iife",
"target": "es2019"
}
}
]
}
```
As noted earlier, if you don't want to bundle scripts, just remove the `scripts` property from the config.
### Styles
Styles are bundled with [Dart Sass](https://sass-lang.com/dart-sass). You can specify multiple styles to bundle. Each style has the following properties:
* `in` - the input path, accepts only a path to a file
* `out` - the output path, can be a directory or a file path, but please just use it as a filename
* `options` - the options for the bundler.
**Options:**
* `sourcemap` - whether to generate sourcemaps or not, sourcemaps are generated only for non-minified files since they are useful for debugging. Default is `false`
* `minify` - whether to minify the output or not, minification is performed by `esbuild`. Default is `false`
* `justMinified` - whether you want to have a minified file as output only. Removes the non-minified file from the output. Useful for production builds. Defaults to `false`.
`styles` property can accept an array of style configurations or just a single style configuration. If you want to bundle multiple styles, just add them to the `styles` array:
```json
{
"styles": [
{
"in": "src/scss/main.scss",
"out": "dist/css/styles.css",
"options": {
"sourcemap": true,
"minify": true,
"justMinified": false
}
},
{
"in": "src/scss/other.scss",
"out": "dist/css/other.css",
"options": {
"sourcemap": true,
"minify": true,
"justMinified": false
}
}
]
}
```
As noted earlier, if you don't want to bundle styles, just remove the `styles` property from the config.
### Markups 🚧
Poops can generate static pages for you. This feature is still under development, but available for testing from the v1.0.2. Your markup is templated with [nunjucks](https://mozilla.github.io/nunjucks/). You can specify multiple markup directories to template. **It's currently recommended to specify only one markup directory since this feature is still WIP 🚧.** Each markup directory has the following properties:
* `in` - the input path, can be a directory or a file path, but please just use it as a directory path for now. All files in this directory will be processed and the structure of the directory will be preserved in the output directory with exception to directories that begin with an underscore `_` will be ignored.
* `out` - the output path, can be only a directory path (for now)
* `site` (optional) - global data that will be available to all templates in the markup directory. Like site title, description, social media links, etc. You can then use this data in your templates `{{ site.title }}` for instance.
* `data` (optional) - is an array of JSON or YAML data files, that once loaded will be available to all templates in the markup directory. If you provide a path to a file for instance `links.json` with a `facebook` property, you can then use this data in your templates `{{ links.facebook }}`. The base name of the file will be used as the variable name, with spaces, dashes and dots replaced with underscores. So `the awesome-links.json` will be available as `{{ the_awesome_links.facebook }}` in your templates. The root directory of the data files is `in` directory. So if you have a `data` directory in your `in` directory, you can specify the data files like this `data: ["data/links.json"]`. The same goes for the YAML files.
* `includePaths` (WIP 🚧) - an array of paths to directories that will be added to the nunjucks include paths. Useful if you want to separate template partials and layouts. For instance, if you have a `_includes` directory with a `header.njk` partial that you want to include in your markup, you can add it to the include paths and then include the templates like this `{% include "header.njk" %}`, without specifying the full path to the partial. This will change in the future, to provide better ignore and include patterns for the markup directories.
**💡 NOTE:** If, for instance, you are building a simple static onepager for your library, and want to pass a version variable from your `package.json`, Poops automatically reads your `package.json` if it exists in your working directory and sets the golobal variable `package` to the parsed JSON. So you can use it in your markup files, for example like this: `{{ package.version }}`.
Here is a sample markup configuration:
```JSON
{
"markups": {
"in": "src/markup",
"out": "dist",
"options": {
"site": {
"title": "My Awesome Site",
"description": "This is my awesome site"
},
"data": [
"data/links.json",
"data/other.yaml"
],
"includePaths": [
"_includes"
]
}
}
}
```
If your project doesn't have markups, you can remove the `markups` property from the config entirely. No code will be executed for this property.
#### Custom Filters
* `slugify` - slugifies a string. Usage: `{{ "My Awesome Title" | slugify }}` will output `my-awesome-title`
### Banner (optional)
Here you can specify a banner that will be added to the top of the output files. It is templatable via mustache. The following variables are available from your project's `package.json`:
* `name`
* `version`
* `homepage`
* `license`
* `author`
* `description`
Here is a sample banner template.
```
/* {{ name }} v{{ version }} | {{ homepage }} | {{ license }} License */
```
You can always pass just a string, you don't have to template it.
If you don't want to add a banner, just remove the `banner` property from the config.
### Local Server (optional)
Sets up a local server for your project.
Server options:
* `port` - the port on which the server will run
* `base` - the base path of the server, where your HTML files are located
If you don't want to run a local server, just remove the `serve` property from the config.
### Live Reload (optional)
Sets up a livereload server for your project.
Live reload options:
* `port` - the port on which the livereload server will run
* `exclude` - an array of files and directories to exclude from livereload
`livereload` can only be `true`, which means that it will run on the default port (`35729`) or you can specify a port:
```json
{
"livereload": {
"port": whateverPortYouWant
}
}
```
You can also exclude files and directories from livereload:
```json
{
"livereload": {
"exclude": [
"some_directory/**/*",
"some_other_directory/**/*"
]
}
}
```
In order for Livereload to work, you need to add the following script snippet to your HTML files in your development environment:
```html
<script>document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':35729/livereload.js?snipver=1"></'
+ 'script>')</script>
```
Be mindful of the port, if you have specified a custom port, you need to change the port in the snippet as well.
You can also use a browser extension for livereload, for instance here is one for [Chrome](https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei?hl=en). You can find also extensions for Firefox and Opera, but NOT for Safari.
If you don't want to run livereload, just remove the `livereload` property from the config, or set it to false.
### Watch (optional)
Sets up a watcher for your project which will rebuild your files on change.
`watch` property accepts an array of paths to watch for changes. If you want to watch for changes in the `src` directory, just add it to the `watch` array:
```json
{
"watch": [
"src"
]
}
```
If you don't want to watch for file changes, just remove the `watch` property from the config.
### Include Paths (optional)
This property is used to specify paths that you want to resolve your imports from. Like `node_modules`. You don't need to specify the `includePaths`, `node_modules` are included by default. But if you do specify `includePaths`, you need to include `node_modules` as well, since this change will override the default behavior.
Same as `watch` property, `includePaths` accepts an array of paths to include. If you want to include `lib` directory for instance, just add it to the `includePaths` array:
```json
{
"includePaths": [
"node_modules", "lib"
]
}
```
## Todo
* [ ] Run esbuild for each input path individually if there are multiple input paths
* [ ] Styles `in` should be able to support array of inputs like we have it on scripts
* [ ] Build a cli config creation helper tool. If the user doesn't have a config file, we can ask them a few questions and create a config file for them. Create Yeoman generator for poops projects.
* [ ] Support for LESS styles... I guess... And Stylus... I guess...
* [x] Add nunjucks static templating
* [ ] Refactor nunjucks implementation
* [ ] Complete documentation for nunjucks
* [x] Add markdown support
* [x] Front Matter support
* [ ] Future implementation: alternative templating engine liquidjs?
* [x] Future implementation: posts and custom collections, so we can have a real static site generator
* [x] Collection pagination system
* [x] Post published toggle
* [x] RSS and ATOM generation for collections
* [ ] Refactor!!!!
## Why?
Why doesn't anyone maintain GULP anymore? Why does Parcel hate config files? Why are Rollup and Webpack so complex to setup for simple tasks? Vite???? What's going on?
I'm tired... Tired of bullshit... I just want to bundle my scss/sass and/or my js/ts to css and iife/esm js, by providing input and output paths for both/one. And to be able to have minimal easily maintainable dependencies. I don't need plugins, I'll add the features manually for the practice I use. That's it. The f**king end.
To better illustrate it, here is a sample diff of Poops replacing Rollup:

This is a bundler written by me for myself and those like me. Hopefully it's helpful to you too.
Love :heart: and peace :v:.
| 💩 Straightforward, no-bullshit bundler for the web. | bundler,javascript,sass,toolchain-script,static-site-generator,nunjucks,dart-sass,esbuild | 2023-06-16T19:47:18Z | 2024-02-12T23:16:06Z | 2023-10-12T16:19:14Z | 1 | 21 | 222 | 2 | 1 | 6 | null | MIT | JavaScript |
ezioxatul/IP-Address-Tracker | main | # IP address tracker

## Welcome! 👋
**This is a website which resolves IP addresses using the IP Geolocation API and display it's location on the map using leaflet JS API**
| IP Address Tracker using HTML, CSS and Vanilla Javascript | api,css,html,javascript | 2023-06-23T17:53:39Z | 2023-10-13T00:31:06Z | null | 2 | 8 | 32 | 1 | 5 | 6 | null | MIT | CSS |
orodrigogo/shop | main | null | Esse é um projeto HTML, CSS e JS para estudar a criação de layout web. | css,html,javascript | 2023-06-29T00:58:11Z | 2023-07-04T22:48:45Z | null | 1 | 0 | 2 | 0 | 0 | 6 | null | null | CSS |
Payalsahuj/Digitron | main | <div align="center" >
<h2>Digitron: Tech Interview Simulator<h2>
<img width="30%" src="https://github.com/Payalsahuj/Digitron/assets/119413894/2a379daf-dec5-4a78-9743-71184ee982c4"><br><br>
<h2 align="center">Description </h2>
<h3>Digitron provides you a platform where you can select your tech stack and give one on one interviews with our AI. Our platform also provides you a Q and A section where you can ask any general queries to our AI and also a Study material section where you can read about different tech stacks.
</h3>
</div>
<h2 align="center">Collaborators</h2>
1. Payal Sahu (Frontend)
> - e-Mail: sahupayal220@gmail.com
> - GitHub: https://github.com/Payalsahuj
2. Aslam M. Mahetar (Frontend)
> - e-Mail: nawabpvt@gmail.com
> - GitHub: https://github.com/aslammmahetar
3. Devshruti Sen (Frontend)
> - e-Mail: sendevshruti@gmail.com
> - GitHub: https://github.com/devshruti
4. Jignesh Vadiyatar (Backend)
> - e-Mail: jigsvadiyatar6557@gmail.com
> - GitHub: https://github.com/Jignesh6775
5. Krunal Arun Kumar Gurao (Backend)
> - e-Mail: krunalgurao1@gmail.com
> - GitHub: https://github.com/KrunalGurao
6. Yash Gupta (Backend)
> - e-Mail: yashkumar18gupta@gmail.com
> - GitHub: https://github.com/yash-levi1896
<br>
<h2 align="center">Deployed Link</h2>
<h3 align="center">Frontend: https://frontend-payalsahuj.vercel.app/ </h3>
<h3 align="center">Backend: https://hackathon-o2kz.onrender.com </h3>
<br>
<h2 align="center">Tech Stack</h2>
<h3 align="center">Frontend</h3>
<p align="center">React | Redux </p>
<h3 align="center">Backend</h3>
<p align="center">Node.js | Express.js | Openai</p>
<h3 align="center"> Database </h3>
<p align="center">MongoDB Atlas </p>
<h3 align="center">CSS Libraries</h3>
<p align="center">Tailwind CSS</p>
# Schema :
- user
- Name
- Phone_No
- email
- password
- course
- OTP verify
- Useremail
- otp
- createdAt
- expireAt
##
# API Endpoints
----
## `users`
<br>
GET - /user
POST - /user/register
POST - /user/login
POST - /user/verifyotp
POST - /user/forgot-password
GET - /user/reset/:userid/:token
PATCH - /user/reset/:userid/:token
POST - /user/logout
<br>
## `Chat`
<br>
- General Chatbot
POST - /chat/genetalChat
- Interview Chatbot
POST - /chat/interviewChat
<br>
<h1>1. Dashboard Page </h1><br><br>


<h1>2. Register </h1>
<br><br>

<h1>3. Login </h1>
<br><br>

<h1>4. Digital Interview </h1>
<br><br>

<h1>5.Study Materials </h1>
<br><br>

<h1>6. Q&A with us </h1>
<br><br>

| Digitron: Your Gateway to Interview Success! Unlock your potential with our immersive interview environment designed to help you excel in your job interviews. Practice, prepare, and boost your confidence with our comprehensive platform. | chakra-ui,css,express,html,javascript,mongodb-atlas,nodejs,reactjs,tailwindcss | 2023-06-22T12:32:17Z | 2023-07-28T12:12:58Z | null | 6 | 28 | 81 | 0 | 3 | 6 | null | null | JavaScript |
sitansu04/Calendly-Clone | main | # MyCal.com
# Introducing MyCal.com (Clone of Calendly.com)
- Deployed WebSite Link = https://mycal-704.netlify.app
- Deployed Backend URL = https://my-cal-com-backend.vercel.app

# What is MyCal.com??
MyCal is your scheduling automation platform for eliminating the back-and-forth emails for finding the perfect time — and so much more.
It is a tool for scheduling appointments and events. It eliminates the usual back-and-forth emails and messages involved in nailing down time.
MyCal enables a smooth workflow by automating tasks such as appointment booking and rescheduling,
and sending reminders and thank you notes to prospective and existing clients and team members.
You can share your availability preferences and meeting location in one click.
This website is fully functional website with all CRUD operations by user .
They need to go through User Authentication middleware, to perform any interactions
---
# Features :-
- Interactive UI/UX for best customer experiene.
- Google Auth Login and Signup
- User can create events and mark them in calendar.
- Add workflows,get reminders and other Emailing features
- Transitions & Animations
---
# Tech Stack Used: -
## Frontend
| HTML | CSS | JavaScript | BootStrap | Full Calendar.js |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
| <img width="75px" src="https://user-images.githubusercontent.com/25181517/192158954-f88b5814-d510-4564-b285-dff7d6400dad.png"> | <img width="75px" src="https://user-images.githubusercontent.com/25181517/183898674-75a4a1b1-f960-4ea9-abcb-637170a00a75.png"> | <img width="70px" src="https://user-images.githubusercontent.com/25181517/117447155-6a868a00-af3d-11eb-9cfe-245df15c9f3f.png"> | <img width="75px" src="https://user-images.githubusercontent.com/25181517/183898054-b3d693d4-dafb-4808-a509-bab54cf5de34.png"> | <img width="75px" src="https://user-images.githubusercontent.com/112753481/233935786-0e96b087-6f65-4591-8ce2-a8f57aced31e.png"> |
## Backend : -
| Node.js | Express.js | MongoDB | Passport |
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| <img width="70px" src="https://user-images.githubusercontent.com/112753481/229047696-de3bf177-16a0-4161-a140-dd89e4fe7b22.png"> | <img width="75px" src="https://user-images.githubusercontent.com/112753481/229164589-4e724000-542d-4deb-9e11-cca7739c2b01.png"> | <img width="75px" src="https://cdn.icon-icons.com/icons2/2415/PNG/512/mongodb_original_logo_icon_146424.png"> | <img width="75px" src="https://user-images.githubusercontent.com/112753481/233825866-91f342c0-f567-4f9f-af03-e9acc86a784d.png"> |
---
# Routes :-
- ### Users Routes
| METHOD | ENDPOINT | WHAT IT DOES |
| ------ | --------------- | ------------------------------------------------------------------------------------- |
| GET | /users | -> Getting All the Users, |
| POST | /users/register | -> Register New User (Requires user details in req.body) |
| POST | /users/login | -> Login existing user (Requires email and passwords, returns token if login success) |
- ### Events Routes
| METHOD | ENDPOINT | WHAT IT DOES |
| ------ | ------------------ | -------------------------------------------------------------------- |
| GET | /events/allevents | -> Getting All the Events of the User (From user-email) |
| POST | /events/newevent | -> Create a new Event (Sends Email on successfull creation of event) |
| DELETE | /events/delete/:id | -> Delete an Event |
| PATCH | /events/update/:id | -> Update an Event |
- ### Workflows Routes
| METHOD | ENDPOINT | WHAT IT DOES |
| ------ | ----------------- | ---------------------------------------------------------------------------- |
| GET | /workflows | -> Getting All Workflows of the user, by user email, |
| POST | /workflows/create | -> Add a Workflow/Reminder (Sends email on successfull creation of workflow) |
- ### Google Routes
| METHOD | ENDPOINT | WHAT IT DOES |
| ------ | ---------------- | ------------------------------------------------ |
| GET | /google | -> Initiating Google Auth |
| GET | /google/callback | -> Redirect URI |
| GET | /google/login | -> Getting User Data after Google Authentication |
| GET | /google/logout | -> Logging out from the session |
# 🔷: Here are some screenshots of website :-
### :large_blue_circle: Home Page :-
## 


### :large_blue_circle: Product Page :-

### :large_blue_circle: Login/Signup Page :-


### :large_blue_circle: Oauth Success Pages:-

### :large_blue_circle: User Dashboard :-

### :large_blue_circle: Calendar Page :-
- Month View

- Week View

### :large_blue_circle: Create Events Page :-


### :large_blue_circle: Create Workflows Page :-
## 

---
### Team Members of the Project :-
- Jay Shukla
- Kunal Mehra
- Sitansu Mandal
- Mohima Bahadur
- Punit Juneja
---
## Thankyou for your Time :raised_hands: 💝 :-
| MyCal is your scheduling automation platform for eliminating the back-and-forth emails for finding the perfect time — and so much more. | bcrypt,bootstrap5,calender,css,expressjs,html,javascript,jsonwebtoken,jwt-authentication,mongodb | 2023-06-18T18:33:25Z | 2023-06-18T18:34:35Z | null | 1 | 0 | 2 | 1 | 4 | 6 | null | null | HTML |
libsql/knex-libsql | main | # knex-libsql
A [Knex][knex] dialect for [libSQL/sqld][sqld], using the [`@libsql/sqlite3`][libsql-node-sqlite3] package
that emulates `sqlite3`.
[knex]: https://github.com/knex/knex
[sqld]: https://github.com/libsql/sqld
[libsql-node-sqlite3]: https://github.com/libsql/libsql-node-sqlite3
## Installation
```shell
npm install @libsql/knex-libsql
```
## Usage
```javascript
const Client_Libsql = require('@libsql/knex-libsql');
const Knex = require("knex");
const knex = Knex({
client: Client_Libsql,
connection: {
filename: "libsql://localhost:8080?tls=0",
},
});
```
### URL
The library accepts the same URLs as [`@libsql/sqlite3`][libsql-node-sqlite3-url]:
- `http://` and `https://` connect to a libsql server over HTTP,
- `ws://` and `wss://` connect to the server over WebSockets,
- `libsql://` connects to the server using the default protocol (which is now HTTP). `libsql://` URLs use TLS by default, but you can use `?tls=0` to disable TLS (e.g. when you run your own instance of the server locally).
To use a JWT for authentication, you can use the `authToken` query parameter (for example,
`ws://localhost?authToken=<token>`).
You can also pass a `file:` URL to use a local file, like `file:test.db` or `file:/tmp/test.db`.
## License
This project is licensed under the MIT license.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in `@libsql/knex-libsql` by you, shall be licensed as MIT, without any additional terms or conditions.
| Knex dialect for libSQL | javascript,knex,libsql,sqlite | 2023-06-11T20:53:34Z | 2023-06-15T06:13:08Z | null | 3 | 1 | 7 | 1 | 0 | 6 | null | MIT | JavaScript |
ArduinoJS2023/ArduinoJS | main | <<<<<<< HEAD
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
```
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.
=======
**The Arduino - JavaScript Robotics & Machines Programming Framework**

_ArduinoJS is an Open Source, Firmata Protocol based, Robotics and Machines programming framework, developed by inteRFace.
Just interested in learning and building awesome things? You might want to start with the [official website](ArduinoJS.com)._
## ArduinoJS
ArduinoJS is a bridge between the world of web full stack development and Arduino. With ArduinoJS, you can skip C++ coding and design cutting-edge interfaces for your Arduino projects. Leverage the power of modern JavaScript libraries and frameworks with your Arduino hardware.
## Features
Interact with your Arduino using advanced web technologies.
Use the power of advancedfirmata, node.js, jonny-five, and next.js without having to delve into C++ programming.
Contribute to a growing open-source community creating high-level use case projects.
Installation
Here are some keywords to get you started on the setup process: Arduino: advancedfirmata, JS: node.js, jonny-five, Frimwork: next.js.
## Examples
Stay tuned! The ArduinoJS community is actively working on some cool high-level use case projects. We will update this space as soon as we have some exciting projects to share.
## Applications
Used in underwater sensors, drones, ATMs, fork lift diagnostics, and medical devices. ArduinoJS has found its way into many industries. With an Open Source MIT license and the ability to submit fixes back to the project, ArduinoJS is an obvious choice for your next project.
## Consumer Devices
ArduinoJS is used in consumer devices ranging from IOT Devices, robots and machines.
## Contributing
We welcome contributions from everyone! Feel free to contribute code, documentation, bug reports, or anything else you think could improve ArduinoJS.
## Contact
If you have questions, want to contribute, or would like to join our community, you can reach us at ArduinoJSmail@gmail.com.
You can also join our WhatsApp community [here](https://chat.whatsapp.com/Bdr7kgCIG54A9LRP5f2Qzr).
## License
ArduinoJS is licensed under the [MIT license](https://opensource.org/license/mit/).
Copyright (c) 2023 Ron Amir and Shahaf Baron.
>>>>>>> origin/main
| Config files for my GitHub profile. | arduino,iot,javascript,robotics,arduinojs | 2023-06-18T10:52:21Z | 2023-09-26T11:32:57Z | null | 4 | 8 | 18 | 3 | 9 | 6 | null | null | JavaScript |
Mike111222/theMoviesMaze | dev | # theMoviesMaze
<a name="readme-top"></a>
<div align="center">
<!-- You are encouraged to replace this logo with your own! Otherwise you can also remove it. -->
<br/>
<h3><b>The Movies Maze</b></h3>
</div>
<!-- TABLE OF CONTENTS -->
# 📗 Table of Contents
- [theMoviesMaze](#themoviesmaze)
- [📗 Table of Contents](#-table-of-contents)
- [📖 \[theMoviesMaze\] ](#-themoviesmaze-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [🚀 Live Demo ](#-live-demo-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment ](#deployment-)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [❓ FAQ (OPTIONAL) ](#-faq-optional-)
- [📝 License ](#-license-)
<!-- PROJECT DESCRIPTION -->
# 📖 [theMoviesMaze] <a name="about-project"></a>
**[In theMoviesMaze, users can like Movies, TV Shows, and they can check out the details of every Movie or Show by clicking on the Comment Button. It also allows you to like the Movies. All data is preserved thanks to the external TVMaze API and Involvement API services. Fetching of the Movies, Details of the Movies, Adding and Getting Likes, and Comments Data are all preserved by the aforementioned APIs. Comment and Like buttons are there to update the Comments and Likes. Async & Await are also implemented along with some styling.]**
## 🛠 Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
<details>
<summary>Client</summary>
<ul>
<li><a href="#">HTML, BootStarp, JavaScript, Webpack, API</a></li>
</ul>
</details>
<details>
<summary>Server</summary>
<ul>
<li><a href="https://localhost:8080/">Dev Server</a></li>
</ul>
</details>
<details>
<summary>Pakage Manager</summary>
<ul>
<li><a href="#">NPM</a></li>
</ul>
</details>
<details>
<summary>API</summary>
<ul>
<li><a href="#">Post Master</a></li>
</ul>
</details>
<!-- Features -->
### Key Features <a name="key-features"></a>
- **[Displays List of Movies, Likes, Details and Comments]**
- **[Addition of New Likes and Comments]**
- **[Number of Movies or Shows on Homepage, number of Likes, and number of Comments are all counted and being displayed along with the updation]**
- **[TVMaze and Involvement APIs are responsible for storage and retrieval of Data]**
- **[A Like and a Comment button is there to fetch all the Likes, Details, and Comments using APIs.]**
- **[Webpack is managing all the dependencies and auto loading in browser]**
- **[All the scetions and functionality is re-created by ES6 Modules]**
- **[Jest Tests and Coverage flags are implemented to test the Counters]**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LIVE DEMO -->
## 🚀 Live Demo <a name="live-demo"></a>
- [Live Demo Link of our theMoviesMaze](https://mike111222.github.io/theMoviesMaze/dist/)
- [Live Video Link of our theMoviesMaze](https://youtu.be/V3qXCsmegUU)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- GETTING STARTED -->
## 💻 Getting Started <a name="getting-started"></a>
To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
- A web browser to view output e.g [Google Chrome](https://www.google.com/chrome/).
- An IDE e.g [Visual studio code](https://code.visualstudio.com/).
- `node` should be installed in your local machine, [node website](https://nodejs.org/en/download/).
- Install the `npm` package manager use this [to install both node and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).
- [A terminal](https://code.visualstudio.com/docs/terminal/basics).
### Setup
Clone this repository to your desired folder or download the Zip folder:
```
https://github.com/Mike111222/theMoviesMaze
```
- Navigate to the location of the folder in your machine:
**``you@your-Pc-name:~$ cd theMoviesMaze``**
### Install
To install all dependencies, run:
```
npm install
```
### Usage
To run the project, follow these instructions:
- After Cloning this repo to your local machine.
- Open the `index.html` in your browser.
- You can also use `npm start` command in terminal to run this at localhost:8080
### Run tests
To run tests, run the following command:
- Track HTML linter errors run:
```
npx hint .
```
- Track CSS linter errors run:
```
npx stylelint "**/*.{css,scss}"
```
- Track JavaScript linter errors run:
```
npx eslint .
```
- run test:
```
npm test
```
### Deployment <a name="deployment"></a>
You can deploy this project using: GitHub Pages,
- I used GitHub Pages to deploy my website.
- For more information about publishing sources, see "[About GitHub pages](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#publishing-sources-for-github-pages-sites)".
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- AUTHORS -->
## 👥 Authors <a name="authors"></a>
👤 **Muhammad Amran Khan [Mike]**
- GitHub: [@githubhandle](https://github.com/Mike111222)
- LinkedIn: [LinkedIn](https://linkedin.com/in/Mike111222)
- Twitter: [@twitterhandle](https://twitter.com/iMike111222)
👤 **Batool Fatima**
- GitHub: [@githubhandle](https://github.com/batoolfatima2135)
- Twitter: [@twitterhandle](https://twitter.com/batool2135)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/batool-fatima-515531196/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- FUTURE FEATURES -->
## 🔭 Future Features <a name="future-features"></a>
- [ ] **[More styles will be added to make my project look more beautiful and appealing.]**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- CONTRIBUTING -->
## 🤝 Contributing <a name="contributing"></a>
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- SUPPORT -->
## ⭐️ Show your support <a name="support"></a>
If you like this project, just reach out to me for more projects even better than this, and please give it a star ⭐️.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ACKNOWLEDGEMENTS -->
## 🙏 Acknowledgments <a name="acknowledgements"></a>
I would like to thank my fellow Authors, my friend, my code reviewers and Microverse.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- FAQ (optional) -->
## ❓ FAQ (OPTIONAL) <a name="faq"></a>
- **[How can the project be improved]**
- [More features can be intergrated by adding more pages]
- **[Can I use this project for study purposes]**
- [Yes]
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LICENSE -->
## 📝 License <a name="license"></a>
This project is [MIT](./LICENSE) licensed.
<p align="right">(<a href="#readme-top">back to top</a>)</p> | In theMoviesMaze, users can like Movies, TV Shows, and they can check out the details of every Movie or Show by clicking on the Comment Button. It also allows you to like the Movies. All data is preserved thanks to the external TVMaze API and Involvement APIs. Fetching Movies, Details of the Movies, Adding and Getting Likes, all done by APIs. | aaa,base-api,bootstrap,javascript,jest-tests,tvmaze-api,webpack | 2023-06-26T04:48:30Z | 2023-06-29T07:49:59Z | null | 2 | 13 | 89 | 0 | 0 | 6 | null | MIT | JavaScript |
Alibaba2023/Leaderboard | develop | <a name="readme-top"></a>
<div align="center">
<!-- You are encouraged to replace this logo with your own! Otherwise, you can also remove it. -->
<h3><b>Leaderboard</b></h3>
</div>
<!-- TABLE OF CONTENTS -->
# 📗 Table of Contents
- [ 📗 Table of Contents ](#-table-of-contents)
- [ 📖 Leaderboard ](#-Leaderboard-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [🚀 Live Demo ](#-live-demo-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#deployment)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)
<!-- PROJECT DESCRIPTION -->
# 📖 Leaderboard <a name="about-project"></a>
**Leaderboard** is a JavaScript project that allows users to add and remove scores.
## 🛠 Built With <a name="built-with"></a>
1. ✅ **HTML**
2. ✅ **CSS**
3. ✅ **JavaScript**
4. ✅ **Webpack**
5. ✅ **LightHouse**
6. ✅ **WebHint**
7. ✅ **Styelint**
8. ✅ **ESLint**
9. ✅ **Git**
10. ✅ **Git flow**
11. ✅ **Github**
<!-- Features -->
### Key Features <a name="key-features"></a>
- **Main page**
- **Responsive**
- **Good look and feel**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LIVE DEMO -->
## 🚀 Live Demo <a name="live-demo"></a>
- ✅ For seeing the live dome [click here](https://alibaba2023.github.io/Leaderboard/dist/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- GETTING STARTED -->
## 💻 Getting Started <a name="getting-started"></a>
**To get a local copy up and running, follow these steps.**
1. Download or clone this [repostory](https://github.com/Alibaba2023/Leaderboard).
2. Provide a browser.
3. Open the `index.html` file using the webpage browser.
### Prerequisites
**In order to run this project you need:**
- ✔ [Git](https://git-scm.com/downloads) installed in your machine.
- ✔ Sign in or sign up to your [Github](https://github.com/) account.
- ✔ A professional editor such as [VS Code](https://code.visualstudio.com/download).
- ✔ An Updated web browser such as Google Chrome, you can download it from [here](https://www.google.com/chrome/).
- ✔ [Node.js](https://nodejs.org/en/download) installed in your machine.
- ✔ Lighthouse.
- ✔ Webhint
### Setup
- Clone this [repository](https://github.com/Alibaba2023/Leaderboard) to your desired folder:
- Example commands:
```sh
cd < YOUR-FOLDER >
git clone https://github.com/Alibaba2023/Leaderboard
```
### Install
- To install this project run the commands below
```sh
npm install
npm run build
npm start
```
### Usage
- To run the project, execute the following command:
```sh
cd < YOUR FOLDER >
git clone https://github.com/Alibaba2023/Leaderboard
```
### Run tests
1. WebHint ☑
```
npx hint .
```
2. Stylelint ☑
```
npx stylelint "**/*.{css,scss}"
```
3. ESLint ☑
```
npx eslint .
```
### Deployment
**This project is deployed by the author, no permission for deployment by any other client.**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- AUTHORS -->
## 👥 Authors <a name="authors"></a>
👤 **Ali Baba Hussaini (Main Author)**
- GitHub: [@Alibaba2023](https://github.com/Alibaba2023)
- Twitter: [@AliBabaHu2023](https://twitter.com/AliBabaHu2023)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/ali-baba-hussaini-630607267/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- FUTURE FEATURES -->
## 🔭 Future Features <a name="future-features"></a>
- [ ] **Client interaction**
- [ ] **Deploy to a universal server**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- CONTRIBUTING -->
## 🤝 Contributing <a name="contributing"></a>
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/Alibaba2023/Leaderboard/issues).
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- SUPPORT -->
## ⭐️ Show your support <a name="support"></a>
If you like this project, kindly drop a start for the [repository](https://github.com/Alibaba2023/Leaderboard);
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ACKNOWLEDGEMENTS -->
## 🙏 Acknowledgments <a name="acknowledgements"></a>
I would like to thank [Microverse](https://www.microverse.org/?grsf=mohammad-a-nbtazu) for providing the opportunity for this project to be done And my family for thier support.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LICENSE -->
## 📝 License <a name="license"></a>
This project is [LICENSES](LICENSE.md) licensed.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
| A simple project that lists names and scores with the help of API. | api,css3,html5,javascript,linters,webpack | 2023-06-20T19:10:43Z | 2023-06-24T04:45:33Z | null | 2 | 3 | 17 | 1 | 0 | 6 | null | NOASSERTION | JavaScript |
sonatipek/socketio-data-visualization | main | <p align="center" width="100%">
<img width="25%" src="https://raw.githubusercontent.com/sonatipek/dogadan-tea-advices/main/public/sonatipek-brand-logo.svg">
</p>
# 📊 Data Visualization with Apache ECharts - EN
[](https://opensource.org/licenses/Apache-2.0)
The identified data was made meaningful using Pandas and Numpy. Python and JS codes were communicated via Socket.io and this meaningful data was visualized with Apache ECharts.
## 💻 Tech Stack
- 
- Apache ECharts
- 
- 
- 
- 
- 
- 
- 
## 📷 Screen Shots





## 🚀 Run on Your Computer
**Note1:You must have Python installed on your computer.
#### 1. Clone the project
```bash
git clone https://github.com/sonatipek/socketio-data-visualization.git
```
#### 2. Go to the project directory
```bash
cd socketio-data-visualization
```
#### 3. Install Python virtual environment
```bash
python -m venv env
```
#### 4. Activate Python virtual environment and install the requirements while it is active
```bash
env\Scripts\activate
pip install -r requirements.txt
```
#### 5. Start the FastAPI server by running socket_handlers.py with Python
```bash
python socket_handlers.py
```
#### 6. Open the index.html page with your browser. That's all!
## 📍 Roadmap & To-Do List
- Calculate how many employees can be hired according to the budget with Numpy
- Employee Salary Calculation should be optimised
- add filters to the table on the home page
- Code refactoring
## 🌟 Feedback
If you have any feedback, please contact at **sonatsayginipek@gmail.com** or **sonatipek.com** .
## 🤝 Contribution
Contributions are always welcome!
Getting started see `CONTRIBUTING.md`.
<br><br>
# 📊 Apache ECharts ile Veri Görselleştirme - TR
[](https://opensource.org/licenses/Apache-2.0)
Belirlenen veriler Pandas ve Numpy kullanılarak anlamlı hale getirildi. Python ve JS kodları Socket.io üzerinden haberleştirildi ve bu anlamlı veriler Apache ECharts ile görselleştirildi.
## 💻 Kullanılan Teknolojiler
- 
- Apache ECharts
- 
- 
- 
- 
- 
- 
- 
## 📷 Ekran Görüntüleri





## 🚀 Bilgisayarınızda Çalıştırın
**Not1: Bilgisayarınızda Python kurulu olmalıdır.
#### 1. Projeyi klonlayın
```bash
git clone https://github.com/sonatipek/socketio-data-visualization.git
```
#### 2. Proje dizinine gidin
```bash
cd socketio-data-visualization
```
#### 3. Python virtual envç yükleyin
```bash
python -m venv env
```
#### 4. Python virtual env. etkinleştirin ve etkin durumdayken gereksinimleri yükleyin
```bash
env\Scripts\activate
pip install -r requirements.txt
```
#### 5. Python ile socket_handlers.py dosyasını çalıştırarak FastAPI sunucusunu başlatın
```bash
python socket_handlers.py
```
#### 6. Tarayıcınızla index.html sayfasını açın. Hazırsınız!
## 📍 Yol Haritası & Yapılacaklar Listesi
- Numpy ile bütçeye göre kaç çalışanın işe alınabileceğini hesaplayın
- Çalışan Maaş Hesaplama optimize edilmeli
- ana sayfadaki tabloya filtreler ekleyin
- Kod yeniden düzenlenmeli
## 🌟 Geri bildirim
Herhangi bir geri bildiriminiz varsa, lütfen **sonatsayginipek@gmail.com** veya **sonatipek.com** adresinden iletişime geçin.
## 🤝 Katkı
Katkılara her zaman açığız!
Başlamak için `CONTRIBUTING.md` dosyasına bakın.
| The identified data was made meaningful using Pandas and Numpy. Python and JS codes were communicated via Socket.io and this meaningful data was visualized with Apache ECharts. | bootstrap5,data-visualization,echarts,javascript,numpy,pandas,python,socket,socket-io,apache-echarts | 2023-06-16T20:50:48Z | 2023-06-27T10:59:35Z | null | 1 | 0 | 64 | 1 | 0 | 5 | null | Apache-2.0 | HTML |
maya-manager/client | main | <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<div align="center">
<img alt="logo" height="300" width="300" src="./assets/logos/full.svg" />
</div>
App to manage your pocket money and keep track of your expenses and account between multiple people
## Features
### Current release (v1.0.0) 🏃
- Track expense between multiple people
- Day start and day end cash in hand
- Debit/credit system (if someone asks for some money, than you can put that to your account as well)
- Automatic calculation of total amount of money in hand
- Group:
- you can remove people of group from a particular entry if they are not involved in that entry
- Create groups and add people to it
- when creating a new entry with group, app will automatically add the users in group to that entry
- when new person is added to the group, he/she will be only added when he accepts the invite
- on leaving the group, group admin will approve first that he can leave the group
- between 2 people:
- when a person is creating a entry that he paid to another person than the other person will be notified and he can accept or reject the entry, weather he is paid or not
### Future releases 🚀
- You can set daily budget and app will notify you when you are going to exceed your budget
- show average daily spend
- Manage budget of trips
(if you are going to a trip with your friends than you can create a new trip and add people to it.
each person can add their budget for the trip and you will see that. you can plan your trips according to your budget and while spending on the trip you can also keep record of who spent how much and also see how much money is left. and remaining money can be divider among the people who are in the trip).
- Auto adjust money between people (if 2 people are together and one person spent 30rs one time and another spend 20 next time than app will automatically adjust that only 10rs is left to be paid by the person who spend 20rs)
## Discord
Calling all coding enthusiasts! If you want to be a part of our ongoing project, Maya, and other upcoming projects in the near future, join our server. Whether you want to contribute or become an official member of the server, we invite you to join us! Discord link: **[Discord](https://discord.com/invite/A2GdYbwAnw)**
## Docs
All the docs for each project are present in their respective directories in `docs` folder
## Setting up the development environment
### Prerequisites
- [Node.js](https://nodejs.org/en/)
- [Yarn](https://yarnpkg.com/)
- [PostgreSQL](https://www.postgresql.org/)
- [Docker](https://www.docker.com/) (optional)
> :memo: This project uses [Yarn workspaces](https://yarnpkg.com/features/workspaces) to manage multiple packages in a single repository. You will need to use Yarn to install the dependencies and run the scripts.
### Installation
> You also need to setup server so that client can make API calls.
> Check out the [server](https://github.com/maya-manager/server) repository for docs on
> how to setup server locally
1. create another `.env` file in root of the project. You can copy the `.env.example` file and rename it to `.env`.
> make sure update the environment variables based on your needs.
1. Run the client by using
```bash
yarn start
```
#### Docker
1. Use the `docker-compose.yml` file to start the server, client and postgreSQL containers.
2. You will need to create a `.env` file in the root of the project. You can copy the `.env.example` file and rename it to `.env`.
> make sure update the environment variables based on your needs.
3. Run the containers by using
```bash
docker-compose up
```
> :warning: If you are using docker to run client than you need to manually put the `IP` address of your machine in the `expo` to run the app on your phone.
> example if `IP` address of your machine is `192.172.36.18` than you expo url will be `exp://192.172.36.18:19000` and you will need to put this address in your emulator or phone in expo app.
### UI Design
[Figma URL](https://www.figma.com/file/ojtvKg3GqfcWxfQh8CPBFO/Maya?type=design&t=YiQRFjTrCGUL18Ic-1)
### [Postman collection](https://tinyurl.com/5ay7mh8s)
## Technologies
- [React native](https://reactnative.dev/)
- [Expo](https://expo.io/)
- [TypeScript](https://www.typescriptlang.org/)
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
| App to manage your pocket money and keep track of your expenses and account between multiple people | accounts,expense-tracker,expo,finance,finance-management,javascript,react,react-native,typescript,docker | 2023-06-20T17:06:10Z | 2023-09-24T14:12:00Z | null | 3 | 104 | 110 | 3 | 2 | 5 | null | MIT | TypeScript |
696e746c6f6c/JavaScript-Automated-Calls | main | # JavaScript Automated Calls
This automation was built using Node.js framework and is called JavaScript calls for potential XSS findings: DOM XSS, Reflected XSS. I wouldn't like to recommend to test this for Stored XSS at all. Test it only for DOM XSS and Reflected XSS. This automation can be tested on any OS, no matter what is it, Windows, some Linux distribution, MacOS and so on. However the wordlist I made is pretty big but still it would be bigger with BigQuery generated set. However you need to buy BigQuery which is not free.
# Installation
In order to be able to run this automation, make sure you have installed following modules:
- axios module
- argparse module
- fs module
- dompurify module
They can be found on official npm documentations. And don't forget to install Node.js framework if you still haven't.
# Usage
First of all git clone this repository and then in your terminal make sure you have installed these modules that I have mentioned above. After that, in your terminal navigate to `~/src` directory where's `main.js` and `config.js` files and type this following command:
`node main.js`
- This command will display list of command-line arguments.
If you want to run this automation with your target's URL, do this which is really simple:
`node main.js -u https://example.com/?test=`
Here we used `example.com` as a example domain and `?test=` query parameter as a example but make sure you specify right domain, endpoint and as well right query parameter if you want to test for Reflected XSS but however we can use this automation for DOM XSS testing too.
# Configuration
If you'd like to make some changes here, make sure to go to config.js file and change `payloadFile` value to another one. Obviously if you have better XSS wordlist. But however I made a 11k wordlist with all possible JavaScript malicious payloads. But still I might have missed something. However if you want to modify this automation in order to make it stop once right one XSS payload was found, change this:
- Line #26 line add this following code:
```javascript
let payloadDetected = false;
```
- And modify this following code:
```javascript
for (const payload of payloads) {
```
To this following code:
```javascript
for (const payload of payloads) {
if (payloadDetected) {
break;
}
```
- Line #44 add this following code:
```javascript
if (status === 200 && !headers['content-security-policy']) {
console.log('XSS Payload is working:');
console.log('URL:', appURL);
console.log('Payload:', payload);
console.log('---');
payloadDetected = true;
break;
}
```
## Attention
If for some reason code automation doesn't work which I don't think so, please copy `main.js` and `config.js` files in your terminal and put them into `~/src` directory and make sure `xsspayloads.txt` is in new directory called `xsstesting`. But don't forget to sort this into one directory example `project` directory. After that modify this constant variable in the #24 line:
```javascript
const payloadsFile = '../xsstesting/xsspayloads.txt';
```
- Modify it to this following code again which is same one:
```javascript
const payloadsFile = '../yourdirectoryinprojectdir/yourffile.txt';
```
Here I used `../` notation in the file path which is used to navigate up one level in the directory hierarchy. It specifies that the file `xsspayloads.txt` is located in a directory one level above the current directory. Automation should be working file but still let's not make confusions here.
| JavaScript automated calls automation is made to automate XSS findings | bug-bounty,bugbounty,github,it,javascript,penetration-testing,pentesting,programming,programming-language,xss | 2023-06-24T00:42:05Z | 2023-06-27T00:26:09Z | null | 1 | 0 | 47 | 0 | 0 | 5 | null | MIT | JavaScript |
Piercel2022/new-portfolio | main |
REQUIRED SECTIONS:
- Table of Contents
- About the Project
- Built With
- Live Demo
- Getting Started
- Authors
- Future Features
- Contributing
- Show your support
- Acknowledgements
- License
# 📗 Table of Contents
- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [🚀 Live Demo](#live-demo)
- [💻 Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#triangular_flag_on_post-deployment)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [❓ FAQ](#faq)
- [📝 License](#license)
**[Portfolio]** is a website to showcase my extensive collection of creative design projects. With a seamless blend of aesthetics and functionality, my website portfolio serves as a visual representation of my skills and expertise in Full-stack web development. From captivating branding projects to innovative web designs, each showcased work.
## 🛠 Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
<details>
<summary>Language</summary>
<ul>
<li><a href="https://www.rubyonrails.org/">Rails</a></li>
</ul>
</details>
<details>
<summary>Server</summary>
<ul>
<li><a href="https://nextjs.org//">Next.js</a></li>
</ul>
</details>
### Key Features <a name="key-features"></a>
- **[key_feature_1]**
- **[key_feature_2]**
- **[key_feature_3]**
## 🚀 Live Demo <a name="live-demo"></a>
- [portfolio live](https://piercel-moussa.netlify.app/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 💻 Getting Started <a name="getting-started"></a>
To get a local copy up and running, follow these steps.
### Setup
Clone this repository to your desired folder:
```sh
git clone https://github.com/Piercel2022/portfolio
```
### Usage
To run the project, execute the following command:
```sh
Go live in the VS code
```
## 👥 Authors <a name="authors"></a>
👤 **Pierre Celestin Moussa**
- GitHub: https://github.com/Piercel2022
- Twitter: https://twitter.com/pier_celestin
- LinkedIn: https://linkedin.com/in/piercelestinmax
<!-- FUTURE FEATURES -->
## 🔭 Future Features <a name="future-features"></a>
- [ ] **[new_feature_1]**
- [ ] **[new_feature_2]**
- [ ] **[new_feature_3]**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- CONTRIBUTING -->
## 🤝 Contributing <a name="contributing"></a>
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- SUPPORT -->
## ⭐️ Show your support <a name="support"></a>
If you like this project...
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ACKNOWLEDGEMENTS -->
## 🙏 Acknowledgments <a name="acknowledgements"></a>
I would like to thank Microverse for the knowledge I have gain during my studies
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 📝 License <a name="license"></a>
This project is [MIT](./LICENSE) licensed.
| My portfolio website showcases my extensive collection of creative design projects. With a seamless blend of aesthetics and functionality, my portfolio serves as a visual representation of my skills and expertise in Full-stack web development. From captivating branding projects to innovative web designs, each showcased work. | css3,html5,javascript,ruby-on-rails | 2023-06-27T13:45:22Z | 2023-12-26T12:20:00Z | null | 1 | 13 | 48 | 0 | 0 | 5 | null | null | HTML |
Atamyrat2005/v-app | master | # v-app
## 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/).
| My first vue app | css,html,javascript,vue | 2023-06-26T15:45:44Z | 2023-02-18T21:07:39Z | null | 1 | 0 | 1 | 0 | 0 | 5 | null | null | Vue |
Ategon/Lemmy-Frank-Bot | main | # Frank Bot
A lemmy bot that auto posts threads in communities at given times
This bot is made for the https://programming.dev/ gamedev communities but the source code can be modified to accomodate any community
## Notes
- If running on windows the environment variables may act up. You can insert them manually into the bot by replacing the things like process.env.USERNAME and the other things starting with process.env with the value for username in .env or their other respective value
- NOTE: Not updated for v0.18 yet
## Setup
1. Clone the repository
2. Create an account in the instance you want the bot to have as its home (just make a regular user)
3. Create a file called .env in the bot folder and give it values in this format with the data in the quotes (dont add the slashes or the part after the slashes)
```
INSTANCE="" // The instance the bot account is in
USERNAME="" // The bot username
PASSWORD="" // The bot password
```
4. Change the data for the communities and posts variables based on what you want set. Cron determines what time the bot will post at (does an interval) and theres a calculator to help you here https://crontab.guru/ (note theres an extra digit on the left for the bot thats for seconds that isnt in the calculator). For lemmy bot docs look at https://github.com/SleeplessOne1917/lemmy-bot
5. Open a terminal in the bot folder and run `npm install` to install dependendies and then `node main.js` to run the bot (whenever you want to start the bot again you can just do ctrl+c to interrupt the process and node main.js to start the bot)
I recommend installing something like [forever.js](https://www.npmjs.com/package/forever) for making it run continually
If you run into issues feel free to dm me on Matrix [here](https://matrix.to/#/@ategon:matrix.org)
| A lemmy bot that auto posts threads in communities at given times | bot,bots,fediverse,fediverse-bot,javascript,lemmy,lemmy-bot | 2023-06-21T00:32:09Z | 2023-08-31T17:36:12Z | null | 1 | 0 | 20 | 0 | 1 | 5 | null | AGPL-3.0 | JavaScript |
nsdonato/intro-qwik-garaje-de-ideas | main | # Challenge de Frontend Mentor
Información sobre el challenge:
https://www.frontendmentor.io/challenges/rest-countries-api-with-color-theme-switcher-5cacc469fec04111f7b848ca
Slides del directo: https://docs.google.com/presentation/d/1b0V2tzS9D4kIozZzCyARdVZ1HgFmOGiI_fhYPs1d_0o/edit?usp=sharing
### Resumen:
Crear una aplicación de búsqueda países, en este link está el challenge y los archivos con los assets para descargar.
Implementado:
[x] - Ver todos los países de la API en la página de inicio
[x] - Buscar un país mediante un campo de entrada
[x] - Hacer clic en un país para ver información más detallada en una página aparte
Extra:
[] - Filtrar países por región
[] - Hacer clic en los países fronterizos en la página de detalles
[] - Alternar entre light y dark mode
NOTA: La aplicación se puede mejorar en muchos aspectos. Si te animas, hace un fork y crea un PR contra la rama main ✨
Cualquier ayuda que puedan necesitar, me pueden contactar por cualquiera de mis redes:
https://www.vamoacodear.com.ar
---
# Qwik City App ⚡️
- [Qwik Docs](https://qwik.builder.io/)
- [Discord](https://qwik.builder.io/chat)
- [Qwik GitHub](https://github.com/BuilderIO/qwik)
- [@QwikDev](https://twitter.com/QwikDev)
- [Vite](https://vitejs.dev/)
---
## Project Structure
This project is using Qwik with [QwikCity](https://qwik.builder.io/qwikcity/overview/). QwikCity is just an extra set of tools on top of Qwik to make it easier to build a full site, including directory-based routing, layouts, and more.
Inside your project, you'll see the following directory structure:
```
├── public/
│ └── ...
└── src/
├── components/
│ └── ...
└── routes/
└── ...
```
- `src/routes`: Provides the directory-based routing, which can include a hierarchy of `layout.tsx` layout files, and an `index.tsx` file as the page. Additionally, `index.ts` files are endpoints. Please see the [routing docs](https://qwik.builder.io/qwikcity/routing/overview/) for more info.
- `src/components`: Recommended directory for components.
- `public`: Any static assets, like images, can be placed in the public directory. Please see the [Vite public directory](https://vitejs.dev/guide/assets.html#the-public-directory) for more info.
## Add Integrations and deployment
Use the `npm run qwik add` command to add additional integrations. Some examples of integrations includes: Cloudflare, Netlify or Express Server, and the [Static Site Generator (SSG)](https://qwik.builder.io/qwikcity/guides/static-site-generation/).
```shell
npm run qwik add # or `yarn qwik add`
```
## Development
Development mode uses [Vite's development server](https://vitejs.dev/). The `dev` command will server-side render (SSR) the output during development.
```shell
npm start # or `yarn start`
```
> Note: during dev mode, Vite may request a significant number of `.js` files. This does not represent a Qwik production build.
## Preview
The preview command will create a production build of the client modules, a production build of `src/entry.preview.tsx`, and run a local server. The preview server is only for convenience to preview a production build locally and should not be used as a production server.
```shell
npm run preview # or `yarn preview`
```
## Production
The production build will generate client and server modules by running both client and server build commands. The build command will use Typescript to run a type check on the source code.
```shell
npm run build # or `yarn build`
```
| Live Coding sobre Qwik para Garaje de Ideas | framework,javascript,livecoding,qwik,tailwind | 2023-06-28T12:46:31Z | 2023-06-29T13:11:10Z | null | 1 | 0 | 4 | 0 | 1 | 5 | null | null | TypeScript |
rbhomale17/MeetEasy-Project | main | # MeetEasy - Real-Time Video Conferencing Platform
# ***NXM201 - Construct Week Project For Unit-5.***
# ***Project Code:- deluxe-change-1738***
# ***Project Purpose:- Real-Time-Screen-Application***
***Introducing our advanced video conferencing platform, connecting people effortlessly for both professional and personal purposes. Host or join high-quality virtual meetings, collaborate seamlessly, and stay connected globally.***
***
## ***Team Members*** :
***Team Lead & Student Code*** : ***Rushikesh Diliprao Bhomale ( fw25_348 ) [GitHub](https://github.com/rbhomale17)***
***Team Member-1 & Student Code*** : ***Mayank Bhandari ( fw22_0799 ) [GitHub](https://github.com/rodeo12)***
***Team Member-2 & Student Code*** : ***Nagaraj Nadagoudar ( fp09_186 ) [GitHub](https://github.com/nagaraj7022)***
***Team Member-3 & Student Code*** : ***Aniket Sanjay Jadhao ( fw23_0192 ) [GitHub](https://github.com/Andy18j)***
***Team Member-4 & Student Code*** : ***Rushikesh Chate ( fw23_0075 ) [GitHub](https://github.com/rushichate)***
***IA Manager: Inder Pal***
***
## ***Tech Stacks***
***Front End: CSS, HTML, JavaScript***
***Back End: CSS, HTML, JavaScript, Node.js, Express, MongoDB, Socket.io, Websocket & Mongoose, npm packages.***
## Important Links
- [Project Live Link](https://meeteasy.netlify.app/)
- [Video Server Link](https://nxm201-video-server.onrender.com)
- [MeetEasy-Chat-Server](https://meeteasy-chat.onrender.com)
- [MeetEasy Main Server](https://meeteasy-main-server.onrender.com)
## ***About MeetEasy***
Introducing our advanced video conferencing platform, connecting people effortlessly for both professional and personal purposes. Host or join high-quality virtual meetings, collaborate seamlessly and stay connected globally. Enjoy crystal-clear audio, smooth video, and an intuitive interface for hassle-free communication. Join us and experience the future of online meetings for effortless collaboration and meaningful connections
## Installation
1. Clone the repository.
2. Install dependencies using `npm install`.
## Usage
- For Backend
1. Start the server using `npm start`.
2. Access the application at [http://localhost:3000](http://localhost:3000).
- Fro Frontend
```terminal
cd frontend
Index.html start with Live server
```
## Screenshots
## ***Landing Page***

## ***Home Page***
<img width="1075" alt="Screenshot 2023-06-19 145526" src="https://github.com/rbhomale17/deluxe-change-1738/assets/121092445/4c1fae83-2880-46a0-bd1f-c3e62556a712">
## ***Video Call Joining Page***
<img width="1069" alt="Screenshot 2023-06-19 145556" src="https://github.com/rbhomale17/deluxe-change-1738/assets/121092445/eccf1506-adcf-4d73-8534-8c4fddd21917">
## ***Share Screen Join Page***
<img width="1064" alt="Screenshot 2023-06-19 145619" src="https://github.com/rbhomale17/deluxe-change-1738/assets/121092445/4f2de8bb-0a68-4953-8de9-f6f4e4b7bfb4">
## ***Chat Join Page***
<img width="1064" alt="Screenshot 2023-06-19 145634" src="https://github.com/rbhomale17/deluxe-change-1738/assets/121092445/09e5a9a2-06f1-488f-b3cf-a3cff60dac0a">
## ***Chatting Live App Page***
<img width="1063" alt="Screenshot 2023-06-19 145818" src="https://github.com/rbhomale17/deluxe-change-1738/assets/121092445/46c687f9-5019-4ded-97ee-4cc456b1f471">
## ***Share Screen Live Page***
<img width="1072" alt="Screenshot 2023-06-19 145930" src="https://github.com/rbhomale17/deluxe-change-1738/assets/121092445/d80fe70c-1011-4242-97d7-7a2f9a6718b3">
# Thank You
Thank you for choosing MeetEasy for your video conferencing needs. We look forward to providing you with an exceptional and seamless communication experience. Should you have any questions or feedback, please don't hesitate to reach out to us. Happy conferencing!
| Introducing our advanced video conferencing platform, connecting people effortlessly for both professional and personal purposes. Host or join high-quality virtual meetings, collaborate seamlessly, and stay connected globally. | css,expressjs,html,javascript,mongodb,nodejs,oauth2,socket-io,websocket | 2023-06-10T14:24:17Z | 2024-03-01T09:40:59Z | null | 7 | 22 | 76 | 0 | 2 | 5 | null | null | CSS |
jugeshraghav/mygram | main | # MyGram
MyGram is a social media app, which replicates instagram(not fully). So, explore and engage with you friends on MyGram.
## How to install and run locally ?
```
$ git clone https://github.com/jugeshraghav/mygram.git
$ cd mygram
$ npm install
$ npm start
```
## Features
- User authentication
- Create, edit, and delete posts with images and emojis
- Can view single Post
- Like, unlike, and bookmark posts
- Discover trending, latest, and oldest posts
- Explore page for all posts
- Profile customization with avatar, bio, and portfolio URL
- Follow/unfollow users
- Search functionality with suggestions
- Responsive design
## Built with
- React
- React Router v6
- React Icons
- React toast
- React Spinners
- mockBee (for backend)
| myGram- a social media platform where you can connect with your friends | authentication,clone,instagram,javascript,mockbee,react,react-hooks,react-icons,react-router | 2023-06-09T06:44:43Z | 2023-07-17T13:23:08Z | null | 1 | 0 | 65 | 0 | 0 | 5 | null | null | JavaScript |
topulikeweb/FaceAnalyzer | master | # Face-Recognition
首先感谢球球的前端奶茶屋的代码开源
这是一个基于face-api.js的小项目,挺有意思的,可以对面部表情进行识别,还可以分析年龄

(还是比较准确O(∩_∩)O哈哈~)
## 如何使用项目
```npm i```
然后打开浏览器就可以看到效果了
| 基于 face-api.js 的人脸分析网页应用,旨在提供用户一种简单、直观的方式来进行实时人脸分析。通过借助摄像头,用户可以在网页上进行人脸识别、表情分析、年龄和性别预测等功能。 | face-api-js,javascript,js | 2023-06-13T07:08:57Z | 2023-06-13T07:47:26Z | null | 1 | 0 | 3 | 0 | 1 | 5 | null | null | JavaScript |
nicetomeetor/metamorphosium | main | <p align="center">
<img alt="logo" width="200" height="200" src="assets/logo.svg">
</p>
# Metamorphosium
Collect and compare trace events. Can be used in CI.
```js
const pkg = require('metamorphosium/build');
const { Processor } = pkg;
const mainUrl = 'http://main.com';
const featureUrl = 'http://feature.com';
const traceTasks = [
'parseHTML',
'styleLayout',
'paintCompositeRender',
'scriptParseCompile',
'scriptEvaluation',
'garbageCollection',
];
const args = ['--use-gl=egl'];
const categories = [
'-*',
'toplevel',
'blink.console',
'blink.user_timing',
'benchmark',
'devtools.timeline',
'disabled-by-default-blink.debug.layout',
'disabled-by-default-devtools.timeline',
'disabled-by-default-devtools.timeline.frame',
'disabled-by-default-devtools.timeline.stack',
'disabled-by-default-devtools.screenshot',
];
const collectorOptions = {
maxConcurrency: 3,
retryLimit: 10,
number: 20,
timeout: 10000,
puppeteerOptions: {
ignoreHTTPSErrors: true,
args,
categories,
headless: 'new',
},
};
const processor = new Processor(
mainUrl,
featureUrl,
collectorOptions,
traceTasks
);
processor.evaluate();
```
| 🦖 Collect and compare trace events | frontend,javascript,library,puppeteer,traces,typescript | 2023-06-21T20:48:07Z | 2023-06-21T21:16:15Z | null | 1 | 0 | 28 | 0 | 0 | 5 | null | null | TypeScript |
Rednexie/ip-express | main | # ip-express
Basic IP API using node.js and express
### Dependencies
- `express`
- `cors`
- `node:fs`
### Endpoints
/ip => ip as text: 0.0.0.0<br>
/ips => ips as json ["0.0.0.0", "127.0.0.1"]<br>
/text => ip as text<br>
/json => ip as json: `{ "ip": "0.0.0.0" }`<br>
/json/:id => ip as json: ` { "$id": "0.0.0.0" }`
### Configuration
log: whether to save the requests to a text file. default is `true`
port: the http port to start the webserver and listen on. default is `3000`
### License
ip-express is licensed under MIT.
| Basic IP API using node.js | api,ip,ip-address,ip-api,ipapi,ips,javascript,js,json,json-api | 2023-06-18T22:41:52Z | 2024-01-17T15:09:58Z | null | 1 | 0 | 32 | 0 | 0 | 5 | null | MIT | JavaScript |
elmurodvokhidov/portfolio-website | main | # Portfolio Website
- Responsive Personal Portfolio Website Using HTML CSS & JavaScript
- Smooth scrolling in each section.
- Includes a light and dark mode.
- Developed first with the Mobile First methodology, then for desktop.
- Compatible with all mobile devices and with a beautiful and pleasant user interface.
Source for design: [Bedimcode](https://www.youtube.com/c/Bedimcode) | Portfolio website. Certainly not the first. Source for design: https://youtube.com/@Bedimcode | css3,hmtl5,javascript | 2023-06-19T05:16:52Z | 2023-07-06T10:11:03Z | null | 1 | 0 | 10 | 0 | 0 | 5 | null | null | HTML |
kaykeeb3/javascript | main | <h1 align="center">javascript</h1>
</br>
<h3 align="center"><em>Sobre o curso de JavaScript</em></h3>
<br>
<em>Você já imaginou criar websites interativos e aplicativos dinâmicos? O curso de JavaScript é a porta de entrada para o emocionante mundo da programação web. Com JavaScript, você pode dar vida a páginas da web, tornando-as mais envolventes e funcionais.
Neste curso, você aprenderá os fundamentos do JavaScript, desde variáveis e estruturas de controle até funções e eventos. Descubra como manipular o DOM (Modelo de Objeto do Documento) para interagir com elementos da página em tempo real. Além disso, explore os conceitos avançados, como AJAX, que permite carregar conteúdo de forma assíncrona, criando experiências de usuário mais fluidas.
Não importa se você é um iniciante absoluto ou já tem alguma experiência em programação, nosso curso de JavaScript é projetado para todos os níveis. Com instrutores experientes e exercícios práticos, você desenvolverá as habilidades necessárias para criar suas próprias aplicações web.
Prepare-se para mergulhar no universo da programação web com o curso de JavaScript. Inscreva-se hoje e dê o primeiro passo para se tornar um desenvolvedor web talentoso e criativo. Seu futuro digital começa aqui!</em>
### 🚀 Tecnologias
Esse projeto foi desenvolvido com as seguintes tecnologias:
- JavaScript
- HTML 5
- CSS 3
- Git e Github
### 💻 Projeto
<p aling="center"><em>Este <strong>Repositório</strong> tem todos os conteúdos referente ao curso de JS, nele você irá ver diversos assuntos sobre essa linguagem do momento!</em><br></p>
### 📚 Conteúdo
1. Variáveis
2. Tipos de Dados
3. Funções
4. Escopo
5. Estruturas Condicionais
6. Loops
7. Arrays
8. Objetos
9. Métodos de Array
10. Eventos
11. Promises
12. AJAX
13. Closure
14. Callbacks
15. Arrow Functions
16. Template Literals
17. Desestruturação
18. Classes
19. Módulos
20. Fetch API
21. Async/Await
22. Event Loop
23. Prototype
24. DOM Manipulation
25. Local Storage
26. WebSockets
28. Frameworks
<br>
### Projeto | curso
O intuito desse projeto foi fixar o conteúdo do curso.
<br>
- [Visite o projeto](https://js-curso-projeto.vercel.app/)
### 😎 Créditos
<br>
- [Kayke Barbosa](https://kaykedev.vercel.app/)
- [João Alison](https://joaoalison-web.vercel.app/)
| Instruí os códigos pertinentes ao curso de JavaScript aos alunos do primeiro ano do curso em informática | css,html,javascript | 2023-06-12T16:32:30Z | 2023-09-15T15:07:03Z | null | 1 | 0 | 16 | 0 | 1 | 5 | null | null | JavaScript |
serhankileci/system-panda | main | 



# **SystemPanda** 🐼
Headless CMS for Node.js, written in TypeScript.
## **Installation**
```
npm install system-panda
```
Check out the [**example app**](https://github.com/serhankileci/system-panda/blob/main/docs/get-started.md).
## **Features**
- ### [**Hooks**](https://github.com/serhankileci/system-panda/blob/main/docs/hooks.md)
Lifecycle hooks for CRUD operations, such as causing side-effects, and validating and modifying input.
- ### [**Plugins**](https://github.com/serhankileci/system-panda/blob/main/docs/plugins.md)
Reusable snippets of code that can be installed directly to your app.
- ### [**Webhooks**](https://github.com/serhankileci/system-panda/blob/main/docs/webhooks.md)
Trigger API requests with data on specific hooks/operations.
- ### [**Collections**](https://github.com/serhankileci/system-panda/blob/main/docs/collections.md)
With Prisma ORM as the database layer, define your data as objects that are mapped to Prisma schema models.
- ### [**REST API**](https://github.com/serhankileci/system-panda/blob/main/docs/rest-api.md)
Generated REST API for your collections that serve data.
- ### [**Server Extension**](https://github.com/serhankileci/system-panda/blob/main/docs/server-extension.md)
Extend the internal Express.js server with custom routes, middlewares, and business logic.
- ### [**User Management**](https://github.com/serhankileci/system-panda/blob/main/docs/user-management.md)
Authentication and Access Control.
## **Working On**
- Content media support
- Standard library of plugins
- Revisit plugin system (routes for uploading plugins to remote repository, etc.)
- Custom Hooks/Events
- Version Control (for rollbacks, etc.)
- Task scheduling (at specified times/conditions)
- i18n (default translations for the core app and allowing custom translations for collections)
| The best headless CMS, in Node.js and TypeScript. | cms,headless-cms,nodejs,typescript,content-management,content-management-system,express,headless,javascript,nextjs | 2023-06-12T19:05:57Z | 2023-08-31T20:42:44Z | null | 2 | 45 | 409 | 0 | 1 | 5 | null | MIT | TypeScript |
olcayhan/personal-porfolio | master | # Personal Portfolio
This repository contains a basic template for creating a personal portfolio. You can use this template to build your portfolio and showcase your personal projects.
<img src='https://github.com/olcayhan/personal-porfolio/assets/71206063/aa4948de-ccaf-48eb-b72c-597cb6036890' width='500px'/>
Website Link: https://olcayhankorkut.vercel.app/
## Features
- Clean and simple design.
- Editable personal information (name, description, social media links, etc.).
- Showcasing project examples.
- Adding project descriptions and technologies.
- Responsive design for mobile compatibility.
## Usage
1. To use this template, you need to fork the project to your own account. You can do this by clicking the "Fork" button at the top right corner.
2. Edit the "index.html" file to add your own projects and information. You can also modify the page's style by editing the "style.css" file.
3. While working on the project, you can open the "index.html" file in your browser to preview the changes.
4. Remember to commit your changes regularly as you make edits and add new features.
## Contribution
Contributions are welcome! If you want to report issues, suggest improvements, or make changes to this project, feel free to submit a Pull Request.
| null | javascript,nextjs,tailwindcss | 2023-06-17T10:29:45Z | 2024-05-23T11:12:13Z | null | 1 | 0 | 49 | 0 | 0 | 5 | null | null | TypeScript |
Bibiwei-Pere/Intro-section | main | # Frontend Mentor - Intro section with dropdown navigation solution
This is a solution to the [Intro section with dropdown navigation challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/intro-section-with-dropdown-navigation-ryaPetHE5).
### Screenshot
<img src="/design/desktop-design.jpg" />
### Links
- Solution URL: [Intro section](https://github.com/Bibiwei-Pere/Intro-section)
- Live Site URL: [Intro section](https://introsection01.netlify.app)
## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- Javascript
## Author
- Website - [Bibiwei Pere](https://perebibiwei.netlify.app)
- Frontend Mentor - [@Bibiwei-Pere](https://www.frontendmentor.io/profile/Bibiwei-Pere)
- Twitter - [@Bibiwei_Pere](https://www.twitter.com/Bibiwei_Pere) | This is a solution to the Intro section with dropdown navigation challenge on Frontend Mentor. | blog,css,dropdown,javascript,navbar,frontend-mentor | 2023-06-22T17:48:53Z | 2023-06-27T00:17:14Z | null | 1 | 0 | 5 | 0 | 0 | 5 | null | null | CSS |
Atamyrat2005/budget-app | main | null | Budget app using React js | css,html,javascript,react-icons,reactjs,toastify | 2023-06-29T13:38:18Z | 2023-07-01T12:01:06Z | null | 1 | 0 | 3 | 0 | 0 | 5 | null | null | JavaScript |
windlil/JustPressYourKeyboard | main | # 🚀Just press your keyboard!
Using the Vue framework to achieve a small web game, through the mouse button click to eliminate the alphanumeric box, there is a timer function, see how fast you can complete it!

## How to play?🤔
1. Select the configuration you like on the home page.
2. Press the space bar to start the game.
3. At the beginning of the game, there are many letters and numbers that need to be eliminated, and you only need to press the corresponding keyboard keys to eliminate them.
4. Attention! With your game stats in the top right, try to get the best grade.
5. When you want to start over, press the restart button on the right.
6. Enjoy it!
⭐**If you like this game, or find this project inspiring for you, please give me a star, thanks!**⭐

| ⌨Simple keyboard games. | css,easy,happycoding,html,javascript,vue,webgame | 2023-06-15T04:56:19Z | 2023-06-15T07:04:04Z | null | 1 | 0 | 12 | 0 | 1 | 5 | null | MIT | Vue |
Choaib-ELMADI/getting-started-with-framer-motion | master | null | Getting started with Framer motion, a react library for motions and animations. | animation,framer-motion,javascript,react | 2023-06-09T19:53:45Z | 2023-06-09T19:51:26Z | null | 1 | 0 | 15 | 0 | 0 | 5 | null | null | JavaScript |
josephinedehaan/tarotGPT | main | # TarotGPT

TarotGPT is an interactive tarot-themed web app. It is divided into two sections.
**Reading**: the primary function is the ‘tarot reading’ feature. This part of the application offers the user a personalised tarot reading by generating a randomised tarot card spread, and through the OpenAI GPT-3 API allows for a personalised tarot interpretation.
**Learn**: the secondary feature is the ‘tarot learning’ space, a learning environment which allows the user to discover more information about individual tarot cards through a GPT-3-powered chatbot.
## Usage
To run an instance of TarotGPT carry out the following steps:
1. Install Python dependencies: `pip install`
2. Create a `.env` file and assign your OpenAI API Key to the variable `OPENAI_KEY`
3. Start TarotGPT: `python3 app.py`
4. Enjoy!
## Additional information
TarotGPT was created as part of the final project submission for the Computing for Digital Media MSc – it is the product of my own labour except where stated.
The card reading mechanism and animations borrow heavily from Gavin Lon's [Hunt the Ace](https://github.com/GavinLonDigital/HuntTheAceJSGame) card game.
| An interactive GPT-3 powered tarot reader. | flask,gpt3,javascript,python,tarot,vanilla-tilt-js | 2023-06-13T15:10:42Z | 2023-08-21T22:47:29Z | null | 1 | 1 | 75 | 3 | 3 | 5 | null | null | JavaScript |
eroironico/dodoo | master | # dodoo
This package offers a painless implementation of odoo xmlrpc api in javascript
## Installation
Install the plugin from npm:
```sh
npm install dodoo
```
Then import the main class:
```js
// with "esModuleInterop"
import Odoo from "dodoo"
// or without
import * as Odoo from "dodoo"
// or just
const Odoo = require("dodoo")
```
## Usage
Instantiate the main class:
```js
const odoo = new Odoo({
url: process.env.ODOO_URL,
db: process.env.ODOO_DB,
username: process.env.ODOO_USERNAME,
password: process.env.ODOO_PASSWORD,
})
```
From that instance you can call these methods:
- **version**: Returns the server version (doesn't require to be authenticated so you can call it, for example, to verify the status of the server and configuration)
- **authenticate**: This method is needed in order to acccess objects on your odoo server, consider a best practice to call it first than every other method
- **executeKw**: This method offer a way to access every model
- **model**: This method instantiate a helper classes to access models on odoo
`version`, `authenticate` and `executeKw` (execute_kw) are documented on Odoo, while for `model`:
```js
const ResPartner = odoo.model("res.partner")
// ResPartner.create
// ResPartner.createMany
// ResPartner.findById
// ResPartner.findOne
// ResPartner.findMany
// ResPartner.update
// ResPartner.updateMany
// ResPartner.delete
// ResPartner.deleteMany
// ResPartner.count
// ResPartner.upsert
// Each model instance is a record of that model
const singlePartner = new ResPartner({ name: "Jhon" })
// You can modify records directly
singlePartner.email = "jhon@example.com"
;(async () => {
// call hasChanged to know if a certain field has been changed since the first instantiation or the last `save` or `reload` call
if (singlePartner.hasChanged("email"))
await singlePartner.save() // call save to sync local values on odoo
else await singlePartner.reload() // or reload to discard them and pull the latest values from odoo
})()
// singlePartner.hasChanged
// singlePartner.decrement
// singlePartner.increment
// singlePartner.save
// singlePartner.reload
// singlePartner.delete
```
P.S.: if, when creating or updating records, you need to pass a value for a `One2Many` or a `Many2Many` field you can use `Command` which exposes some utility methods to handle them.
Full example:
```js
import Odoo from "dodoo"
const odoo = new Odoo({
url: process.env.ODOO_URL,
db: process.env.ODOO_DB,
username: process.env.ODOO_USERNAME,
password: process.env.ODOO_PASSWORD,
})
;(async () => {
await odoo.authenticate()
const AccountMove = odoo.model("account.move")
const move = new AccountMove({
// rest invoice
invoice_line_ids: [
Odoo.Command.create({
// rest invoice line
tax_ids: [Odoo.Command.set(1, 2, 3)],
}),
],
})
await move.save()
})()
```
P.P.S.: The docs are implemented in a more detailed way as jsdocs
## License
[MIT](./LICENSE)
| Node.js typesafe client for odoo ERP using xmlrpc api | javascript,npm,npm-package,odoo,odoo-xmlrpc,typescript | 2023-06-29T09:45:53Z | 2023-07-18T20:33:39Z | null | 1 | 0 | 41 | 0 | 0 | 5 | null | MIT | TypeScript |
sunniesnow/sunniesnow | master | # Sunniesnow
A web rhythm game.
[Play the game online.](https://sunniesnow.github.io/game)
## Serve the game locally
*Note: if you play the game in this way, you still need internet access.*
[Install Ruby](https://www.ruby-lang.org/en/documentation/installation), and then run
```shell
git clone --recursive https://github.com/sunniesnow/sunniesnow.github.io.git
cd sunniesnow.github.io
bundle install # and resolve all errors if there are any
bundle exec jekyll serve
```
Now, visit http://localhost:4000/game/ to see the game.
## License notice
Sunniesnow is licensed under
[GPL v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html).
Sunniesnow has no relation to the game
[Lyrica](https://lyricagame.wixsite.com/lyricagame)
by any means,
nor does it contain any proprietary assets from Lyrica.
The open-source projects used by Sunniesnow:
- [PixiJS](https://pixijs.com) (MIT),
- [JSZip](https://stuk.github.io/jszip) (MIT or GPL-3.0),
- [Mime](https://www.skypack.dev/view/mime) (MIT),
- [audio-decode](https://github.com/audiojs/audio-decode) (MIT),
- [marked](https://marked.js.org) (MIT),
- [DOMPurify](https://github.com/cure53/DOMPurify) (Apache-2.0 or MPL-2.0),
- [wangfonts](http://code.google.com/p/wangfonts) (GPL-2.0),
- [cwtex-q-fonts](https://github.com/l10n-tw/cwtex-q-fonts) (GPL-2.0).
Sunniesnow does not contain any files from the above projects
but uses them by letting the client browser download needed files
from CDN sources.
| An open-source web rhythm game | game,javascript,javascript-game,pixijs,rhythm-game,html5,html5-canvas,html5-canvas-game,html5-game | 2023-06-14T19:35:36Z | 2024-04-25T22:20:51Z | null | 1 | 0 | 176 | 0 | 0 | 5 | null | GPL-3.0 | JavaScript |
andreluiz901/Social-Network-API | main | # API REDE SOCIAL / SOCIAL NETWORK API
**ESTE PROJETO ESTÁ EM CONSTRUÇÃO**
**THIS PROJECT IS UNDER CONSTRUCTION**
## INTRODUÇÃO
Este projeto é minha atual iniciativa pessoal de estudo em desenvolvimento de software em Backend, onde busco construir uma API para um modelo de rede social. Esta rede social permite o cadastro de usuários que podem postar, editar, deletar e ler as próprias postagens, e as postagens de outros usuários. Todos os usuários podem comentar outras postagens, e as postagens podem ser marcadas como lidas somente pelo dono do post original. Mesmo simples, estas funcionalidades estão sendo implementadas com ferramentas profissionais de desenvolvimento. Este projeto vem sendo atualmente ainda construído, e está sendo implementado em conjunto com outros usuários.
Obrigado pelo extenso e valoroso trabalho colaborativo, aos amigos e colegas de profissão:
- [Ramon Pereira](https://github.com/HugoRamonPereira) : Frontend
- [Felipe Ferraresi](https://github.com/HugoRamonPereira) : Supervisão do Projeto
## VISÃO GERAL DO SISTEMA
Esta API é responsável por tratar três grupos de rotas e tratamentos de dados de um sistema de rede social com foco em postagem de usuários. O primeiro ambiente é um conteúdo de usuários, que permite criar, alterar, manipular e deletar usuários através de um usuário administrativo do sistema, que pode ser acessado em `modules/users`. Outras rotas(*endpoints*) são responsáveis pelas devidas autenticações, validações, middlewares de acesso, em `modules/auth`. A ideia da rede social é que seja utilizada como uma agenda aberta de usuarios, onde eles podem postar suas atividades, e outros usuarios podem comentar modos de melhorar a produtividade ou fazer comentários específicos das atividades e registros entre si. Assim, as rotas responsáveis pelas atividades de agenda estão em `modules/agenda`, enquanto os comentários são tratados em `modules/comment`.
Para complementar, ainda existem rotas para um sistema de Login com username e password. Todas estas rotas foram gerenciadas e criadas com Node e Express. Estas rotas possuem autenticações e autorizações. Para conversar com os dados, a api utiliza de querys de SQL para tratar, enviar e consultar dados nas requisições.
Em geral, toda a trativa da API é possível ser visualizada com o seguinte esquema:
```mermaid
graph LR
A[Request]-->B(index)-->C(modules)
C-->D((users))-->|middlewares|H(users.controller)
C-->E((agenda))-->|middlewares|I(agenda.controller)
C-->F((auth))-->|middlewares|J(auth.controller)
C-->G((comment))-->|middlewares|K(comment.controller)
H-->h(users.services)
I-->i(agenda.services)
J-->j(auth.services)
K-->k(comment.services)
h-->Hh(users.repository)
i-->Ii(agenda.repository)
j-->Jj(auth.repository)
k-->Kk(comment.repository)
Hh-->L(response)
Ii-->L(response)
Jj-->L(response)
Kk-->L(response)
```
De modo complementar, o *schema* do banco de dados da api se encontra atualmente disposto da forma abaixo. Acredito que a imagem abaixo vai ajudar a entender como foram montadas as *querys* do repository e as chamadas de bancos de dados:
<div align="center">

</div>
## INSTALAÇÃO E CONFIG
### Como começar a utilizar esta API?
- Primeiro realize um fork deste repositório.
- Em seguida, faça um clone do repositório para o seu ambiente de desenvolvimento local.
- Instale as dependências da API com `npm install`, este comando irá instalar todas as dependencias necessárias para a api funcionar com base no `package.json` que está na raiz do repositório.
- Para iniciar a api basta utilizar o comando `npm start`
Itens necessários para configurar e implantar o sistema:
bcrypt: ^5.1.0
bcryptjs: ^2.4.3
body-parser: ^1.20.2
cors: ^2.8.5
dotenv: ^16.3.1
express: ^4.18.2
jsonwebtoken: ^9.0.0
node-pre-gyp: ^0.17.0
pg: ^8.11.1
pg-protocol: ^1.6.0
Dependencias de desenvolvimento:
nodemon: ^2.0.22
### INFORMAÇÕES GERAIS DA APLICAÇÃO
Esta aplicação foi desenvolvida utilizando majoritariamente NODE e EXPRESS com Javascript. Um modelo de rotas está demonstrado acima, mas é convencionado para o padrão Controlador (Middlewares) --> Serviços --> Repositório. Os controladores e middlewares fazem o tratamento da rota em si, enquanto as regras de negócios ficam a cargo dos Serviços. Por outro lado, o tratamento dos dados dos usuários no banco de dados são tratados por querys que são formuladas e enviadas pelo repositório, onde sempre é tomado cuidado para abrir e fechar o banco a cada solicitação, por uma questão de segurança. No momento é utilizado o PostgreSQL, junto com DBeaver para o tratamento de dados.
Existe uma validação com token JWT na aplicação para garantir o acesso de cada usuário. Está melhor descrita no decorrer do documento abaixo.
Ainda, é necessário se atentar que a aplicação só funcionará se houver um arquivo `.env` na raiz da aplicação. Este arquivo não estará atrelado e nem será clonado junto ao fazer o clone da aplicação. Caso queira utilizar a base desta api, atente-se de criar um arquivo .env com informações necessárias para a chave JWT funcionar corretamente, definições de chave e acesso do banco de dados, porta de acesso para a api e demais dados sensíveis da aplicação.
## (TEMPORÁRIO) ACESSO PELO NGROK
**Rotas para conversação com o Banco de Dados de serviços de projetos.**
Atenção: Exemplo de link Ngrok (Esse link sempre mudará ao executar a abertura pelo Ngrok, mas vou tentar deixar atualizado e verificar sempre que abrir o servidor).
https://d210-2804-29b8-500c-eff-c2c-6b9e-da38-5251.ngrok-free.app
Acessar através deste link deve lhe direcionar para o meu endereço local:
http://localhost:3000
Então, você precisa complementar o restante do caminho. Por exemplo, adicionar o "/users" para a rota de usuarios ou "/signUp" para a rota de cadastro, após o link do ngrok. O que irá resultar em uma parte **estática** do link e uma parte volátil indicando a rota. Como nos exemplos abaixo.
**https://e42f-2804-29b8-500c-3ec9-64e0-2c5d-2189-d54e.ngrok-free.app**/users
**https://e42f-2804-29b8-500c-3ec9-64e0-2c5d-2189-d54e.ngrok-free.app**/signIn
**https://e42f-2804-29b8-500c-3ec9-64e0-2c5d-2189-d54e.ngrok-free.app**/signUp
Como sempre está mudando, verifique qual o caminho da rota aqui no postman, e substitua o localhost:3000 pelo link do Ngrok atual, complementando com o caminho da rota.
**Pontos importantes**
Provavelmente você será perguntado se irá querer acessar na primeira vez que entrar. Basta clicar em "Visit Site". É um HTTPS, mas mesmo assim deve haver uma detecção de insegurança.
Por favor, perceba que só será possível acessar caso eu tenha iniciado o servidor na minha máquina. Se você receber um "ERR_NGROK_8012" ou "ERR_NGROK_3200", é por quê eu não iniciei o servidor localmente, ou estou utilizando a porta 3000 para algum outro acesso. Basta me informar, que se for possível eu gero outro link em outra porta ou inicio o servidor.
Para saber mais do Ngrok, tente começar por esse [artigo](https://medium.com/desenvolvendo-com-paixao/ngrok-do-localhost-para-o-mundo-5445ad08419)
## (TEMPORÁRIO) ACESSO PELO RENDER
Uma versão atualizada da api está disponível para ser consultada por frontend através de: https://blog-px53.onrender.com .
## ENDPOINTS
### Visão Geral das Rotas
#### Exemplos req/res das rotas
Cada rota envia determinados dados na requisição **(req)** através do body, que podem ser diferentes para cada rota.
```
// req example
{
"username":"foobar",
"fullname":"foo bar",
"password":"foobar@987"
}
```
Por outro lado, as respostas **(res)** seguem o seguinte modelo geral:
```
// res example
{
"data":{
// payload
},
"message":"Mensagem de sucesso ou erro"
}
```
Abaixo segue uma descrição das rotas funcionais e atuais da API:
**auth**
- **[POST]** *'/auth/signIn* : Realiza o acesso de um usuário no sistema através de username e password no body da requisição. Cria um token JWT para o usuário utilizar durante sua sessão.
```
// req example
{
"fullName":"foo bar",
"username":"fooBar",
"password":"foo@123456",
"confirmPassword": "foo@123456",
"email":"foo@bar.com"
}
```
Por outro lado, as respostas **(res)** seguem o seguinte modelo geral:
```
// res example
{
"data": {
"id": 71,
"fullName": "foo bar",
"username": "fooBar",
"email": "foo@bar.com"
},
"message": "Usuario cadastrado com sucesso"
}
```
- **[POST]** *'/auth/signUp* : Permite o cadastro de um usuário no sistema. Necessário informar fullName, username, email, password através do body da requisição. A Senha é encriptada antes de ser adicionada no banco de dados.
**agenda**
- **[POST]** *'/agenda'* : Cria uma postagem do usuário (necessita autorização JWT de usuário logado)
- **[GET]** *'/agenda/post?page=1&limit=20'* : Acessa e retorna todos as postagens do banco de forma paginada pelo page e limit do params
- **[DELETE]** *'/agenda/post/:id?'* : Deleta uma postagem, somente o dono da postagem pode deletar (necessita autorização JWT de usuário logado)
- **[PUT]** *'/agenda/post/:id?'* : Edita uma postagem, somente o dono da postagem pode atualizar o corpo da postagem (necessita autorização JWT de usuário logado).
**comment**
- **[POST]** *'/comment'* : Cria e registra o comentário de um usuário na postagem de outro usuário ou de sua própria autoria (necessita autorização JWT de usuário logado).
- **[PATCH]** '*/comment/read/:id?*' : Permite que o dono e somente o dono da postagem marque os comentários como lidos/não lidos e registra esta única alteração no sistema (necessita autorização JWT de usuário logado).
- **[PUT]** '*/comment/idComment*' : Permite que o dono e somente o dono do comentário edite o conteúdo da mensagem (necessita autorização JWT de usuário logado).
**users**
- **[GET]** *'/users'* : Retorna todos os usuários cadastrados no sistema.
- **[GET]** *'/users/:id'* : Retorna um usuário específico do banco (necessita autorização JWT de usuário logado)
- **[POST]** *'/users'* : Cria um usuário diretamente no banco de dados. (necessita autorização JWT de usuário logado)
- **[PUT]** *'/users/:id?'* : Edita um usuário através do seu id. Pode editar um ou mais dados do usuário (necessita autorização JWT de usuário logado).
- **[DELETE]** *'/users/:id?'* : Deleta um usuário através do seu id (necessita autorização JWT de usuário logado).
### Rota de Login (signIn)
Esta rota recebe um JSON através do body, que será enviado para realizar o login do usuário no sistema.
Exemplo de JSON como input no body:
`{"username":"nome_do_usuario_na_plataforma", "password":"Senh4_do_usuário"}`
Algumas regras precisam ser validadas para cadastrar um novo usuário:
* **Todos os campos precisam estar preenchidos, e preenchidos de forma correta.**
* **Username**: Contem apenas um nome (*string*), informado pelo usuário.
* **Password**: Contém apenas uma senha (*string*), fornecida pelo usuário.
Estes dados serão validados no banco de dados. Caso, os dados sejam válidos, irá retornar um objeto JSON com uma mensagem e um token JWT.
Exemplo de JSON como output no body:
`{"message":"SignIn realizado com sucesso!", "token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjpbeyJpZCI6MTQsInVzZXJuYW1lIjoiam9zaXZhbGRvIiwibmFtZSI6ImFudG9uaW8iLCJlbWFpbCI6ImFudG9uaW9AZ21haWwuY29tIn1dLCJpYXQiOjE2ODkzNzk4MjcsImV4cCI6MTY4OTM4MzQyN30.AYtnUyJJE1O1exdG7VBE0AnofEkVZzQHsv_PRNGmBXE"}`
*Atenção com a Autenticação com **JWT***
**A autenticação JWT:** Atualmente estamos criando um token válido dentro da nossa API com 1 hora de duração. Por enquanto, este token ainda não está sendo tratado para revalidar após o tempo de expiração. Esta feature precisa ser adicionada no futuro.
Para navegar na plataforma, é necessário atribir este token para o usuário. E será verificado no acesso das rotas. Caso o token não esteja atribuído corretamente no header, ou o token seja inválido, as rotas irão responder com suas devidas mensagens e status de erro.
Quando o token não existir (*status 403*):
`{"message":"Usuário sem token"}`
Quando o token não for validado no JWT (*status 401*):
`{"message":"Usuário sem autorização"}`
Para outros casos (*status 403*):
`{"message":"Usuário não pôde acessar"}`
**Acesso Inválido**
Nos casos em que o usuário informar dados inválidos, independente de qual seja o erro, apenas uma mensagem com *status 401* é retornada:
`{"message": "Credenciais Inválidas"}`
**Erro de Servidor**
Se por ventura houver algum problema durante a requisição que o servidor não consiga responder. Será respondido uma mensagem com *status 500*:
`{"message": "Ocorreu um erro inesperado no servidor"}`
## AUTHENTICATIONS AND AUTHORIZARIONS
Por padrão, as rotas dos usuários precisam passar em um middleware de autorização, validando um token JWT no header da requisição. Para isso, seguem as regras gerais das rotas.
*Atenção com a Autenticação com **JWT***
**A autenticação JWT:** Atualmente estamos criando um token válido dentro da nossa API com 1 hora de duração. Por enquanto, este token ainda não está sendo tratado para revalidar após o tempo de expiração. Esta feature será adicionada no futuro.
Para navegar na plataforma, é necessário atribir este token para o usuário. E será verificado no acesso das rotas. Caso o token não esteja atribuído corretamente no header, ou o token seja inválido, as rotas irão responder com suas devidas mensagens e status de erro.
Quando o token não existir (*status 403*):
`{"message":"Usuário sem token"}`
Quando o token não for validado no JWT (*status 401*):
`{"message":"Usuário sem autorização"}`
Para outros casos (*status 403*):
`{"message":"Usuário não pôde acessar"}`
As documentações das demais rotas estão em construção no momento e serão atualizadas conforme o tempo seja conveniente. No entanto, a maioria das rotas está implementada e funcionando sem grandes problemas e bem intuitivamente. Caso necessário basta entrar em contato direto comigo por aqui ou redes sociais e estarei disposto em auxiliar.
## CONTATO
Olá, pode falar diretamente comigo pelo github, ou através do meu email: silva.ala82@gmail.com.
Se preferir, me encontra lá no linkedIn: <a href="https://www.linkedin.com/in/andreluiz3" target="_blank"><img src="https://img.shields.io/badge/-LinkedIn-%230077B5?style=for-the-badge&logo=linkedin&logoColor=white" target="_blank"></a> | This API creates and validate users, and routes of Sign in and Sign Up. Also, users can create and manipulates posts and comments at SQL server. | api-rest,express,javascript,jwt,nodejs,npm,sql,aws-s3,cloudinary,nodemailer | 2023-06-18T13:35:31Z | 2023-12-20T00:57:44Z | null | 1 | 0 | 106 | 0 | 0 | 5 | null | null | JavaScript |
pirateIV/themoviedb | master | null | 🔍 Discover an expansive universe of movies, TV shows, series, and more through the TMDB API! 🎬📺 Explore endless entertainment options at your fingertips! 🌟 access to an extensive library of films, television shows, series, and beyond... | api,movie,movie-database,movie-search,movie-search-app,movies-api,tmdb,javascript | 2023-06-20T15:59:24Z | 2023-11-01T18:50:16Z | 2023-11-01T18:50:16Z | 3 | 23 | 590 | 0 | 2 | 5 | null | null | JavaScript |
mucahityildirim0/CarHub-Website | main | # Carhub-Website with NextJs
This is a Carhub website. You can search for models and get more detailed information. Click demo to try it by yourself!
## Topics
* NextJs
* ReactJs
* Typescript
* TailwindCss
* Javascript
* Headless UI
* Responsive Design
#### You can view the site here <a href="https://car-hub-website.vercel.app/" target="_blank" alt="demo link">Demo </a>
## Screenshots:



| A CarHub-Website which build with NextJS,React,Typescript and Tailwind | css,flexbox,headlessui,javascript,nextjs,reactjs,responsive-design,tailwindcss,typescript | 2023-06-10T12:58:23Z | 2023-06-14T16:32:14Z | null | 1 | 5 | 16 | 0 | 0 | 5 | null | null | TypeScript |
devqki/linkpage | main | null | link page template | css,html,javascript,link,linkpage,page,portfolio,template,webdevelopment,website | 2023-06-20T10:04:45Z | 2023-07-22T12:09:24Z | null | 2 | 0 | 28 | 0 | 0 | 5 | null | null | HTML |
guillaume-giannantonio/bat-algorithm | main | <p align="center"><img src="./bat-algorithm-logo.png" width="100" height="100"></p>
<h1 align="center">bat-algorithm</h1>
<p align="center">A simple JavaScript library implementing the Bat Algorithm for optimization problems.</p>
<p align="center">
<img src="https://img.shields.io/github/license/Ykarux/bat-algorithm"/>
<img src="https://img.shields.io/npm/v/bat-algorithm"/>
</p>
<h1>📑 Table of contents</h1>
<ul>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#considerations">Considerations</a></li>
<li><a href="#installation">Installation</a></li>
<li><a href="#usage">Usage</a></li>
<ul>
<li><a href="#example">Example</a></li>
<li><a href="#arguments">Arguments</a></li>
</ul>
<li><a href="output">Output</a></li>
<li><a href="authors">Authors</a></li>
<li><a href="references">References</a></li>
</ul>
<h1 id="introduction">🌟 Introduction</h1>
<p>The Bat Algorithm is a nature-inspired optimization algorithm designed to solve complex optimization problems. Mimicking the echolocation behavior of bats, it balances exploration and exploitation to efficiently search for optimal solutions. In this project, we provide a simple JavaScript implementation of the Bat Algorithm, offering a user-friendly batAlgorithm() function with customizable parameters. By integrating this algorithm into your JavaScript projects, you can leverage its power to tackle a wide range of optimization tasks.</p>
<h1 id="considerations">⚠️ Considerations</h1>
<p>When implementing the Bat Algorithm in JavaScript, it's essential to consider the language's suitability. Here's why JavaScript may not be the optimal choice for utilizing the Bat Algorithm: </p>
<ol>
<li>Numerical Computation Limitations:</li>
<ul>
<li>JavaScript's primary focus is web development, and it may lack specialized numerical computation capabilities compared to languages like Python with libraries such as NumPy.</li>
<li>Performance limitations and a potential lack of advanced mathematical functions in JavaScript can impact complex numerical optimization tasks.</li>
</ul>
<li>Ecosystem and Available Libraries:</li>
<ul>
<li>JavaScript's ecosystem excels in web-related tasks, but it may have a smaller footprint for scientific computing and optimization algorithms.</li>
<li>While there are numerical computation libraries in JavaScript, they might not offer the same functionality and performance optimizations as dedicated numerical computation libraries in other languages.</li>
</ul>
<li>Language-Specific Considerations:</li>
<ul>
<li>JavaScript's dynamically typed nature can introduce challenges in handling complex numerical operations, affecting type safety and performance.</li>
<li>JavaScript's single-threaded execution may not fully utilize parallel processing capabilities, potentially impacting the performance of computationally intensive tasks.</li>
</ul>
</ol>
<p>Despite these considerations, utilizing this JavaScript library offers the following advantages:</p>
<ul>
<li>Easy Integration: Seamlessly integrate the Bat Algorithm into existing JavaScript projects without additional language dependencies.</li>
<li>Web-Based Applications: JavaScript is convenient for web-based environments or real-time interactions.</li>
<li>JavaScript Proficiency: Leverage the familiarity and expertise of JavaScript, reducing development time and easing maintenance efforts.</li>
</ul>
<p>
Please assess your project requirements and consider these aspects before choosing JavaScript as the implementation language for the Bat Algorithm.</p>
<h1 id="installation">⚙️ Installation</h1>
<p>You can install the bat-algorithm library using npm, the Node.js package manager. Before proceeding, ensure that you have Node.js and npm installed on your system.</p>
```bash
npm install bat-algorithm
```
<p>Once the installation is complete, you can import the library into your JavaScript project using the require or import statement:</p>
```javascript
const { batAlgorithm } = require('bat-algorithm');
```
<p>Note: This library requires Node.js version 12 or above.</p>
<h1 id="usage">📘 Usage</h1>
<p>To use the batAlgorithm() function from the bat-algorithm library, follow the example below:</p>
<h3 id="example">Example</h3>
```javascript
const batAlgorithm = require('bat-algorithm');
// Define the cost function
function sphere(x) {
let sum = 0
for (let i = 0; i < x.length; i++) {
sum += x[i] * x[i]
}
return sum
}
// Call the batAlgorithm() function with optional parameters
const result = await batAlgorithm(sphere);
const result = await batAlgorithm(sphere, "./myFolder", 150, 10000, 100, 30, 2, 1, -10, 10, 0, 10);
```
<p>Please ensure that you provide a valid cost function as the first argument when calling the batAlgorithm() function. Customize the optional parameters as needed to suit your optimization problem.</p>
<h3 id="arguments">Arguments</h3>
<p>Here is a table listing the arguments that can be passed to the batAlgorithm() function, along with their default values and descriptions:</p>
<table>
<thead>
<tr>
<th>Argument</th>
<th>Default Value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>costFunc</td>
<td><p align="center">-</p></td>
<td>The cost function to be minimized.</td>
</tr>
<tr>
<td>folderPath</td>
<td>undefined</td>
<td>The folder path to save the data in.(see <a href="#output">output)</a></td>
</tr>
<tr>
<td>saveRate</td>
<td>100</td>
<td>The rate at wich data is saved.(see <a href="#output">output)</a></td>
</tr>
<tr>
<td>maxGen</td>
<td>1000</td>
<td>The maximum number of generations.</td>
</tr>
<tr>
<td>popSize</td>
<td>50</td>
<td>The population size.</td>
</tr>
<tr>
<td>dimension</td>
<td>30</td>
<td>The dimension of the problem.</td>
</tr>
<tr>
<td>maxLoudness</td>
<td>2</td>
<td>The maximum loudness value.</td>
</tr>
<tr>
<td>maxPulseRate</td>
<td>1</td>
<td>The maximum pulse rate value.</td>
</tr>
<tr>
<td>fMin</td>
<td>0</td>
<td>The minimum frequency value.</td>
</tr>
<tr>
<td>fMax</td>
<td>10</td>
<td>The maximum frequency value.</td>
</tr>
<tr>
<td>lowerBound</td>
<td>-5</td>
<td>The lower bound of the search space.</td>
</tr>
<tr>
<td>upperBound</td>
<td>5</td>
<td>The upper bound of the search space.</td>
</tr>
</tbody>
</table>
<h1 id="output">📊 Output</h1>
<p>This library provides an easy and accessible way to save all or part of the computed data during the execution of the Bat Algorithm. The function is asynchronous and returns a Promise, which is resolved at the end of the Bat Algorithm execution, providing an array representing the positions of the best individual at the end of the call. (see <a href="#example">example</a>)</p>
<p>Additionally, the library offers data recording functionalities. If the function receives a second parameter, it will be treated (if not undefined) as the path of the directory where the data should be saved. It is also possible to modify the "save pulse" parameter by passing a number as the third argument (optional, with a default value of 100). When a second argument is provided to the function, data will be recorded every x generations (where x is the save pulse value, which can be modified).</p>
<p>Each recording is saved as a JSON file, created at each recording occurrence. Therefore, multiple files are generated with a single function call. The JSON file includes essential data such as generation number, loudness array, pulse rate array, frequency array, position array, velocity array, and the best individual.</p>
<p>Feel free to explore and utilize these data recording capabilities to monitor and analyze the progress and results of the Bat Algorithm in your projects.</p>
<h1 id="authors">👥 Authors</h1>
<p>Guillaume Giannantonio</p>
<h1 id="references">🔖 References</h1>
<p>Yang, X.-S. "A new metaheuristic bat-inspired algorithm." Nature inspired cooperative strategies for optimization (NICSO 2010). Springer Berlin Heidelberg, 2010. 65-74.</p>
| A simple JavaScript library implementing the Bat Algorithm for optimization problems. | algorithm,algorithmic-optimization,bat-algorithm,feature-selection,function-optimization,global-optimization,javascript,library,mathematical-optimization,metaheuristic | 2023-06-21T10:13:48Z | 2023-06-22T20:27:16Z | null | 2 | 0 | 19 | 0 | 1 | 5 | null | MIT | JavaScript |
ViktorSvertoka/goit-react-hw-07-phonebook | main | Використовуй цей
[шаблон React-проекту](https://github.com/goitacademy/react-homework-template#readme)
як стартову точку своєї програми.
# Критерії приймання
- Створений репозиторій `goit-react-hw-07-phonebook`
- Використана бібліотека `Redux Toolkit`
## Телефонна книга
Виконай рефакторинг коду застосунку «Телефонна книга». Видали код, який
відповідає за зберігання та читання контактів з локального сховища, та додай
роботу з бекендом для зберігання контактів.
Створи бекенд для розробки за допомогою UI-сервісу
[mockapi.io](https://mockapi.io). Зареєструйся, використовуючи свій обліковий
запис GitHub.
Створи ресурс `contacts`, щоб отримати ендпоінт `/contacts`. Використовуй
конструктор ресурсу та опиши об'єкт контакту як на ілюстрації.
<img src="./resource.png" alt="Contact schema" with="400" />
Використовуй функцію
[createAsyncThunk](https://redux-toolkit.js.org/api/createAsyncThunk) або
[RTK Query](https://redux-toolkit.js.org/rtk-query/overview) для взаємодії з
бекендом та асинхронними запитами.
---
npm install styled-components@5.3.10
import styled from 'styled-components';
---
npm i react-redux
import { Provider } from 'react-redux'
---
npm i redux-persist
import { PersistGate } from 'redux-persist/es/integration/react'
---
npm i @reduxjs/toolkit
npm install redux
npm install @redux-devtools/extension
npm i axios
---
URL
https://649496f90da866a9536803ee.mockapi.io
| Home task for React course📘 | css3,goit,goit-react-hw-07-phonebook,html5,javascript,npm,react,styled-components | 2023-06-21T13:57:03Z | 2023-06-23T19:42:01Z | null | 1 | 16 | 45 | 0 | 0 | 5 | null | null | JavaScript |
ShahramShakiba/Todo-List | main | # <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg" alt="javascript" width="40" height="40"/></a> Todo List App
<!----------------------------------------- Description ---------------------------------------->
**<img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Symbols/Bubbles.png" alt="Bubbles" width="40" height="40" /> _Description_** :<br/>
> This is a ` Practice-Project ` to create a Todo-List to practice _HTML_, _CSS_ and _JavaScript_. <br/>
> In this project, the focus is on adding, editing and deleting todos. <br/>
- A _Todo-list_ helps you organize tasks and stay on top of your deadlines. You can use it to manage everything from grocery lists to work-related tasks and more. <br/>
### Some benefits of using a todo-list app
**Increases productivity**<br/>
**Improves memory**<br/>
**Reduces stress**<br/>
**Allows for more personal time**<br/>
**Provides a sense of accomplishment**<br/><br/>
<!----------------------------------------- try it live ---------------------------------------->
### Give It A Go In Real-Time and Give Me A Star <img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Telegram-Animated-Emojis/main/Symbols/Dizzy.webp" alt="Dizzy" width="35" />
<a href="https://shahramshakiba.github.io/Todo-List/" target="_blank">
<img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Telegram-Animated-Emojis/main/Objects/Light%20Bulb.webp" alt="Light Bulb" width="25" height="25" /> Minimal Todo-List Application Demo
</a> <br/><br/>
<!------------------------------------------- Video ------------------------------------------->
### <img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Telegram-Animated-Emojis/main/Objects/Clapper%20Board.webp" alt="Clapper Board" width="55" />
https://github.com/ShahramShakiba/Todo-List/assets/110089830/16092204-d66a-45fd-b460-c9331027badd
<br/>
<!------------------------------------------- Social-Media ------------------------------------------->
## <img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Telegram-Animated-Emojis/main/Objects/Telephone.webp" alt="Telephone" width="55" /> You can find me around the Web
<a href="https://www.linkedin.com/in/shahramshakiba/" target="_blank">
<img 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>
<a href="https://t.me/ShahramShakibaa" target="_blank">
<img src="https://raw.githubusercontent.com/maurodesouza/profile-readme-generator/master/src/assets/icons/social/telegram/default.svg" width="52" height="40" alt="telegram logo" />
</a>
<a href="https://wa.me/message/LM2IMM3ABZ7ZM1" target="_blank">
<img src="https://raw.githubusercontent.com/maurodesouza/profile-readme-generator/master/src/assets/icons/social/whatsapp/default.svg" width="52" height="40" alt="whatsapp logo" />
</a>
<a href="https://instagram.com/shahram.shakibaa?igshid=MzNlNGNkZWQ4Mg==" target="_blank">
<img src="https://raw.githubusercontent.com/maurodesouza/profile-readme-generator/master/src/assets/icons/social/instagram/default.svg" width="52" height="40" alt="instagram logo" />
</a>
<a href="https://twitter.com/ShahramShakibaa" target="_blank">
<img src="https://raw.githubusercontent.com/maurodesouza/profile-readme-generator/master/src/assets/icons/social/twitter/default.svg" width="52" height="40" alt="twitter logo" />
</a>
| A software application designed to track a list of tasks or activities that need to be completed (JavaScript🟡). | todo-app,todo-list,todolist,javascript | 2023-06-23T10:52:49Z | 2023-12-07T11:23:00Z | null | 1 | 0 | 96 | 1 | 0 | 5 | null | null | JavaScript |
kartik126/hkirat-assign | main | ### FullStack Development Course Assignments (Week 1)
- The project contains easy, medium and hard assigments for week 1.
- 01-js contains assignments related to JavaScript, things that were covered in the first class.
- 02-async-js contains assignments related to asynchronous JavaScript, things that were covered in the second class.
- If you have any query then ping us on the Discord server. | This repository is dedicated to learning purposes. It contains assignments focused on the MERN stack and open-source contributions. | expressjs,javascript,nodejs | 2023-06-16T06:44:30Z | 2023-08-21T04:18:00Z | null | 2 | 0 | 25 | 1 | 3 | 5 | null | null | JavaScript |
PaymentsHubDevelopers/PaymentsHub-Vue-iFrame-JS-SDK | main | # Securely Embed Payments in a VueJS App
This is a JavaScript application that uses the Vue framework and Node.js to demonstrate an embedded payment solution with [Payments Hub's iFrame JavaScript SDK](https://developer.paymentshub.com/products/card-not-present/iframe-javascript-sdk). The full-stack code in this repository adds a simple payment form to a website, handling both the front-end and back-end aspects of the payment process.
## Get Sandbox Credentials
To get started, create a free [Payments Hub Developer Portal account](https://developer.paymentshub.com/auth/signup). This will allow you to get the sandbox credentials that are required to test the app. Check out the official [iFrame JavaScript SDK Integration Guide](https://developer.paymentshub.com/products/card-not-present/iframe-javascript-sdk/integration), then [contact](https://developer.paymentshub.com/contact) the Payments Hub Sales Engineering team to get sandbox credentials added to your Developer Portal account.
## Follow Along with the Tutorial
When you're ready to start building your app, you can follow along with [this tutorial](https://developer.paymentshub.com/blog/embedded-payments-vue-app) for step-by-step instructions.
## Completed App
Your completed ecommerce app will look similar to the following:

Clicking the "Purchase" button will open a checkout form modal where customers can enter their payment information and place an order:

| This is a JavaScript application that uses the Vue framework and Node.js to embed a payment solution with Payments Hub's iFrame JavaScript SDK. | checkout-form,ecommerce-application,ecommerce-website,javascript,javascript-applications,javascript-ecommerce,nodejs,nodejs-api,nuxt,nuxt3 | 2023-06-15T20:19:11Z | 2023-06-20T23:44:02Z | null | 1 | 0 | 18 | 0 | 0 | 5 | null | null | Vue |
Drabovich/trenajeri | main | null | Online store selling exercise equipment | html,javascript,scss | 2023-06-25T05:05:50Z | 2024-01-15T07:02:52Z | null | 1 | 0 | 3 | 0 | 0 | 5 | null | null | HTML |
alyhxn/3D-Path-Planning | master | # 3D Path Planning Simulation
Explore 3D path planning using A*, RRT, and RBT(New) algorithms with this interactive simulation implemented in JavaScript and Three.js.
[Click here to access the simulation](https://alyhxn.github.io/3D-Path-Planning/)

## Algorithms:
1. **A\* Algorithm:**
- A popular pathfinding algorithm known for its efficiency and optimality.
2. **RRT (Rapidly-Exploring Random Tree) Algorithm:**
- A randomized algorithm suitable for non-holonomic systems.
3. **RBT (New) Algorithm:**
- Introducing a new algorithm for 3D path planning.
Feel free to interact with the simulation and observe the behaviors of these algorithms in the context of 3D path planning. Improvement suggestions and contributions are welcome.
For the live simulation, visit [this link](https://alyhxn.github.io/3D-Path-Planning/).
## Usage:
If you want to experiment with this, just clone the repo. Everything is setup ;)
## Credit Notice:
If you use or reference this work in your projects, please provide credit by mentioning the original author and including a link to this repository.
| 3D path planning using A*, RRT, and RBT(New) algorithms with this interactive simulation implemented in JavaScript. | 3d-path-planning,astar,javascript,path-planning,rrt | 2023-06-13T15:26:22Z | 2024-02-18T04:38:03Z | null | 1 | 0 | 15 | 0 | 0 | 5 | null | MIT | JavaScript |
15Dkatz/next-react-course | main | ## Course Repository for Next.js and React 18 Course by David Jospeph Katz
**[https://www.udemy.com/course/nextjs-and-react-bootcamp](https://www.udemy.com/course/nextjs-and-react-bootcamp/?referralCode=686A52209BC6FC20C7B7)**

In this course, you will learn:
* The Next.js React Framework and React 18
* Client vs. Server Components and Client-Side vs. Server-Side Rendering
* New React 18 hooks: useTransition and useDeferredValue
* React Suspense
* The Next.js Architecture: Layouts, Pages, and Routes
* Next.js Dynamic Segments and Route Groups
* Next.js hooks like usePathname and useSelectedLayoutSegments
* Next.js Deployment with Vercel
* Tailwind CSS
* And more
### Links
1. [sandbox/davidkandomusic-demo-starting-point](https://codesandbox.io/p/sandbox/davidkandomusic-demo-starting-point-h7p5g9)
2. [davidkandomusic.com](https://www.davidkandomusic.com)
3. [davidkandomusic repo](https://github.com/15Dkatz/davidkandomusic)
### Commits/Code Per Lecture
* [Start the Next.js and React Project](https://github.com/15Dkatz/next-react-course/commit/0a8efe7a8d4f5594b1f2289e2ca639cbdd080062)
* [Link to Pages with Next/Link | Grid Item](https://github.com/15Dkatz/next-react-course/commit/e6c0d214df81259e573f3adb0a7866711fdc9b70)
* [Style with Tailwind CSS | Styling](https://github.com/15Dkatz/next-react-course/commit/e91dcb064264fb6a1ffe2234962666d8d3d2db89)
* [Next.js Fonts and Responsive Design](https://github.com/15Dkatz/next-react-course/commit/4efd1b4fd7cbed5d3edd3850bd8b99705c84c5a3)
* [Connect Page Setup](https://github.com/15Dkatz/next-react-course/commit/9d7a5a4c9903f81cd790a85504d0704c0ead3e4c)
* [Next.js Client Components](https://github.com/15Dkatz/next-react-course/commit/714bf1a574213b612d79ddc80c47ebd9d9be8b2c)
* [Next.js Server Actions (get-followers)](https://github.com/15Dkatz/next-react-course/commit/e5c1767f20b1accbc835393ea2e105832e3ee5e6)
* [Mailjet API post-contact Server Action and Next.js Environment Variables](https://github.com/15Dkatz/next-react-course/commit/15f78aab5892dbcbe0024160a393a4d80f2b72e1)
* [React 18 useTransition and Create Contact Form](https://github.com/15Dkatz/next-react-course/commit/d689d276f15ae9cab4a6edb83bee6154f33ecdc8)
* [Next.js Layout Structure, Loading.js, and Global Components](https://github.com/15Dkatz/next-react-course/commit/3b7240918b374a53ed244a4b55e86fa4d220cc4b)
* [Next.js Dynamic Segments and generateStaticParams | record/\[id\]](https://github.com/15Dkatz/next-react-course/commit/0fda239ac665576126863ada4b13662b4492468a)
* [Next.js generateMetadata | record/\[id\]/page.js](https://github.com/15Dkatz/next-react-course/commit/0aa48b523425abae083e4ceb789604a00b22f6fc)
* [React Suspense and React lazy | Embed](https://github.com/15Dkatz/next-react-course/commit/609ec6afede027c15cb840261bb47d20e4515738)
* [Next.js not-found and Route Groups](https://github.com/15Dkatz/next-react-course/commit/56f6000bdd5a936150bea15c1b08ab21dcddaa44)
* [Nested Dynamic Segments | record/\[id\]/\[content\]](https://github.com/15Dkatz/next-react-course/commit/9c7f3a26397714e811b1b53a93017c2c9251646e)
* [Breadcrumbs Component and Next.js useSelectedLayoutSegments | nav-title](https://github.com/15Dkatz/next-react-course/commit/1e7870ecdcc7ceaaa97fd95091a938a55c7527cd)
* [Setup Quiz Form and (form) route group](https://github.com/15Dkatz/next-react-course/commit/27fb95097796fba2dbd74338099f6ce9947d8da0)
* [Next.js useSearchParams and Quiz result](https://github.com/15Dkatz/next-react-course/commit/13648fecb2bc3b681aec05d5f5febda295dfbedd)
* [Next.js Images and Web Standards | Discography](https://github.com/15Dkatz/next-react-course/commit/dc4aa96c3687fd646f86035d44519ad1570d4ff8)
* [React 18 useDeferredValue](https://github.com/15Dkatz/next-react-course/commit/5c57464030f610c2033090d28d2095f667eef4fb)
| Next.js 13 & React 18 Course | javascript,nextjs,react,react18 | 2023-06-13T02:24:14Z | 2023-07-12T16:51:19Z | null | 1 | 0 | 25 | 0 | 3 | 5 | null | null | JavaScript |
saiteja-madha/flowbite-admin-dashboard-nodejs | main | # Note
This is a fork of the original [Flowbite Admin Dashboard](https://github.com/themesberg/flowbite-admin-dashboard) repository. This fork is used to create a NodeJS version of the dashboard using [Express](https://expressjs.com/) and [EJS](https://ejs.co/) as the templating engine.
# [Flowbite Admin Dashboard](https://flowbite-admin-dashboard.vercel.app) [](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fthemesberg%2Fflowbite-admin-dashboard&text=Check%20out%20this%20open-source%20admin%20dashboard%20built%20with%20Flowbite%20and%20Tailwind%20CSS)
[](https://flowbite-admin-dashboard.vercel.app/)
This project is a free and open-source UI admin dashboard template built with the components from [Flowbite](https://github.com/saiteja-madha/flowbite-admin-dashboard-nodejs) and based on the utility-first [Tailwind CSS](https://github.com/tailwindlabs/tailwindcss) framework featuring charts, tables, widgets, CRUD layouts, modals, drawers, and more.
This admin dashboard can quickly help you get started building an application for your project using the newest UI/UX development technologies in the open-source area including Tailwind CSS and Flowbite.
## 🌀 Built with Flowbite
The interactive components such as the navbars, modals, drawers, and tooltips are all based on the popular [open-source component library called Flowbite](https://flowbite.com/) which enables us to use these elements by creating more complex set of pages and widgets inside a fully-fledged admin dashboard template.
## 💨 Tailwind CSS utility classes
All of the pages, widgets, and components are solely based on the utility-first classes from Tailwind CSS and it is compatible with the latest `v3.x` of the technology by automatically purging all of the classes based on the template paths.
## 📊 15 example pages
Get started with 15 advanced examples pages including two different layouts of a dashboard's homepage full of charts widgets, tables, datepickers, and statistics and also with two CRUD layout pages for products, users, a settings page, authentication pages for login and register and even custom 404 and 500 error pages.
## 🧱 Advanced components
This admin dashboard contains many advanced components both from Flowbite but also from other third-party libraries such as ApexCharts which have been customly tailored with Tailwind CSS classes and designed based on the [Flowbite Design System](https://flowbite.com/figma/).
## 📚 Flowbite documentation
If you want to use this project we recommend to also [study the component library](https://flowbite.com/docs/getting-started/introduction/) that we used to build this dashboard because you can use even more components from that library to enhance the examples that we've coded here already.
## ⚙️ Workflow
This product is built using the following widely used technologies:
- Tailwind CSS: [tailwindcss.com](https://tailwindcss.com/)
- Flowbite: [flowbite.com](http://flowbite.com/)
- HUGO [gohugo.io](https://gohugo.io/documentation/)
- Webpack [webpack.js.org](https://webpack.js.org/)
## Table of Contents
- [Flowbite Admin Dashboard ](#flowbite-admin-dashboard-)
- [🌀 Built with Flowbite](#-built-with-flowbite)
- [💨 Tailwind CSS utility classes](#-tailwind-css-utility-classes)
- [📊 15 example pages](#-15-example-pages)
- [🧱 Advanced components](#-advanced-components)
- [📚 Flowbite documentation](#-flowbite-documentation)
- [⚙️ Workflow](#️-workflow)
- [Table of Contents](#table-of-contents)
- [Demo pages](#demo-pages)
- [Quick start](#quick-start)
- [JavaScript Frameworks](#javascript-frameworks)
- [Back-end Frameworks](#back-end-frameworks)
- [File Structure](#file-structure)
- [Browser Support](#browser-support)
- [Resources](#resources)
- [Reporting Issues](#reporting-issues)
- [Technical Support or Questions](#technical-support-or-questions)
- [Licensing](#licensing)
- [Useful Links](#useful-links)
- [Authors](#authors)
## Demo pages
| Dashboard | Stacked Layout | Products (CRUD)
| --- | --- | --- |
| |  | 
| Users (CRUD) | Settings | Pricing page
| --- | --- | --- |
|  |  | 
| Login page | Register page | Reset password
| --- | --- | --- |
|  |  | 
| Forgot password | Profile lock | Maintenance page
| --- | --- | --- |
|  |  | 
| 404 not found | 500 server error | Playground
| --- | --- | --- |
|  |  | 
- [Live Preview](https://flowbite-admin-dashboard.vercel.app/)
## Quick start
1. Clone this repository or download the ZIP file
2. Make sure that you have Node.js and NPM installed
3. Install the project dependencies from the `package.json` file:
```
npm install
```
4. Create a local server on `localhost:3000` by running the following command:
```
npm run start
```
You can also start the project in development mode with HMR (Hot Module Replacement) enabled by running:
```
npm run dev
```
Here's a list of compatible technologies and guides for Flowbite and Tailwind CSS:
### JavaScript Frameworks
The awesome open-source community also built and currently maintains the following standalone libraries for React, Vue, Svelte, and Angular:
- [🌀 Flowbite React Library](https://github.com/themesberg/flowbite-react)
- [🍀 Flowbite Vue Library](https://github.com/themesberg/flowbite-vue)
- [🎸 Flowbite Svelte Library](https://github.com/themesberg/flowbite-svelte)
- [📕 Flowbite Angular Library](https://github.com/themesberg/flowbite-angular)
We also wrote integration guides for the following front-end frameworks and libraries:
- [📝 Flowbite with React guide](https://flowbite.com/docs/getting-started/react/)
- [📝 Flowbite with Next.js guide](https://flowbite.com/docs/getting-started/next-js/)
- [📝 Flowbite with Vue guide](https://flowbite.com/docs/getting-started/vue/)
- [📝 Flowbite with Nuxt.js guide](https://flowbite.com/docs/getting-started/nuxt-js/)
- [📝 Flowbite with Svelte guide](https://flowbite.com/docs/getting-started/svelte/)
### Back-end Frameworks
Flowbite has a great integration with most of the back-end frameworks because it relies on vanilla JavaScript:
- [📚 Using Flowbite with Laravel](https://flowbite.com/docs/getting-started/laravel/)
- [🚊 Using Flowbite with Ruby on Rails 7](https://flowbite.com/docs/getting-started/rails/)
- [🐸 Using Flowbite with Django](https://flowbite.com/docs/getting-started/django/)
- [🌶 Using Flowbite with Flask](https://flowbite.com/docs/getting-started/flask/)
## File Structure
Within the download you'll find the following directories and files:
```
Flowbite Admin Dashboard
.
├── LICENSE
├── README.md
├── content
├── data
├── layouts
├── node_modules
├── package-lock.json
├── package.json
├── postcss.config.js
├── src
├── static
├── tailwind.config.js
├── webpack.config.js
└── yarn.lock
```
## Browser Support
At present, we officially aim to support the last two versions of the following browsers:
<img src="https://s3.amazonaws.com/creativetim_bucket/github/browser/chrome.png" width="64" height="64"> <img src="https://s3.amazonaws.com/creativetim_bucket/github/browser/firefox.png" width="64" height="64"> <img src="https://s3.amazonaws.com/creativetim_bucket/github/browser/edge.png" width="64" height="64"> <img src="https://s3.amazonaws.com/creativetim_bucket/github/browser/safari.png" width="64" height="64"> <img src="https://s3.amazonaws.com/creativetim_bucket/github/browser/opera.png" width="64" height="64">
## Resources
- Live preview: <https://flowbite-admin-dashboard.vercel.app/>
- Flowbite documentation: <https://flowbite.com/docs/getting-started/introduction/>
- Tailwind CSS documentation: <https://tailwindcss.com/>
- License Agreement: <https://flowbite.com/docs/getting-started/license/>
- Issues: [Github Issues Page](https://github.com/themesberg/flowbite-admin-dashboard/issues)
## Reporting Issues
We use GitHub Issues as the official bug tracker for Flowbite Admin Dashboard. Here are some advices for our users that want to report an issue:
1. Make sure that you are using the latest version of Flowbite Admin Dashboard. Check the CHANGELOG from your dashboard on the [GitHub releases page](https://github.com/themesberg/flowbite-admin-dashboard/releases).
2. Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
3. Some issues may be browser specific, so specifying in what browser you encountered the issue might help.
## Technical Support or Questions
If you have questions or need help integrating the product please [contact us](https://flowbite.com/contact/) instead of opening an issue.
## Licensing
- Copyright 2019-2023 Bergside Inc. (https://flowbite.com)
- Open-source under the [MIT License](https://github.com/themesberg/flowbite-admin-dashboard/blob/main/LICENSE)
## Useful Links
- 📚 [Flowbite Library](https://flowbite.com/) - Open-source components built with Tailwind CSS
- 🎨 [Flowbite Figma](https://flowbite.com/figma/) - Design system built for Figma
- 🧱 [Flowbite Blocks](https://flowbite.com/blocks/) - Building sections for website and applications
- 💎 [Flowbite Pro](https://flowbite.com/pro/) - A larger collection of the open-source version of the latter three
## Authors
- [Zoltán Szőgyényi](https://twitter.com/zoltanszogyenyi)
- [Robert Tanislav](https://twitter.com/roberttanislav)
- [Sai Teja Madha](https://saitejamadha.me) | Free and open-source admin dashboard template built with Tailwind CSS and Flowbite | admin-dashboard,charts,css,dashboard,ejs,express-js,flowbite,html,javascript,tailwind | 2023-06-24T08:42:24Z | 2024-04-06T03:23:02Z | null | 1 | 0 | 5 | 0 | 1 | 5 | null | MIT | EJS |
asmaaadel0/Food-Order | main | ## 📝 Table of Contents
- [About <a name = "about"></a>](#about-)
- [website Features <a name = "website-Features"></a>](#website-Features-)
- [How to Use <a name = "How-to-Use"></a>](#How-to-Use-)
- [Website link <a name = "link"></a>](#website-link-)
- [vedio <a name = "vedio"></a>](#vedio-)
- [Contributors <a name = "Contributors"></a>](#contributors-)
- [License <a name = "License"></a>](#License-)
## About <a name = "about"></a>
The "Food Order" React project is a web application designed to simplify the process of ordering food online. It allows users to browse a variety of food items, add them to their cart, and view their order details.
## Website Features <a name = "website-Features"></a>
The "Food Order" application allows users to perform the following actions:
- Browse different food items.
- Add food items to the cart by clicking on the "+Add" button.
- Adjust the quantity of food items in the cart by clicking the "+" or "-" buttons.
- View the total price of the items in the cart.
- Proceed to checkout and complete the order.
## How to Use <a name = "How-to-Use"></a>
- Clone the repository: `git clone https://github.com/asmaaadel0/Food-Order.git`
- Install dependencies: `npm install`
- Start the development server: `npm start`
- Open your browser and visit: `http://localhost:3000`
## Website link <a name = "link"></a>
- https://food-order-seven-woad.vercel.app/
## vedio <a name = "vedio"></a>
https://github.com/asmaaadel0/Food-Order/assets/88618793/c5bcaf3b-812b-4c0d-91da-570fdd321b01
## Contributors <a name = "Contributors"></a>
<table>
<tr>
<td align="center">
<a href="https://github.com/asmaaadel0" target="_black">
<img src="https://avatars.githubusercontent.com/u/88618793?s=400&u=886a14dc5ef5c205a8e51942efe9665ed8fd4717&v=4" width="150px;" alt="Asmaa Adel"/>
<br />
<sub><b>Asmaa Adel</b></sub></a>
</tr>
</table>
## License <a name = "License"></a>
- Timer is open source and released under the MIT License.
| The "Food Order" React project is a web application designed to simplify the process of ordering food online. It allows users to browse a variety of food items, add them to their cart, and view their order details. | css,food-order,html,javascript,react | 2023-06-23T18:12:24Z | 2024-02-26T15:55:32Z | null | 1 | 0 | 29 | 0 | 0 | 5 | null | MIT | JavaScript |
jai05yadav/bus_booking | main | null | A fully functional project based on Bus Ticket Booking System that uses html,css,JavaScript and php with MySQL database. It has a number of features that will allow users to manage bus routes as well as their bookings. This system as well as the web application’s concept is all clear, it’s the same as real-life scenarios and well-implemented on it | css,html5,javascript,mysql,mysql-database,php,fullstack-development,projects | 2023-06-28T09:13:42Z | 2023-06-28T12:38:13Z | null | 1 | 0 | 5 | 1 | 0 | 5 | null | null | JavaScript |
amoskyalo/Car-Rent | main | # Car Rental App






Welcome to the Car Rental App repository! This is a mobile application built using React Native, Sanity.io, and Socket.io. The app allows users to browse and rent cars, chat with other users and car renters, and explore various settings and search options.
## Features
1. Car browsing: Users can browse through a wide selection of cars available for rent. They can view details about each car, such as its make, model, year, price, and availability.
2. Chat functionality: The app provides an in-app chat feature, allowing users to communicate with other people or car renters. Users can exchange messages, negotiate rental terms, and get any additional information they need.
3. New user notifications: Users are notified when a new user joins the app. They can initiate a chat with the newcomer, ask questions, or offer assistance.
4. Settings: The app offers a settings page where users can configure their preferences, update their profile information, and manage notification settings.
5. Car search: Users can easily search for specific cars based on their preferences. They can filter results by make, model, year, price range, and other relevant criteria.
## Technologies Used
1. React Native: A popular framework for building cross-platform mobile applications using JavaScript and React.
2. Sanity.io: A headless CMS (Content Management System) that provides a structured backend for managing car listings and related content.
3. Socket.io: A real-time communication library that enables instant messaging and notifications between app users.
## Installation
To run the Car Rental App locally on your development machine, follow these steps:
1. Clone this repository to your local machine
2. Install the Expo CLI globally on your machine by running the following command: `npm install -g expo-cli`
3. Navigate to the project directory and install the project dependencies by running: `expo install`
4. Start the development server: `npx expo start`. This command will launch the Expo development server and provide you with options to run the app on an emulator, physical device, or web browser.
## Contributing
Contributions to the Car Rental App project are welcome!
First, you can check all open issues and try to solve them. If you encounter any bugs, have suggestions for improvements, or would like to add new features, please feel free to open an issue or submit a pull request.
## Contact
If you have any questions, feedback, or inquiries about the Car Rental App, please contact me at amoskyalo927@gmail.com.
| A car rent app where users can browse and rent cars. Users can also chat with other users or car renters. | javascript,react,react-native,sanity-io,socket-io,tailwindcss | 2023-06-27T15:11:52Z | 2023-06-27T15:59:22Z | null | 1 | 0 | 5 | 0 | 1 | 5 | null | null | JavaScript |
Vanille-B/wizz-msn | master | <p align="center">
<img src="https://raw.githubusercontent.com/Vanille-B/wizz-msn/master/assets/img/github-msn-background-img.png" alt="Wizz MSN Project" align="center">
</p>
# Wizz MSN
## 🇫🇷 Introduction
Ce projet est une démonstration de l'effet Wizz. L'effet visuel du bouton est inspiré de l'effet "Wizz" utilisé sur MSN Messenger, la célèbre plateforme de messagerie instantanée.
L'objectif de ce projet est de recréer l'expérience du bouton "Wizz" de MSN Messenger, en fournissant une rétroaction visuelle dynamique lorsqu'il est cliqué. Lorsque vous cliquez sur le bouton, le contenu est partagé et une animation "Wizz" est appliquée, donnant l'impression que l'écran vibre brièvement.
> Demo : https://msn-wizz.netlify.app
### 🇫🇷 Fonctionnalités
- En cliquant sur le bouton, une animation "Wizz" est appliquée.
- L'animation du bouton donne une impression de vibration de l'écran, rappelant l'effet original de MSN Messenger.
### 🇫🇷 Instructions d'utilisation
1. Clonez ce dépôt sur votre machine locale en utilisant la commande suivante :
git clone https://github.com/Vanille-B/wizz-msn.git
2. Ouvrez le fichier `index.html` dans votre navigateur.
3. Testez le bouton de partage en cliquant dessus et observez l'effet "Wizz" ainsi que le comportement de partage.
4. Explorez le code JavaScript dans le fichier `script.js` pour comprendre la logique du bouton et la manière dont l'effet "Wizz" est implémenté.
### 🇫🇷 Contributions
Les contributions à ce projet sont les bienvenues. Si vous souhaitez améliorer, redesigner ou ajouter des fonctionnalités, veuillez créer une pull request. Merci d'avance pour votre contribution !
## 🇺🇸 Introduction
This project is a Wizz effect demonstration. The visual effect of the button is inspired by the "Wizz" effect used on MSN Messenger, the popular instant messaging platform.
The goal of this project is to recreate the experience of the "Wizz" button from MSN Messenger by providing dynamic visual feedback when clicked. When you click the button, the content is shared, and a "Wizz" animation is applied, giving the impression of briefly vibrating the screen.
> Demo : https://msn-wizz.netlify.app
### 🇺🇸 Features
- When the button is clicked, a "Wizz" animation is applied to provide visual feedback to the user.
- The button animation gives the impression of vibrating the screen, reminiscent of the original effect in MSN Messenger.
### 🇺🇸 Usage Instructions
1. Clone this repository to your local machine using the following command:
git clone https://github.com/Vanille-B/wizz-msn.git
2. Open the `index.html` file in your browser.
3. Test the share button by clicking on it and observe the "Wizz" effect and the sharing behavior.
4. Explore the JavaScript code in the `script.js` file to understand the logic of the button and how the "Wizz" effect is implemented.
### 🇺🇸 Contributions
Contributions to this project are welcome. If you wish to improve, redesign, or add features, please create a pull request. Thank you in advance for your contribution ! | The visual effect of the button is inspired by the "Wizz" effect used on MSN Messenger. [Javascript / SCSS] | javascript,vanilla-js,scss,js,no-framework | 2023-06-25T21:24:40Z | 2023-06-28T15:14:12Z | null | 1 | 0 | 6 | 0 | 0 | 5 | null | null | SCSS |
tajulafreen/unit-test-excercise | main | # testing-exercise | null | javascript,unit-testing | 2023-06-21T19:52:26Z | 2023-06-22T18:17:29Z | null | 1 | 0 | 3 | 0 | 0 | 5 | null | null | JavaScript |
Entity-Access/entity-access | main | [](https://github.com/Entity-Access/entity-access/actions) [](https://badge.fury.io/js/%40entity-access%2Fentity-access)
# Entity Access
Inspired from Entity Framework Core, Entity Access is ORM for JavaScript runtime such as Node, YantraJS.
# Project Status
1. Released - Postgres Driver
2. Released - Sql Server Driver
3. Released - Include Feature
4. Planned - MySql Driver
5. Planned - Oracle Driver (Need help, we do not have Oracle Expertise)
## Features
1. Arrow function based query features with automatic joins.
2. Unit of Work and Repository Pattern
3. Automatic Migrations for missing schema - this is done for fast development and deployment.
4. Sql functions such as LIKE, You can add your own custom functions easily.
5. Postgres Driver
6. Sql Server Driver
7. Automatic parameterization to safeguard sql injection attacks.
8. Context Filters - This is a new concept where you can setup filters that will be used against saving/retrieving data.
9. Sum and Count query methods.
10. Composite Primary Key Support.
## Upcoming Features
1. Projection - Split query mode only, single level only.
2. Update column before save
3. GroupBy
4. Custom Migration Steps
5. MySql support
### Unit of Work
```typescript
const db = new ShoppingContext();
db.orders.add({
orderDate: new Date(),
userID,
orderItems: [
db.orderItems.add({
productID,
amount
})
]
});
// save all in single transaction
await db.saveChanges();
const existingOrderItem1: OrderItem;
const existingOrderItem2: OrderItem;
existingOrderItem2.status = "cancelled";
existingOrderItem1.status = "cancelled";
// executes update statements in single transaction
await db.saveChanges();
db.orderItems.delete(existingOrderItem1);
db.orderItems.delete(existingOrderItem2);
// executes delete statements in single transaction
await db.saveChanges();
```
### Arrow function based query features
Arrow function based query provides many benefits over tagged template literals or other fluent methods to build queries.
1. Arrow functions are easy to visualize.
2. You will get intellisense help to complete the query.
3. You will get errors if the wrong data types are compared or used in computations.
4. Change of property name will automatically refactor as typescript will keep references of where the property is used.
Simple Query
```typescript
const db = new ShoppingContext();
// find customer from orderID
const q = db.customers
// set parameters
.where({ orderID },
// access parameters
(p) =>
// following expression
// be converted to SQL
(customer) => customer.orders.some(
// joins/exists will be set
// based on relations declared
(order) => order.orderID === p.orderID );
const customer = await q.first();
```
Above expression will result in following filter expression
```sql
SELECT c.firstName, c.lastName, c.customerID
FROM customers as c
EXISTS (
SELECT 1
FROM Orders as o1
WHERE c.customerID = o1.orderID
AND o1.orderID = $1
)
LIMIT 1;
```
Query with Like operator
```typescript
/// Find all orders for specified customer
/// Sql functions
const userName = `akash%`;
const q = db.orders.where({ userName },
(params) =>
(order) =>
Sql.text.like(
order.customer.userName,
params.userName
)
);
// note that the join will be performed automatically
```
Following query will be generated for the query.
```sql
SELECT o.orderID, o.orderDate, o.customerID, ...
FROM orders as o
INNER JOIN customers c
ON c.customerID = o.customerID
WHERE
c.userName like $1
```
### Typed Configurations
```typescript
class ShoppingContext {
products = this.model.register(Product);
orders = this.model.register(Order);
orderItems = this.model.register(OrderItem);
users = this.model.register(User);
}
@Table("Users")
@Index({
name: "IX_Unique_Usernames",
unique: true,
columns: [{ name: (x) => x.lowerCaseUserName, descending: false }]
})
class User {
@Column({ key: true, generated: "identity"})
userID: number;
@Column({ length: 200 })
userName: string;
/**
* Create computed column
*/
@Column({ length: 200, computed: (x) => Sql.text.lower(x.userName) })
readonly lowerCaseUserName: string;
}
@Table("Products")
class Product {
@Column({ key: true, generated: "identity"})
productID: number;
// Create a column with default expression
// the expression will be converted to equivalent SQL
// for the target provider `NOW()` for postgresql and
// `GETUTCDATE()` for sql server.
@Column({ default: () => Sql.date.now()})
dateUpdated: DateTime;
// create a column with empty string as default
@Column({ default: () => ""})
productCode: string;
// You can specifiy computed expression
// that will be converted to equivalent SQL
// for target provider.
@Column({
/* Certain providers might need length such as postgresql*/
length: 200,
computed: (p) => Sql.text.concatImmutable(Sql.cast.asText(p.productID), p.productCode)
})
readonly slug: string;
orderItems: OrderItem[];
}
@Table("OrderItems")
class OrderItem {
@Column({ key: true, generated: "identity"})
orderItemID: number;
@Column({})
/**
* Following configuration declares Foreign Key Relation.
* That will give compilation error if configured incorrectly.
*
* RelateTo is for one to many mapping. Making column nullable will
* inverse relation optional.
*/
@RelateTo(Product, {
property: (orderItem) => orderItem.product,
inverseProperty: (product) => product.orderItems
})
productID: number;
@Column({})
@RelateTo(Order, {
property: (orderItem) => orderItem.order,
inverseProperty: (order) => order.orderItems
})
orderID: number;
product: Product;
order: Order;
}
// You can use `RelateToOne` for one to one mapping.
// To prevent circular dependency issues, you can also use different
// arguments as shown below...
@RelateTo({
type: () => Product
property: (orderItem) => orderItem.product,
inverseProperty: (product) => product.orderItems
})
productID: number;
```
## Query Examples
### Compare operators
Only handful of operators are supported as of now.
1. Equality Both `==`, `===`, will result in simple `=` operator in SQL. There is no type check performed and no conversion is performed to speed up
execution. However, typescript will give you warning and compilation for mismatch of operands and you can convert them as needed. But for conversion
use only `Sql.*` functions.
2. Above also applies for operators `!=` and `!==`, they will result in `<>` in SQL.
3. `+`, `-`, `*`, `/` operators will be sent to SQL as it is.
4. For precedence, we recommend using brackets in the arrow functions as there might be differences in underlying database engine's preferences and you may not get correct results.
5. Template Literals, will be sent to SQL as concat, however, please use
conversion of non string to string type if underlying provider does not support direct conversion.
6. Conversion methods, `Sql.cast.as*` methods will provide conversion from any type to desired type. `Sql.cast.asText` will convert to number to text.
#### Equality
Both strict and non strict equality will result in
simple equality comparison in SQL. Database provider
may or may not convert them correctly, so we recommend
using helper functions to convert before comparison.
```typescript
const q = db.customers
.where({ orderID },
(p) =>
(x) => x.orders.some(
(order) => order.orderID === p.orderID )
)
```
> SQL Server does not recognize boolean field as a true/false, so to make your query compatible, you must use `(x) => x.isActive === true` to make it work correctly in sql server.
#### Like
To use `LIKE` operator, `Sql.text.like` method must be used
as it is. Query compiler will only match everything starting
with `Sql.` and it will inject available operator conversion.
You don't have to worry about sql injection as each parameter
passed will be sent as a sql parameter and not as a literal.
```typescript
const prefix = `${name}%`;
db.customers.where({ prefix },
(p) =>
(customer) => Sql.text.like(customer.firstName, p.prefix)
|| Sql.text.like(customer.lastName p.prefix)
)
```
#### Sql Text Functions
For other sql text functions you can use `Sql.text.startsWith`, `Sql.text.endsWith`, `Sql.text.left`... etc as shown below.
```typescript
db.customers.where({ prefix },
(p) =>
(customer) => Sql.text.startsWith(customer.firstName, p.prefix)
|| Sql.text.startsWith(customer.lastName p.prefix)
)
```
#### Sql date functions
Just as text functions you can also use date functions as shown below.
```typescript
const year = (new Date()).getFullYear();
// get count of all orders of this year...
db.orders.where({ year },
(p) =>
(order) => Sql.date.yearOf(order.orderDate) === p.year
)
// above example is only for illustrations only, it will not use index.
// for index usage, please consider window function shown below.
const start:Date = /* start date */;
const end:Date = /* start date */;
// get count of all orders of this year...
db.orders.where({ start, end },
(p) =>
(order) => p.start <= order.orderDate && order.orderDate >= p.end
)
```
### OrderBy
```typescript
q.orderBy({}, (p) => (x) => x.orderDate)
.thenBy({}, (p) => (x) => x.customer.firstName)
// custom...
q.orderBy({}, (p) => (x) => x.orderDate)
.thenBy({}, (p) => (x) => Sql.text.collate(x.customer.firstName, "case_insensitive"))
```
### Limit/Offset
```typescript
q = q.orderByDescending({}, (p) => (x) => x.orderDate)
.thenBy({}, (p) => (x) => x.customer.firstName)
.limit(50)
.offset(50);
```
### Enumerate
```typescript
for await(const product of q.enumerate()) {
//
}
```
### First / First or Fail
```typescript
// it will return first product or null
const firstProduct = await q.first();
// it will throw and exception if product was not
// found
const firstProduct = await q.firstOrFail();
```
### Count
```typescript
const total = await q.count();
```
## Bulk Updates
### Update
Following query will mark all users as active if they
logged in within 30 days.
```typescript
const past30 = DateTime.now.addDays(-30);
db.users.asQuery()
.update({ past30 }, (p) => (x) => ({
active: Sql.cast.asBoolean(
x.lastLogin > p.past30
)
}))
```
### Delete
Following query will delete all users who did not login
within one year.
```typescript
const past365 = DateTime.now.addYears(-1);
db.users.asQuery()
.delete({ past365 }, (p) =>
(x) => x.lastLogin < p.past365)
```
### Insert
Following query will insert all old messages to
archivedMessages table and delete from messages
in a single transaction.
Everything happens on database server, no entity
is loadded in the memory.
```typescript
const past365 = DateTime.now.addYears(-1);
using tx = await db.connection.createTransaction();
const oldMessagesQuery = db.messages
.where({ past365 }, (p) =>
(x) => x.dateCreated < p.past365 );
oldMessagesQuery.insertInto(db.archivedMessages);
oldMessagesQuery.delete(void 0, (p) => (x) => true)
```
## Provide Custom Sql Methods...
We have provided most used methods, however, to add inbuilt methods, we request you to submit feature request or pull request.
Let's say you have custom function defined in your database and you want to invoke them.
We will extend ISql interface.
```typescript
import Sql from "@entity-access/entity-access/dist/sql/Sql.js";
import ISql from "@entity-access/entity-access/dist/sql/ISql.js";
import { prepareAny } from "@entity-access/entity-access/dist/query/ast/IStringTransformer.js";
declare module "@entity-access/entity-access/dist/sql/ISql.js" {
interface ISql {
myFunctions: {
calculateAmount(total: number, units: number, taxId: string): Date;
}
}
}
Sql.myFunctions = {
calculateAmount(total: number, units: number, taxId: string): number {
// in reality this function will return number,
// but expression to sql compiler expects an array of
// strings and functions. Function represents parameters
// being sent to SQL. Parameters cannot be accessed here.
// So a placeholder function to parameter will be sent to
// this method and it should be passed as it is in array
// as shown below.
// note how comma is inserted as separate string literal.
return ["mySchema.calculateAmount(", total, "," , units , "," , taxId, ")"] as any;
// DO NOT EVER USE THE FOLLOWING
return `mySchema.calculateAmount(${total}, ${units},${taxId})`;
// INSTEAD you can use prepareAny function
// In case if you need to use something else, you can return an array and send
// parameters as it is.
// Also you will not be able to convert the inputs to string because
// each input will only return the function declaration instead of the value as a text.
return prepareAny `mySchema.calculateAmount(${total}, ${units},${taxId})`;
}
};
// now you can use this as shown below...
context.orders.all()
.where({amount}, (p) => (x) =>
Sql.mySchema.calculateAmount(x.total, x.units, x.taxId) < p.amount );
```
## Context Filters and Events
Let's assume that you wan to setup filters in such a way that customer can only
access his own orders.
In order to setup context filters and events, we need to use inbuilt dependency injection, to provide, access to current user and events.
```typescript
export class ProductEvents extends EntityEvents<Product> {
@Inject
user: User;
@Inject
notificationService: NotificationService;
filter(query: IEntityQuery<Product>) {
const { userID } = this.user ?? {};
if (userID) {
// user can only see products that
// user has purchased or products are
// active.
return query.where({ userID }, (p) =>
p.isActive
|| x.orderItems.some((oi) =>
oi.order.customerID === p.userID
)
);
}
// anonymous users can see only active products
return query.where({ userID }, (p) => p.isActive === true);
}
/*
When you are using eager loading, you can avoid adding
extra filters for each relation if the parent is already
filtered. For example, if you are trying to list products
inside orders, since order is already filtered, you can
return query as it is.
*/
includeFilter(query: IEntityQuery<Product>, type, member) {
if(type === OrderItem) {
return query;
}
// for every other include
// use normal filter.
return this.filter(query);
}
/*
this will be called just before
save changes, before the actual editing occurs,
we will automatically determine if the product
can be edited or not by the current use.
*/
/*
This will also work correctly when there are multiple
entities in the single transaction.
*/
modifyFilter(query: IEntityQuery<Product>) {
const { userID } = this.user ?? {};
if (userID) {
// user can only see products that
// user has purchased or products are
// active.
return query.where({ userID }, (p) =>
p.isActive === true
|| x.orderItems.some((oi) =>
oi.order.customerID === p.userID
)
);
}
throw new EntityAccessError(`Cannot edit the product`);
}
// after above filter has passed the entity
// following methods will be raised for every entity
beforeInsert(entity: Product, entry: ChangeEntry<Product>) {
}
// each of these methods, beforeInsert, afteInsert, beforeUpdate
// afterUpdate, beforeDelete and afterDelete are asynchronous and
// you can await on async methods.
async afterInsert(entity: Product, entry: ChangeEntry<Product>) {
await this.notificationService.notify(entity);
}
}
// register all events in context events..
export class AppContextEvents extends ContextEvents{
constructor() {
this.register(Product, ProductEvents);
}
}
const allEvents = new AppContextEvents();
// create context with context events.
const db = new ShoppingContext(allEvents);
// this will return the query with filter
const products = db.filteredQuery<Product>(Product);
```
| Inspired from Entity Framework Core, Entity Access is ORM for JavaScript runtime such as Node, YantraJS. | arrow-functions,javascript,lambda-expressions,nodejs,orm,orm-framework,postgresql,sql,sqlserver,typescript | 2023-06-28T11:27:21Z | 2024-05-09T08:02:15Z | 2024-02-14T06:31:02Z | 1 | 54 | 875 | 1 | 0 | 5 | null | Apache-2.0 | TypeScript |
abhixsh/UrbanWay | master | # Urbanway
<p align="center"><a href="https://ibb.co/SXrY0qy"><img src="https://i.ibb.co/WWt8FS5/logo-concept.png" alt="logo-concept" border="0"></a><br /><a target='_blank' href='https://imgbb.com/'></a><br /></p>
<img src="https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white" /> <img src="https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge&logo=css3&logoColor=white" />
<img src="https://img.shields.io/badge/JavaScript-323330?style=for-the-badge&logo=javascript&logoColor=F7DF1E" />
<img src="https://img.shields.io/badge/PHP-777BB4?style=for-the-badge&logo=php&logoColor=white" />
## Introduction
Our project is to build a website for Bus/Train passengers to book their seats easily by tapping at their fingertips. The project aims to create a user-friendly interface that simplifies the ticket booking process and enhances the overall travel experience for users.
This website allows users to book their bus tickets, and train tickets, view bus and train schedules, check bus seat availability, buy tickets, view routes, search bus & train availability by source, and destination stops, view available buses and trains, sort & filter buses based on amenities, dropping and boarding points, fare, time, seats available. Users can access the website without creating an account but when booking tickets it will ask for the mobile number and a name. After entering those, users will get an OTP(One-time password) which allows the website to verify the user.
## Technologies Used
- HTML
- CSS
- JavaScript
- PHP
- MySQL
- Boxicons
- ScrollReveal.js
## Project Aims
- Provide a seamless and user-friendly ticket booking experience for users.
- Enable users to easily search and compare bus and train schedules and routes.
- Implement features such as seat selection, fare calculation, ticket cancellation, and refund requests.
## Site Structure
The project aims to deliver a comprehensive online ticket booking platform that simplifies the process of booking bus and train tickets, provides real-time updates, ensures secure payments, and offers a seamless user experience.
<p align="center">
<a href="https://ibb.co/2MTvK75"><img src="https://i.ibb.co/8xHr8DX/Screenshot-2023-10-17-001652.png" alt="Screenshot-2023-10-17-001652" border="0"></a><br /><a target='_blank' href='https://imgbb.com/'></a><br />
<a href="https://ibb.co/C80cwT1"><img src="https://i.ibb.co/zxfMm0n/Screenshot-2023-10-17-001750.png" alt="Screenshot-2023-10-17-001750" border="0"></a>
</P>
## License
This project includes an MIT license attached to it. Details can be found in the LICENSE file.
| 🚗 This project is an online ticket booking website that provides users with a convenient and secure platform to book bus and train tickets, view schedules, compare prices, and make online payments. | css,html,javascript,mysql,boxicons | 2023-06-20T17:31:01Z | 2023-10-29T03:51:34Z | null | 6 | 13 | 53 | 0 | 1 | 5 | null | MIT | HTML |
devendra-alt/ES6-todo-list | main | <a name="readme-top"></a>
<div align="center">
<h3><b>ES6 TO-DO LIST Website</b></h3>
</div>
# 📗 Table of Contents
- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [🚀 Live Demo](#live-demo)
- [💻 Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#deployment)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [📝 License](#license)
<!-- PROJECT DESCRIPTION -->
# 📖 ES-6 TODO LIST <a name="about-project"></a>
**E6-6 TODO LIST** is a simple website where user can add daily tasks and mark them complete, remove them etc...
## 🛠 Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
<details>
<summary>Client</summary>
<ul>
<li><a href="https://reactjs.org/">HTML</a></li>
<li><a href="https://reactjs.org/">CSS</a></li>
<li><a href="https://reactjs.org/">JAVASCRIPT</a></li>
</ul>
</details>
<!-- Features -->
### Key Features <a name="key-features"></a>
- **Add Task**
- **Remove Task**
- **Remove Completed Tasks**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LIVE DEMO -->
## 🚀 Live Demo <a name="live-demo"></a>
- [Live demo here](https://devendra-alt.github.io/ES6-todo-list/dist)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- GETTING STARTED -->
## 💻 Getting Started <a name="getting-started"></a>
To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
```
node
vs code
chrome dev tools
```
### Setup
Clone this repository to your desired folder:
```sh
cd my-folder
git clone https://github.com/devendra-alt/ES6-todo-list.git
```
### Install
Install this project with:
```sh
cd ES-6
npm install
```
### Usage
To run the project, execute the following command:
```
npm start
```
### Run tests
To run tests, run the following command:
```
npm run eslint
npm run stylelint
```
### Deployment
You can deploy this project using:
```
github pages
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- AUTHORS -->
## 👥 Authors <a name="authors"></a>
👤 **Author1**
- GitHub: [@githubhandle](https://github.com/devendra-alt)
- Twitter: [@twitterhandle](https://twitter.com/Devendra5101)
- LinkedIn: [LinkedIn](https://linkedin.com/in/devendramulewa)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- FUTURE FEATURES -->
## 🔭 Future Features <a name="future-features"></a>
- [ ] **backend**
- [ ] **multi device support**
- [ ] **sub tasks**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- CONTRIBUTING -->
## 🤝 Contributing <a name="contributing"></a>
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- SUPPORT -->
## ⭐️ Show your support <a name="support"></a>
If you like this project please give start and follow me on social media platforms listed above.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ACKNOWLEDGEMENTS -->
## 🙏 Acknowledgments <a name="acknowledgements"></a>
I would like to thank @microverse
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LICENSE -->
## 📝 License <a name="license"></a>
This project is [MIT](./LICENSE.md) licensed.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
| ES6 based basic todo list | css,es6,javascript,webpack | 2023-06-13T11:54:44Z | 2023-06-19T02:26:27Z | null | 1 | 8 | 28 | 2 | 0 | 5 | null | MIT | JavaScript |
Alkaison/Todo-JavaScript | main | # Todo Web App

This is a Todo web application built using HTML, CSS, and Vanilla JavaScript. It provides a simple and intuitive interface for managing your tasks. The app includes several features to enhance your productivity and help you stay organized. Checkout here: https://alkaison.github.io/Todo-JavaScript/
## Features
- **Local Storage**: The app stores the Todo data in the browser's local storage, ensuring that your tasks are preserved even if you refresh the page or close the browser.
- **Task Filtering**: You can easily filter the tasks based on their status. Choose between "All tasks," "Active tasks," or "Completed tasks" to focus on specific categories.
- **Pending Tasks Count**: The app displays the number of pending tasks at the bottom, giving you a quick overview of your current workload.
- **Clear All Tasks**: If you want to start fresh or remove completed tasks in one go, you can use the "Clear All" button to delete all tasks.
- **Sleek UI Design**: The user interface is designed to be visually appealing and user-friendly, providing a seamless experience while managing your tasks.
## Screenshots


## Technologies Used
The Todo Web App is built using the following technologies:
- HTML
- CSS
- Vanilla JavaScript
## Developer
This web application is developed by [Alkaison](https://github.com/Alkaison "GitHub Profile"). If you have any questions or suggestions, feel free to reach out to me.
## Contribution
If you are interested in contributing to this project, you're more than welcome! Follow the steps below to contribute:
1. Star and Fork the repository.
2. Make your changes or add new features in your forked repository.
3. Test your changes thoroughly.
4. Create a pull request, explaining the changes you've made.
Your contribution will be reviewed, and if everything is in order, it will be merged into the main repository.
| Todo JavaScript is a web application made using Vanilla JS, features daily planning with CRUD operations and local storage for saving your important time. | javascript,javascript-applications,todo-javascript,todolist,todolist-application,todolist-app,css,html,todo,webapp | 2023-06-13T16:53:39Z | 2023-06-17T07:36:42Z | 2023-06-15T12:18:59Z | 1 | 0 | 24 | 0 | 1 | 4 | null | MIT | JavaScript |
handyscript/handyscript | main | <p align="center" width="100%">
<img width="100%" alt="Handy Script Cover" src="static/assets/HSCover.png"/>
</p>
<h1 align="center">Handy Script</h1>
<p align="center">
A set of useful javascript modules that makes the javascript development context easier
</p>
<p align="center">
<p align="center">
<img alt="NPM DOWNLOADS" src="https://img.shields.io/npm/dw/handyscript?color=5319e7&style=flat-square">
<img alt="NPM LICENSE" src="https://img.shields.io/npm/l/handyscript?color=k&label=license&style=flat-square">
<img alt="NPM VERSION" src="https://img.shields.io/npm/v/handyscript?color=ff6905&label=npm&style=flat-square">
</p>
<p align="center">
<a href="https://github.com/handyscript/handyscript/actions/workflows/unite-test.yml" target="_blank">
<img alt="JEST CI TEST" src="https://github.com/handyscript/handyscript/actions/workflows/unite-test.yml/badge.svg?branch=main">
</a>
<a href="https://socket.dev/npm/package/handyscript" target="_blank">
<img alt="Socket Badge" src="https://socket.dev/api/badge/npm/package/handyscript" />
</a>
</p>
</p>
## Installation
You can install **Handy Script** using npm:
```shell
npm install handyscript
```
Alternatively, you can use the **CDN** script to include the `hs.min.js` in your HTML file
```html
<script src="https://unpkg.com/browse/handyscript@1.0.0/dist/hs.min.js"></script>
```
Alternatively, you can use the **CDN** script to include the `hs.min.js` in your HTML file
```html
<!-- VIA: jsdelivr CDN -->
<script src="https://cdn.jsdelivr.net/npm/handyscript@latest/dist/hs.min.js"></script>
<!-- VIA: unpkg CDN -->
<script src="https://unpkg.com/handyscript@latest/dist/hs.min.js"></script>
```
Otherwise, you can download the `hs.min.js` file from the [dist](./dist/hs.min.js) directory and include it in your HTML file, or [click here](https://cdn.jsdelivr.net/npm/handyscript@latest/dist/hs.min.js) to download it directly
```html
<script src="path/to/hs.min.js"></script>
```
## Usage
Once you have installed or included the **hs.min.js** file, you can start using the functions in your code.
```javascript
// Import the handyscript to extend the prebuilt js modules
import "handyscript";
// explicitly use the HOperators, HashMap
import { HashMap } from "handyscript"
// Array manipulation:
const arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
console.log(arr.chunk(3)); // [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10]]
console.log(arr.shuffle()); // [3, 2, 5, 1, 4, 6, 7, 8, 10, 9]
console.log(arr.shuffle().bubbleSort()); // [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
// The Math Module:
console.log(Math.randomInt(1, 10)); // 7
// HashMap
const obj = {
name: "John",
age: 20,
weight: 70,
height: 180,
isMarried: true,
isStudent: true,
};
const map = new HashMap(obj);
console.log(map.getKeysByValue(true)); // ["isMarried","isStudent"]
// Operators:
const obj = { name:"ahmed", age: 20 };
HOperators.objloop(obj, (key, val) => console.log(key, val))
// name ahmed
// age 20
```
## Functionalities
check our detailed wiki documentation [here](https://github.com/handyscript/handyscript/wiki/)
### [Array](https://github.com/handyscript/handyscript/blob/main/documentation/array.md)
Shuffles the elements of the array array and returns a new array.
```javascript
Array.prototype.shuffle()
```
The `binarySearch` method searches an array for the specified item using the binary search algorithm. you can specify the sort algorithm to be used in sorting the array before searching
```javascript
Array.prototype.binarySearch(item, sortalgo)
```
Sorting the array using specific sort algorithms like : `bubbleSort`
```javascript
Array.prototype.bubbleSort()
```
### [list of implemented sort algorithms](https://github.com/handyscript/handyscript/blob/main/documentation/array.md#sort-algorithms)
- bubbleSort
- insertionSort
- selectionSort
- mergeSort
- quickSort
- heapSort
- countingSort # ⚠ Only works with arrays of numbers
- shellSort
- bucketSor
- radixSort # ⚠ Only works with arrays of numbers
> There is more to discover [here](https://github.com/handyscript/handyscript/blob/main/documentation/array.md) ✨
<!-- > It cover the most known/popular sort algorithms: -->
### Matrix
```javascript
import { Matrix } from "handyscript";
// Example usage
const matrix1 = new Matrix([
[1, 2, 3],
[4, 5, 6],
]);
const matrix2 = new Matrix([
[1, 2],
[3, 4],
[5, 6],
]);
const matrixAdd = Matrix.add(matrix1, matrix2);
console.log("Matrix 1 + Matrix 2:");
matrixAdd.log();
const matrixMulti = Matrix.multiply(matrix1, matrix2);
console.log("Matrix 1 * Matrix 2:");
matrixMulti.log();
```
> There is more to discover ✨
### Math
```javascript
// import the hole package:
import "handyscript";
// or import the target lib/module
import "handyscript/lib/math";
Math.clamp(value, min = 1, max)
console.log(Math.randomInt(1, 10)); // 7
```
Returns a value that is clamped between min and max.
> There is more to discover ✨
### String
```javascript
// import the hole package:
import "handyscript";
// or import the target lib/module
import "handyscript/lib/string";
String.prototype.toCapitalCase(); // "Hello World" // capitalizes the first letter of every word in a string.
String.prototype.toCamelCase();// "helloWorld": // capitalizes the first letter of every word starting with the second word in a string and removes all the spaces.
String.prototype.reverse(); // reverse a string and string
String.prototype.indexesOf(target, startPosition? = 0); // Returns the positions of the all occurrence of a substring.
String.prototype.escape(isForAttribute? = false): string; // escape a string from all white spaces and all control characters (characters with a code point < U+0020).
```
Extends the builtin `String` module for more string manipulation
> There is more to discover ✨
### Number
```javascript
// import the hole package:
import "handyscript";
// or import the target lib/module
import "handyscript/lib/number";
Number.prototype.toHuman() // Returns a string representation of a number in human readable format. like 1K, 1M, 1B, 1T, etc.
Number.prototype.toReadable(separator? = "-") // Returns a string representation of a number readable format. like 10-000, 1-000-000, 1-000-000-000, etc.
```
Extends the prebuilt `Number` module for more number manipulation
> There is more to discover ✨
### [JSON manipulation](https://github.com/handyscript/handyscript/blob/main/documentation/array.md)
```javascript
var data = {
name: 'John Doe',
age: 30,
email: 'johndoe@example.com',
address: {
city: 'New York',
street: '123 Main St'
}
};
const schema = {
name: { type: String, required: true },
age: { type: Number },
email: { type: String, required: true },
address: {
type: Object,
properties: {
city: { type: String },
street: { type: String }
}
}
};
JSON.validateSchema(data, schema); // True
```
> There is more to discover [Here](https://github.com/handyscript/handyscript/blob/main/documentation/json.md) ✨
| A set of useful javascript modules that extends the javascript core context. | javascript,library,modules,typescript,handyscipt,new-topic,handy-script | 2023-06-13T08:53:18Z | 2023-12-06T12:19:20Z | 2023-11-21T12:37:46Z | 3 | 116 | 319 | 2 | 1 | 4 | null | CC-BY-SA-4.0 | TypeScript |
Kiran1689/full-stack-weather-app | main | # full-stack-weather-app
This is a simple weather application that allows users to get weather information for a specific location.
## Prerequisites
- Python 3.8 or higher
- Node.js
- npm (Node Package Manager)
## Installation
1. Clone the repository to your local machine:
- git clone https://github.com/Kiran1689/full-stack-weather-app.git
2. Change to the project directory:
- cd full-stack-weather-app
3. Backend Setup:
- Create and activate a virtual environment (optional but recommended):
- python -m venv env
- source env/bin/activate # for Linux/Mac
- env\Scripts\activate # for Windows
- Install the Python dependencies:
- cd weather_backend
- pip install -r requirements.txt
- Create a .env file in the weather_api directory and define the following environment variables:
- API_KEY = your-api-key
4. Frontend Setup:
- Install the required Node.js packages:
- cd front-end
- npm install
## Usage
1. Start the Django server:
- cd weather_backend
- python manage.py runserver
2. Start the React development server in a separate terminal:
- cd front-end
- npm start
3. Open your web browser and navigate to http://localhost:3000 to access the Weather Application.
4. Enter a location in the search box to get the weather information for that location.
## API Key
- The application requires an API key to fetch weather data. You can obtain a free API key by signing up on a weather data provider's website (e.g., Weatherstack, OpenWeatherMap).
- Create a .env file in the weather_api directory and define the API_KEY environment variable with your obtained API key
- Please make sure to replace `<your-api-key>` with the actual API key obtained from the weather data provider.
To visit live click here :point_right: : [Weather App](https://weather-app-nu-tan-46.vercel.app/)
***Make sure device location is turned ON***
| The Weather App is a web application that provides real-time weather information for different locations. | django-application,django-rest-framework,full-stack-web-development,glassmorphism,googlelocationservices,javascript,python,reactjs,weather-app,weatherapi | 2023-06-13T15:35:47Z | 2024-01-20T05:06:45Z | null | 1 | 0 | 11 | 0 | 0 | 4 | null | null | Python |
AkshayRaj1999/E-commerce-baisc-web-application | 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)
| This Is Basic E commerce Web Application With The Help fakestoreapi Web Service | api,css3,e-commerce-project,front-end,javascript,reactjs | 2023-06-22T10:36:03Z | 2023-07-03T19:38:09Z | null | 1 | 0 | 2 | 0 | 0 | 4 | null | null | JavaScript |
ViktorSvertoka/goit-react-hw-06-phonebook | main | Використовуй цей
[шаблон React-проекту](https://github.com/goitacademy/react-homework-template#readme)
як стартову точку своєї програми.
# Критерії приймання
- Створений репозиторій `goit-react-hw-06-phonebook`
- При здачі домашньої роботи є посилання: на вихідні файли та робочу сторінку
проекту на `GitHub Pages` або `Netlify`
- В Redux-стані зберігається мінімально необхідний набір даних
- Під час запуску коду завдання в консолі відсутні помилки та попередження.
- Для кожного компонента є окрема папка з файлом React-компонента та файлом
стилів
- Для компонентів описані `propTypes`
- Використана бібліотека `Redux Toolkit`
## Книга контактів
Виконай рефакторинг коду застосунку «Книга контактів», додавши управління станом
за допомогою бібліотеки [Redux Toolkit](https://redux-toolkit.js.org/).
Нехай Redux-стан виглядає наступним чином.
```bash
{
contacts: [],
filter: ""
}
```
- Створи сховище з `configureStore()`
- Використовуй функцію `createSlice()`
- Створи дії збереження та видалення контакту, а також оновлення фільтра
- Зв'яжи React-компоненти з Redux-логікою за допомогою хуків бібліотеки
[react-redux](https://react-redux.js.org/).
- Використай бібліотеку Redux Persist для збереження масиву контактів у
локальному сховищі
---
npm install styled-components@5.3.10
import styled from 'styled-components';
---
npm i react-redux
import { Provider } from 'react-redux'
---
npm i redux-persist
import { PersistGate } from 'redux-persist/es/integration/react'
---
npm i @reduxjs/toolkit
| Home task for React course📘 | css3,goit,goit-react-hw-06-phonebook,html5,javascript,json,npm,react,redux,styled-components | 2023-06-13T13:48:34Z | 2023-06-20T17:29:17Z | null | 1 | 13 | 32 | 0 | 0 | 4 | null | null | JavaScript |
AmanChaudhary214/RoboMinds | main |
<p align="center">
<img src="https://readme-typing-svg.demolab.com/?lines=JARVIS + | + Interview ChatBot;&%20Code¢er=true&width=700&height=50&weight=800&size=35&duration=2000&pause=2000">
<img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif">
</p>
<p align=center >The best way to prepare for the interviews. Period.</p>
<p align=center>
<a href="https://robominds.netlify.app/" target="blank">Visit ChatBot</a>
</p>
## 

## 

## 

## 

## 

## 

## 

| An Interview Preparation ChatBot. The best way to prepare for the programming interviews. | chartjs,css3,cyclic,expressjs,html5,javascript,mongodb,netlify,nodejs,reactjs | 2023-06-22T13:21:04Z | 2023-06-25T09:26:59Z | null | 5 | 5 | 21 | 0 | 2 | 4 | null | null | HTML |
mershark/First-Capstone-Project | main | # Capstone project

# 📗 Table of Contents
- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [💻 Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [📝 License](#license)
# First Capstone project (Module 1)
> This is my First Capstone project at Microverse. In this project I was tasked with building a website protype with HTML,CSS, and Javascript. My main requirement was to create only two paged that is the Home page and the About me page. I will add other pages in the future.
## Built With
- HTML
- CSS
- JAVASCRIPT
### Tech Stack <a name="tech-stack"></a>
>
<details>
<summary>Markup Language</summary>
<ul>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML">HTML</a></li>
</ul>
</details>
<details>
<summary>Style</summary>
<ul>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS">CSS</a></li>
</ul>
</details>
<details>
<summary>Layout</summary>
<ul>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Grids">Grid</a></li>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox">Flexbox</a></li>
</ul>
</details>
<details>
<summary>Interaction and Dynamic HTML</summary>
<ul>
<li><a href="https://developer.mozilla.org/en-US/docs/Learn/JavaScript">Javascript</a></li>
</ul>
</details>
### Key Features <a name="key-features"></a>
> Some useful features
- **[The use of Grid and Flexbox for the layout]**
- **[HTML]**
- **[CSS]**
- **[JAVASCRIPT]**
<!-- LIVE DEMO -->
## Getting Started
To get a local copy up and running follow these simple example steps.
### Prerequisites
- Visual Studio Code must be installed on your computer | Download Visual Studio Code [VSCode](https://code.visualstudio.com/)
- Git must be installed on your computer | Download [Git](https://git-scm.com/downloads)
### Setup
- Clone the repository
- Open the project folder in Visual Studio Code
### Install
Install this project using:
- cd project/directory
- Git clone [First-Capstone-Project](https://github.com/mershark/First-Capstone-Project.git)
### Usage
To run the project, execute the following command:
- Launch index.html file in your browser
### Run tests
To run tests, run the following command:
- Open the index.html file
- Modify the headings and descriptions
- Refresh you browser to see the changes
### Deployment
You can deploy this project using:
- [GitHub Page](https://pages.github.com/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
### Project short video walkthrough
- [Short video]([Click here](https://www.loom.com/share/a14cb0a85e2d4aec8f6a24c4638acc9e?sid=621389e5-5941-4cbd-91e0-1522b7a4b7d3))
<!-- LIVE DEMO -->
## 🚀 Live Demo <a name="live-demo"></a>
- [Live Demo]([Click here](https://mershark.github.io/index.html))
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## Authors
👤 **Mershark Oheneba Takyi**
- GitHub: [@githubhandle](https://github.com/mershark)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/mershark/)
<!-- FUTURE FEATURES -->
## 🔭 Future Features <a name="future-features"></a>
- [ ] **[Program Page]**
- [ ] **[Join Page]**
- [ ] **[Sponsor Page]**
- [ ] **[News Page]**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- Thanks to the Microverse team for the great curriculum.
- Thanks to the Code Reviewer(s) for the insightful feedback.
- A great thanks to My coding partner(s), morning session team, and standup team for their contributions.
- [Cindy Shin](https://www.behance.net/adagio07) the author of the original design [www.behance.net](https://www.behance.net/gallery/29845175/CC-Global-Summit-2015/)
## 📝 License
This project is [MIT](./MIT.md) licensed.
| My capstone project demonstrates my mastery of front-end web development, encompassing HTML, CSS, and JavaScript. It boasts adaptive layouts for flawless user experiences on both mobile and desktop devices. | css,html,javascript | 2023-06-28T19:31:03Z | 2023-06-30T21:48:35Z | null | 1 | 2 | 20 | 2 | 1 | 4 | null | null | CSS |
NirvanaNet/healthdex | main | Install dependencies
```bash
pnpm i
```
run the development server:
```bash
pnpm dev
```
| HealthDex is a reliable and robust platform, its advanced features and stringent protocols offers a seamless and protected environment for storing and accessing sensitive medical information. | javascript,nextjs,tailwindcss | 2023-06-16T18:18:01Z | 2023-07-11T18:36:02Z | 2023-06-30T13:37:19Z | 4 | 18 | 38 | 0 | 2 | 4 | null | MIT | JavaScript |
kit0-0/Leaderboard | dev |
<a name="readme-top"></a>
<div align="center">
<h1>🏆 Leaderboard</h1>
</div>
<!-- TABLE OF CONTENTS -->
# 📖 Table of Contents
- [About the Project](#about-project)
- [🛠️ Built With](#built-with)
- [Tech Stack](#tech-stack)
- [🔑 Key Features](#key-features)
- [🚀 Live Demo](#live-demo)
- [💻 Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run Tests](#run-tests)
- [Build](#build)
- [Webpack Development Server](#webpack-development-server)
- [👤 Author](#author)
- [🔮 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show Your Support](#show-your-support)
- [🙏 Acknowledgments](#acknowledgments)
- [📝 License](#license)
# 📖 About the Project <a name="about-project"></a>
**Leaderboard** aims to integrate the Leaderboard API service into an application, providing functionality for creating new games, saving scores, and retrieving scores for a game.
## 🛠️ Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
<details>
<summary>🖥️ Client</summary>
<ul>
<li><a href="https://www.w3schools.com/html/">HTML</a></li>
<li><a href="https://www.w3schools.com/css/">CSS</a></li>
</ul>
</details>
<!-- FEATURES -->
### 🔑 Key Features <a name="key-features"></a>
- ✨ **Demo of Linters**: Showcase the usage of HTML, CSS, and JavaScript linters to ensure code quality.
- 🏅 **Demo of Leaderboard**: Implement a leaderboard feature to display and track scores or rankings.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LIVE DEMO -->
## 🚀 Live Demo <a name="live-demo"></a>
- [🔗 Live Demo Link](https://kit0-0.github.io/Leaderboard/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- GETTING STARTED -->
## 💻 Getting Started <a name="getting-started"></a>
### Prerequisites
To run this project, you need the following:
- 🌐 Web browser
- 🐙 Git
- 👨💻 Code editor
### Setup
Clone this repository to your desired folder:
```bash
git clone https://github.com/kit0-0/Leaderboard.git
```
### Install
To install all dependencies, run the following command:
```bash
npm install
```
### Usage
To run the project, follow these instructions:
1. Clone this repository to your local machine.
### Run Tests
To run tests, use the following commands:
- To track HTML linter errors, run:
```bash
npx hint .
```
- To track CSS linter errors, run:
```bash
npx stylelint "**/*.{css,scss}"
```
- To track JavaScript l
inter errors, run:
```bash
npx eslint .
```
### Build
To build the project, run the following command:
```bash
npm run build
```
### Webpack Development Server
To run the webpack development server, execute the following command:
```bash
npm start
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- AUTHOR -->
## 👤 Author <a name="author"></a>
👤 Kiko
- GitHub: [@kit0-0](https://github.com/kit0-0)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- FUTURE FEATURES -->
## 🔮 Future Features <a name="future-features"></a>
- [📱] **Mobile Version**
- [📝] **Add Model**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- CONTRIBUTING -->
## 🤝 Contributing <a name="contributing"></a>
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/kit0-0/Leaderboard/issues).
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- SHOW YOUR SUPPORT -->
## ⭐️ Show Your Support <a name="show-your-support"></a>
If you like this project, give it a ⭐️.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ACKNOWLEDGEMENTS -->
## 🙏 Acknowledgments <a name="acknowledgments"></a>
I would like to thank Microverse.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LICENSE -->
## 📝 License <a name="license"></a>
This project is licensed under the [MIT License](./LICENSE).
<p align="right">(<a href="#readme-top">back to top</a>)</p>
| This project aims to integrate the Leaderboard API service into an application, providing functionality for creating new games, saving scores, and retrieving scores for a game. | api,css,gh-pages,html,javascript,linter,mit-license,npm-package,webpack | 2023-06-25T16:06:56Z | 2023-06-26T11:35:26Z | null | 1 | 3 | 18 | 1 | 0 | 4 | null | MIT | JavaScript |
shawonk007/quickbuy_ecommerce | master | # QuickBuy - Multivendor System Ecommerce Platform
**[QuickBuy](https://quickbuy.shawon-khan.com/)** is a fully responsive multivendor system ecommerce platform/web application. It is developed using **[Object-Oriented PHP]** and utilizes the **[Bootstrap (v5.3.0)](https://getbootstrap.com/)** framework along with JavaScript/jQuery plugins. The platform is designed to be compatible with various screen resolutions, providing optimal user experience across small mobile devices to large desktops.
## Live Preview
To preview this project please visit **<https://quickbuy.shawon-khan.com/>**.
## Used Plugins
- **[Bootstrap (v5.3.0)](https://getbootstrap.com/)**
- **[Font Awesome (v6.4.0)](https://fontawesome.com/)**
- **[Owl-Carousel (v2.3.4)](https://owlcarousel2.github.io/OwlCarousel2/)**
- **[jQuery (v3.7.0)](https://jquery.com/)**
- **[Chart.js (v4.3.0)](https://www.chartjs.org/)**
- **[DataTables (v1.13.4)](https://datatables.net/)**
- **[Sweetalert2 (v11.7.16)](https://sweetalert2.github.io/)**
- **[Select2 (v1.3.0)](https://select2.org/)**
- **[Summernote (v0.8.20)](https://summernote.org/)**
## Features
- **[Multivendor system] :** **[QuickBuy](https://quickbuy.shawon-khan.com/)** supports multiple vendors, allowing them to create and manage their own stores within the platform.
- **[Responsive design] :** The platform is built with a responsive layout, ensuring seamless user experience across different devices and screen sizes.
- **[Object-Oriented PHP] :** **[QuickBuy](https://quickbuy.shawon-khan.com/)** is developed using the Object-Oriented PHP programming language, which promotes code reusability and maintainability.
- **[Bootstrap framework] :** It utilizes the **[Bootstrap 5.3.0](https://getbootstrap.com/)** framework, providing a robust and customizable foundation for the user interface.
- **[Merchant stores] :** Merchants have the ability to create and manage their own stores, including product listings, inventory management, and order processing.
- **[User-friendly interface] :** The platform offers a user-friendly interface, making it easy for both merchants and customers to navigate and interact with the system.
- **[Shopping cart] :** Customers can add products to their shopping cart and proceed to checkout for a seamless purchasing experience.
- **[Order management] :** Merchants can efficiently manage their orders, track shipments, and update order statuses.
- **[Payment integration] :** **[QuickBuy](https://quickbuy.shawon-khan.com/)** integrates with popular payment gateways, allowing customers to make secure online payments.
- **[Product search and filtering] :** Customers can easily search for products and apply filters to find their desired items quickly.
- **[Wishlist functionality] :** Customers can create and manage their wishlist, saving products for future reference.
- **[Review and rating system] :** Customers can leave reviews and ratings for products, providing valuable feedback for other users.
## Installation
To install **[QuickBuy](https://quickbuy.shawon-khan.com/)**, please follow the steps below:
#### Via Git
```bash
git clone https://github.com/shawonk007/quickbuy_ecommerce.git
```
#### Select Project Folder
```bash
cd quickbuy_ecommerce
```
#### Install Dependencies
```bash
composer i
```
#### Configure Autloads
```bash
composer dump-autoload
```
1. Clone the repository to your local machine or download the source code as a ZIP file.
2. Ensure you have a compatible web server (e.g., Apache) and **[Composer](https://getcomposer.org/download/)** installed on your machine.
3. Import the provided database file into your MySQL database.
3. Update the database configuration in the application's configuration file (database.php) under config folder with your database credentials.
5. Upload the application files to your web server.
6. Ensure that the necessary file and directory permissions are set to enable read and write access.
7. Access the application through your web browser.
**Note:** Make sure you have PHP version 8.2 and MySQL installed and properly configured on your server.
## Usage
After the installation, you can access **[QuickBuy](https://quickbuy.shawon-khan.com/)** through your web browser. As an administrator, you will have access to the admin panel to manage the system settings, merchants, and products. Merchants can create their stores and manage their products and orders through their dedicated merchant panel. Customers can browse products, add items to their shopping cart, and proceed to checkout.
#### Configure Path
After clone or installation this project please make sure you configure your path on **(config/app.php)**. Please change **["YOUR_DIRECTORY"]** to your to the directory of this project on your local server as given below :
```bash
'root'=> 'http://localhost/YOUR_DIRECTORY/',
'auth'=> 'http://localhost/YOUR_DIRECTORY/auth',
'admin'=> 'http://localhost/YOUR_DIRECTORY/admin',
'merchant'=> 'http://localhost/YOUR_DIRECTORY/merchant',
```
## Acknowledgments
- The **[QuickBuy](https://quickbuy.shawon-khan.com/)** project is developed only demo purpose right now based on the concepts of ecommerce platforms and online marketplaces.
- The development of **[QuickBuy](https://quickbuy.shawon-khan.com/)** was made possible by the contributions of various individuals and open-source libraries.
- We would like to express our gratitude to the developers and communities behind PHP, Bootstrap, and other tools used in this project. | "QuickBuy-Ecommerce" is a Git repository that houses a multivendor system for e-commerce. It provides a platform for multiple vendors to sell their products, offering a comprehensive solution for building and managing an e-commerce marketplace efficiently. | ajax,bootstrap5,composer,css3,html5,javascript,jquery,object-oriented-programming,oop-php,php | 2023-06-18T03:49:16Z | 2023-07-16T05:49:00Z | null | 4 | 0 | 25 | 0 | 0 | 4 | null | GPL-3.0 | JavaScript |
dfralan/Loom | main | # loom.js
Loom is a language translation library written in pure javascript, that allows you to easily translate content on your website into different languages. It provides a simple way to integrate multilingual support and dynamically update the content based on the user's language preference.
** Updates 🤖 **
- Translates content dynamically without page reloads
- Supports multiple languages
- Easy integration into existing websites
- Automatically detects user's language preference
- Provides language selector for users to switch languages
** Comenzando 🚀 **
- Include the loom CDN in your HTML file:
```bash
<script src="https://cdn.jsdelivr.net/gh/dfralan/goloom@main/src/js/loom.js"></script>
```
- Add the loom HTML markup to your page:
```bash
<!-- Language Selector -->
<!-- You can add the flag by adding the attribute 'flag', and modify the shape by setting its value to circular ('circular'), rounded ('rounded'), or squared by leaving the attribute blank -->
<loom flag>
<a loom-indicator></a>
<ul loom-list>
<li loom-language="us"></li>
<li loom-language="ar"></li>
<li loom-language="br"></li>
<li loom-language="fr"></li>
<li loom-language="it"></li>
</ul>
</loom>
<!-- Plain Label Application -->
<h1 loom="Hello ?? Hola ?? Ola ?? Bonjour ? Ciao"></h1>
<!-- Attribute Content Applications -->
<!-- Add 'loom-' as prefix to any attribute you want to set, it will react on changes or even on its creation. (Always add the 'loom' attribute first so 'loom' can observe it.) -->
<input loom-placeholder="Enter email ?? Ingrese su correo ?? Digite seu e-mail" loom>
<input loom-value="abc@example.com ?? abc@ejemplo.com ?? abc@exemplo.com abc@exemple.com ?? abc@esempio.com ??" loom>
<!-- Advance Applications -->
<!-- In case you deal with a large amount of code, or even are working with a team of translators, you can always fall back on loom matching, just set the default or global phrase, and loom will match the translated phrase based on the browser language, or the selected one by the user, if it doesn't find a match, it will keep the default phrase. -->
<h1 loom="Hello Dora"></h1>
<script>
const loomTranslations = {
"Hello Dora": {
"us": "Hello Dora",
"ar": "Hola Dora",
"br": "Alô Dora",
"fr": "Bonjour Dora",
"it": "Ciao Dora"
},
}
</script>
```
** And you're ready to go! 🔧 **
Just observe the magic
- Selector if you're using Bootstrap (Latest version):
```bash
<loom class="nav-link dropdown align-items-center d-flex" flag="circular">
<a class="nav-link dropdown-toggle btn btn-secondary p-1 align-items-center" role="button"
data-bs-toggle="dropdown" aria-expanded="false" loom-indicator>
</a>
<ul class="dropdown-menu" loom-list>
<li role="button" class="dropdown-item" loom-language="us"></li>
<li role="button" class="dropdown-item" loom-language="ar"></li>
<li role="button" class="dropdown-item" loom-language="br"></li>
<li role="button" class="dropdown-item" loom-language="fr"></li>
<li role="button" class="dropdown-item" loom-language="it"></li>
</ul>
</loom>
```
** Construido con 🛠️ **
* Pure Javascript.
** Contribuyendo 🖇️ **
Por ahora solo ETH, sorry not sorry por el spanglish 🦧
** Autores ✒️ **
https://github.com/dfralan
**dfralan** - *Trabajo Inicial* - [dfralan](https://github.com/dfralan)
También puedes mirar la lista de todos los [contribuyentes](https://github.com/dfralan/loom/contributors) quíenes han participado en este proyecto.
** Licencia 📄 **
Este proyecto está bajo la Licencia MIT - mira el archivo [LICENSE.md](https://github.com/dfralan/loom/blob/main/LICENSE) para detalles
** Expresiones de Gratitud 🎁 **
* Suma tu destreza al proyecto 📢
* Realiza feedback de tu resultado en ejecución 🤓.
* Deja volar tu imaginación 💫 (0x87C35820fe988e73c54f71fB69da61Ac05474d26) ETH wallet.
---
# ⌨️ con ❤️
https://github.com/dfralan 💁♂️
| Loom is a lightweight language-switching library for dynamic content translation. Enhance user experience with customizable multilingual support. Easy integration for effortless language conversion. | i18n,i18n-js,javascript,reactive,reactive-programming,translation | 2023-06-29T16:34:11Z | 2023-09-25T17:59:47Z | 2023-07-23T06:25:54Z | 1 | 0 | 27 | 0 | 0 | 4 | null | MIT | HTML |
oArthurCandido/NexToDo | master |
# **NexToDo**
Um CRUD de uma To Do list, criado como forma de estudo de uma aplicação fullstack usando NextJS, TailwindCSS, SWR, Prisma, PostgreSQL, NexthAuth, Supabase e deploy na Vercel.
## Stack utilizada
**Front-end:** NextJS, TailwindCSS, SWR
**Back-end:** Prisma, PostgreSQL, NexthAuth, Supabase
## Funcionalidades
- Criar tarefas com etiquetas de categoria
- Visualizar tarefas criadas
- Marcar tarefas como concluídas
- Deletar tarefas
- Multiplataforma - Veja suas tasks criadas em todos os seus dispositivos
- Temas dark e light
- Autenticação com Google e Github
## Imagens de apresentação
### Desktop
<img src="https://github.com/oArthurCandido/nextodo-youtube/assets/103594555/86e36acf-e4e5-4838-8170-e38294377fe5" width="400px"/>
<img src="https://github.com/oArthurCandido/nextodo-youtube/assets/103594555/f0ca75c0-4f74-4e44-8ea9-16e8df62ab93" width="400px"/>
### Mobile
<img src="https://github.com/oArthurCandido/nextodo-youtube/assets/103594555/a69e6027-c015-4c45-95f8-5a0695e87a6d" width="400px"/>
<img src="https://github.com/oArthurCandido/nextodo-youtube/assets/103594555/2caf9459-a784-4c28-ac0c-cadd96478de3" width="400px"/>
## Documentação de cores
| Cor | Hexadecimal |
| ----------------- | ---------------------------------------------------------------- |
| Verde | <img src="https://via.placeholder.com/10/06D6A0" width="5px"/> #06D6A0 |
| Azul |  #1B9AAA |
| Vermelho |  #EF476F |
| Amarelo |  #FFC43D |
## Autor
- [@oArthurCandido](https://www.github.com/oarthurcandido)
## Instalação
Faça a instalação local desse projeto:
```bash
git clone https://github.com/oArthurCandido/nextodo-youtube.git
```
```bash
cd nextodo-youtube
```
```bash
npm install
```
```bash
npm run dev
```
## Licença
[MIT](https://choosealicense.com/licenses/mit/)
| This is a ToDo list Fullstack app, an original project created for educational purposes. | Essa é uma aplicação fullstack ToDo list, um projeto autoral criado para fins educacionais. | gotoportfolio,next-auth,nextjs,postgresql,prisma,swr,tailwind,git,reactjs,supabase | 2023-06-17T19:17:24Z | 2023-10-08T12:29:20Z | null | 1 | 8 | 30 | 1 | 0 | 4 | null | null | JavaScript |
BaseMax/CMSGraphQLTS | main | # GraphQL CMS Project
This is a GraphQL-based project developed in TypeScript. It aims to provide a full-featured Content Management System (CMS) with various functionalities including categories, posts, sliders, FAQs, contact us responses, authentication, and more.
## Features
The CMS includes the following features:
- Categories: Allows managing different categories for organizing posts.
- Posts: Enables creating, reading, updating, and deleting posts.
- Posts in a Category: Provides the ability to retrieve posts belonging to a specific category.
- FAQ: Allows creating and managing frequently asked questions.
- Slider: Offers functionality to create and manage image sliders for the website.
- Contact Us Response: Provides a mechanism for handling and responding to contact form submissions.
- Authentication: Enables user authentication for secure access to the CMS.
- Check Auth: Allows verifying the authentication status of a user.
- Logout: Provides the ability to log out from the CMS.
- Create New Admin: Allows creating new administrators for the CMS.
## Technologies Used
The project utilizes the following technologies and tools:
- GraphQL: A query language for APIs used to define the schema and interact with the CMS.
- TypeScript: A statically typed superset of JavaScript used for writing the server-side code.
- Node.js: A JavaScript runtime used as the server environment.
- Nestjs: A progressive Node.js framework for building efficient, reliable and scalable server-side applications.to handle HTTP requests.
- Postgresql: A SQL database used for storing CMS data.
- Prisma: Prisma is an open-source database toolkit and Object-Relational Mapping (ORM) tool.
- Apollo Server: A GraphQL server library for Node.js used to create the GraphQL server.
- JWT: JSON Web Tokens used for authentication and authorization.
## Setup Instructions
To set up and run the GraphQL CMS project locally, follow these steps:
- Clone the repository: `git clone https://github.com/BaseMax/CMSGraphQLTS.git`
- Navigate to the project directory: `cd CMSGraphQLTS`
- Install dependencies: `npm install`
- Configure the database connection in the `.env` file.
- Start the development server: `npm run dev`
- Access the GraphQL playground at http://localhost:3000/graphql in your browser.
## Project Structure
The project's file structure is organized as follows:
- src/
- controllers/: Contains the controllers responsible for handling GraphQL operations.
- models/: Includes the Mongoose models for interacting with the database.
- resolvers/: Contains the GraphQL resolvers that define how to handle GraphQL queries and mutations.
- schemas/: Includes the GraphQL schemas that define the types and operations supported by the CMS.
- utils/: Contains utility functions and modules used throughout the project.
- index.ts: The entry point of the server.
## GraphQL
Here's a list of the queries and mutations available in the GraphQL CMS project:
### Queries
- `categories`: Retrieve a list of all categories.
- `category(id: ID!)`: Retrieve a specific category by ID.
- `posts`: Retrieve a list of all posts.
- `post(id: ID!)`: Retrieve a specific post by ID.
- `postsByCategory(categoryId: ID!)`: Retrieve all posts belonging to a specific category.
- `sliders`: Retrieve a list of all sliders.
- `slider(id: ID!)`: Retrieve a specific slider by ID.
- `faqs`: Retrieve a list of all frequently asked questions.
- `faq(id: ID!)`: Retrieve a specific FAQ by ID.
- `contactUsResponses`: Retrieve a list of all contact form responses.
- `contactUsResponse(id: ID!)`: Retrieve a specific contact form response by ID.
- `checkAuth`: Check if the user is authenticated.
- `admin(id: ID!)`: Retrieve a specific administrator by ID.
### Mutations
- `createCategory(input: CategoryInput!)`: Create a new category.
- `updateCategory(id: ID!, input: CategoryInput!)`: Update an existing category.
- `deleteCategory(id: ID!)`: Delete a category.
- `createPost(input: PostInput!)`: Create a new post.
- `updatePost(id: ID!, input: PostInput!)`: Update an existing post.
- `deletePost(id: ID!)`: Delete a post.
- `createSlider(input: SliderInput!)`: Create a new slider.
- `updateSlider(id: ID!, input: SliderInput!)`: Update an existing slider.
- `deleteSlider(id: ID!)`: Delete a slider.
- `createFAQ(input: FAQInput!)`: Create a new frequently asked question.
- `updateFAQ(id: ID!, input: FAQInput!)`: Update an existing frequently asked question.
- `deleteFAQ(id: ID!)`: Delete a frequently asked question.
- `createContactUsResponse(input: ContactUsResponseInput!)`: Create a new contact form response.
- `deleteContactUsResponse(id: ID!)`: Delete a contact form response.
- `login(input: LoginInput!)`: Log in and generate an authentication token.
- `logout`: Log out and invalidate the authentication token.
- `createAdmin(input: AdminInput!)`: Create a new administrator.
## GraphQL Examples
**Retrieve a list of all categories:**
```graphql
query {
categories {
id
name
}
}
```
**Retrieve a specific category by ID:**
```graphql
query {
category(id: "CATEGORY_ID") {
id
name
}
}
```
**Retrieve a list of all posts:**
```graphql
query {
posts {
id
title
content
}
}
```
**Retrieve a specific post by ID:**
```graphql
query {
post(id: "POST_ID") {
id
title
content
}
}
```
**Retrieve all posts belonging to a specific category:**
```graphql
query {
postsByCategory(categoryId: "CATEGORY_ID") {
id
title
content
}
}
```
**Retrieve a list of all sliders:**
```graphql
query {
sliders {
id
title
images
}
}
```
**Retrieve a specific slider by ID:**
```graphql
query {
slider(id: "SLIDER_ID") {
id
title
images
}
}
```
**Retrieve a list of all frequently asked questions:**
```graphql
query {
faqs {
id
question
answer
}
}
```
**Retrieve a specific FAQ by ID:**
```graphql
query {
faq(id: "FAQ_ID") {
id
question
answer
}
}
```
**Retrieve a list of all contact form responses:**
```graphql
query {
contactUsResponses {
id
name
email
message
}
}
```
**Retrieve a specific contact form response by ID:**
```graphql
query {
contactUsResponse(id: "RESPONSE_ID") {
id
name
email
message
}
}
```
**Check if the user is authenticated:**
```graphql
query {
checkAuth
}
```
**Retrieve a specific administrator by ID:**
```graphql
query {
admin(id: "ADMIN_ID") {
id
username
email
}
}
```
**Create a new category:**
```graphql
mutation {
createCategory(input: { name: "New Category" }) {
id
name
}
}
```
**Update an existing category:**
```graphql
mutation {
updateCategory(id: "CATEGORY_ID", input: { name: "Updated Category" }) {
id
name
}
}
```
**Delete a category:**
```graphql
mutation {
deleteCategory(id: "CATEGORY_ID")
}
```
**Create a new post:**
```graphql
mutation {
createPost(
input: { title: "New Post", content: "Lorem ipsum dolor sit amet." }
) {
id
title
content
}
}
```
**Update an existing post:**
```graphql
mutation {
updatePost(
id: "POST_ID"
input: { title: "Updated Post", content: "Lorem ipsum dolor sit amet." }
) {
id
title
content
}
}
```
**Delete a post:**
```graphql
mutation {
deletePost(id: "POST_ID")
}
```
**Create a new slider:**
```graphql
mutation {
createSlider(
input: { title: "New Slider", images: ["image1.jpg", "image2.jpg"] }
) {
id
title
images
}
}
```
**Update an existing slider:**
```graphql
mutation {
updateSlider(
id: "SLIDER_ID"
input: { title: "Updated Slider", images: ["image3.jpg", "image4.jpg"] }
) {
id
title
images
}
}
```
**Delete a slider:**
```graphql
mutation {
deleteSlider(id: "SLIDER_ID")
}
```
**Create a new frequently asked question:**
```graphql
mutation {
createFAQ(
input: {
question: "What is GraphQL?"
answer: "GraphQL is a query language for APIs."
}
) {
id
question
answer
}
}
```
**Update an existing frequently asked question:**
```graphql
mutation {
updateFAQ(
id: "FAQ_ID"
input: {
question: "What is GraphQL?"
answer: "GraphQL is a powerful query language for APIs."
}
) {
id
question
answer
}
}
```
**Delete a frequently asked question:**
```graphql
mutation {
deleteFAQ(id: "FAQ_ID")
}
```
**Create a new contact form response:**
```graphql
mutation {
createContactUsResponse(
input: {
name: "John Doe"
email: "johndoe@example.com"
message: "Hello, I have a question."
}
) {
id
name
email
message
}
}
```
**Delete a contact form response:**
```graphql
mutation {
deleteContactUsResponse(id: "RESPONSE_ID")
}
```
**Log in and generate an authentication token:**
```graphql
mutation {
login(input: { username: "admin", password: "password" }) {
token
}
}
```
**Log out and invalidate the authentication token:**
```graphql
mutation {
logout
}
```
**Create a new administrator:**
```graphql
mutation {
createAdmin(
input: {
username: "newadmin"
email: "newadmin@example.com"
password: "password"
}
) {
id
username
email
}
}
```
Please note that you need to replace the placeholder values like CATEGORY_ID, POST_ID, etc., with actual IDs or data when making requests to the GraphQL API.
## License
The GraphQL CMS project is licensed under the GPL-3.0 License. You can find the license information in the LICENSE file.
Copyright 2023, Max Base
| This is a GraphQL-based project developed in TypeScript. It aims to provide a full-featured Content Management System (CMS) with various functionalities including categories, posts, sliders, FAQs, contact us responses, authentication, and more. | cms,graphql,graphql-cms,javascript,js,ts,typescript,cms-graphql | 2023-06-17T21:37:57Z | 2023-12-08T12:30:00Z | null | 1 | 7 | 38 | 0 | 0 | 4 | null | GPL-3.0 | TypeScript |
michaelkolesidis/cherry-charm | main | 
**An online 3D slot machine game.**
<a href='https://ko-fi.com/michaelkolesidis' target='_blank'><img src='https://cdn.ko-fi.com/cdn/kofi1.png' style='border:0px;height:45px;' alt='Buy Me a Coffee at ko-fi.com' /></a>
## Information
The game features a slot machine with three reels and four fruits, 🍒🍎🍌🍋. Fruit combinations reward the players with 🪙.
## Features
- Fully responsive for desktop and mobile
- Players can spin the slot machine either by clicking on the _Spin button_ or by pressing _Space_
- Number of coins visible
- Number or spins visible
- _Spin button_ displays _Spinning_ while the reels are spinning, informing players when they can spin again
- Orbit controls: clicking and holding mouse while moving the cursors allows players to change 3D view
- Help button that open the help modal
- Help modal that contains instructions and all winning fruit combinations
- Game logo
### Winning fruit combinations
| Fruits | Rewards |
| :----: | ------: |
| 🍒🍒🍒 | 50 🪙 |
| 🍎🍎🍎 | 20🪙 |
| 🍌🍌🍌 | 15🪙 |
| 🍋🍋🍋 | 3🪙 |
| 🍒🍒 | 40🪙 |
| 🍎🍎 | 10🪙 |
| 🍌🍌 | 5🪙 |
**Please note that slot machines only consider pairs a match if they are in order from left to right.**
## Instructions
In order to run the project locally you need to start
**1.** Install the project dependencies:
```
yarn
```
**2.** Start Vite:
```
yarn dev
```
## Screenshots
### Desktop


### Mobile


## Technologies
The core technologies of _Cherry Charm_ are JavaScript, WebGL and WebAssembly (WASM). The following libraries and tools are used:
| Name | License | Description |
| ----------------- | :-----: | -------------------------------------------- |
| React | MIT | Component-based, front-end interface library |
| Three.js | MIT | 3D graphics API for the web, based on WebGL |
| React Three Fiber | MIT | A React renderer for Three.js |
| Drei | MIT | Useful helpers for React Three Fiber |
| R3F-Perf | MIT | Performance monitoring |
| Zustand | MIT | State management |
| Vite | MIT | Frontend development tooling |
| | | |
## Assets
All the assets used in _Cherry Charm_ (3D models, textures, images, sound effects, music etc.) are either using Creative Commons / Public Domain or they were created by me and can be freely used for commercial purposes. The main factor for choosing and using them was the need to deliver a prototype in a short time. Some (or most) of them should be changed to more appropriate/professional ones for commercial releases of the product.
## Software Used
A non-exhaustive list of all the software that was used during the development of _Cherry Charm_.
- Visual Studio Code
- Blender
- Adobe Illustrator
- Krita
- Inkscape
- Google Chrome
- Microsoft Edge
- Mozilla Firefox
- Figma
## 💖 Support the Project
Thank you so much for your interest in my project! If you want to go a step further and support my open source work, buy me a coffee:
<a href='https://ko-fi.com/michaelkolesidis' target='_blank'><img src='https://cdn.ko-fi.com/cdn/kofi1.png' style='border:0px;height:45px;' alt='Buy Me a Coffee at ko-fi.com' /></a>
## License
<a href="https://www.gnu.org/licenses/agpl-3.0.html"><img src="https://upload.wikimedia.org/wikipedia/commons/0/06/AGPLv3_Logo.svg" height="100px" /></a>
Copyright (c) 2023 Michael Kolesidis<br>
Licensed under the [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0.html).
🍒
| An online 3D slot machine game. | 3d-game,casino,casino-game,casino-games,fruit-machine,gambling,gambling-game,gambling-games,javascript,react | 2023-06-16T10:45:40Z | 2023-11-23T02:57:49Z | null | 1 | 12 | 50 | 0 | 0 | 4 | null | AGPL-3.0 | TypeScript |
justgo97/arabic-utils | main | # arabic-utils
[](https://github.com/justgo97/arabic-utils/actions) [](https://www.npmjs.com/package/arabic-utils) [](https://www.npmjs.com/package/arabic-utils) [](https://github.com/justgo97/arabic-utils/blob/main/LICENSE)
An NPM package designed for use in both browser and Node environments. It offers a range of convenient utilities specifically tailored for Arabic string manipulation, including functionalities like token search, removing diacritics and more.
# Installation
`npm install arabic-utils`
# Usage
```javascript
import { ArabicString } from "arabic-utils";
```
### getMatches(searchToken: string, matchOptions?: IMatchOptions)
Retrieves the matched parts from the given Arabic text based on the search token.
Example:
```javascript
const input = "خُلقتَ طَليقاً كَطَيفِ النَّسيمِ";
const token = "النسيم";
console.log(ArabicString(input).getMatches(token)).
/*
* Output:
* [
* { text: "خُلقتَ طَليقاً كَطَيفِ ", isMatch: false },
* { text: "النَّسيمِ", isMatch: true },
* ]
*/
```
### removeDiacritics()
Removes diacritics from the input string.
Example:
```javascript
const normalized = ArabicString("السَّلَامُ عَلَيْكُمُ").removeDiacritics();
console.log(normalized); // "السلام عليكم"
```
### removeTatweel()
Removes ARABIC TATWEEL characters (U+0640) from an Arabic text string.
Example:
```javascript
console.log(ArabicString("كتــــــــــــــــاب").removeTatweel()); // "كتاب"
```
### includes(searchString: string, position?: number)
Checks if the Arabic text includes a specified search string.
Example:
```javascript
console.log(ArabicString("السَّلَامُ عَلَيْكُمُ").includes("السلام")); // true
```
### startsWith(searchString: string, position?: number)
Checks if the Arabic text starts with a specified search string.
Example:
```javascript
console.log(ArabicString("السَّلَامُ عَلَيْكُمُ").startsWith("السلام")); // true
```
### normalizeAlef()
Normalizes the occurrence of the letters "آ", "إ", and "أ" in the given Arabic text by replacing them with the letter "ا".
Example:
```javascript
console.log(ArabicString("الآن").normalizeAlef()); // "الان"
```
### remove(textToRemove: string)
Removes an occurrence of a specified text from an Arabic string.
Example:
```javascript
const newString = ArabicString("السَّلَامُ عَلَيْكُمُ").remove("السلام");
console.log(newString); // " عَلَيْكُمُ"
```
### Notes:
Do not nest calls to `ArabicString` in each other it will cause undesired behavior
Example:
```javascript
import { ArabicString } from "arabic-utils";
// ❌ This is invalid syntax
const newString = ArabicString("السلام عليكم").remove(
ArabicString("السَّلَامُ").removeDiacritics()
);
console.log(newString); // ""
```
```javascript
import { ArabicString } from "arabic-utils";
// ✅ This is valid
const normalizedToken = ArabicString("السَّلَامُ").removeDiacritics();
const newString = ArabicString("السلام عليكم").remove(normalizedToken);
console.log(newString); // " عليكم"
```
```javascript
import { ArabicString, ArabicClass } from "arabic-utils";
// ✅ This is also valid
const newString = ArabicString("السلام عليكم").remove(
ArabicClass.removeDiacritics("السَّلَامُ")
);
console.log(newString); // " عليكم"
```
⚠️ More examples and use cases are in the [test files](/test/)
# Demo
Demo website to show the main functionalities of the package: [arabic-utils.pages.dev](https://arabic-utils.pages.dev/)
# License
[MIT](LICENSE)
| An NPM package designed for use in both browser and Node environments. It offers a range of convenient utilities specifically tailored for Arabic string manipulation, including functionalities like token search, removing diacritics and more. | arabic,arabic-diacritics,arabic-language,diacritics,javascript,npm,npm-package,typescript | 2023-06-16T16:46:17Z | 2024-03-09T08:50:34Z | 2024-03-09T08:50:35Z | 1 | 23 | 124 | 0 | 0 | 4 | null | MIT | TypeScript |
Tejimeng/TYsystem | master | # TYSystem
#### 体育场馆售票在线信息管理系统
#### 基于Vue3+element-plus+axios+swiper+express+MySQL
### 设计内容
---
##### 设计一个体育场馆在线售票管理信息系统,该系统的用户分别是:一般用户和系统管理员。不同的用户拥有不同的权限,各自完成各自的管理功能,不同的用户看到不同的系统功能。按照要求完成所有的功能和模块。
一般用户的主要功能模块包括:
1. 用户的登录与注册
2. 用户查询票源、赛事信息
3. 发布留言,查看留言
4. 购票
系统管理员的主要功能模块包括:
1. 用户个人信息的管理
2. 体育场馆管理
3. 体育赛事管理
4. 留言管理
5. 购票管理
6. 用户注销
主要数据库表单:
1. 比赛场馆信息表单
主要字段:场馆名称、地理位置、座席信息(记录每个座席的编号和级别;级别设定分为贵宾座位、标准座位和低价座位) 、是否剩余席位
2. 体育赛事信息表单
主要字段:名称、赛事类型(如羽毛球、足球、射击等)、赛事组织者(名称以及简介)、赛事参加者(参赛队名称及简介)、比赛时间安排(场次、每场起止时间、临时变更记录)、比赛场馆、比赛结果(记录每个场次结果)、赛事票价(票价可按照座席级别来分级)、赛事售票开始和结束时间
3. 购票信息表单
主要字段:购票用户、赛事场馆、赛事信息、赛事时间、票价信息、座位信息、支付信息验证
| Tejimeng-体育场馆售票在线信息管理系统 | javascript,axios,mysql,nodejs,vue3 | 2023-06-19T13:45:45Z | 2023-07-23T03:11:02Z | null | 1 | 0 | 7 | 0 | 0 | 4 | null | null | Vue |
riteshk-007/Social-media-react-app | master | # Social Media React App

This is a social media web application built with React. It provides users with a platform to share posts, follow other users, and engage in discussions through comments and likes.
## Features
- **User Authentication:** Users can sign up, log in, and log out securely.
- **User Profile:** Each user has a profile where they can view and edit their personal information.
- **Post Creation:** Users can create and publish posts with text, images, or videos.
- **Post Interactions:** Users can like, comment on, and share posts.
- **Follow System:** Users can follow other users to see their posts in their feed.
- **News Feed:** Users have a personalized news feed displaying posts from users they follow.
- **Notifications:** Users receive notifications for new likes, comments, and followers.
- **Search Functionality:** Users can search for other users or posts by keywords or usernames.
- **Responsive Design:** The application is optimized for various screen sizes and devices.
## Installation
To run the application locally, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/riteshk-007/Social-media-react-app.git
```
2. Navigate to the project directory:
```bash
cd Social-media-react-app
```
3. Install the dependencies:
```bash
npm install
```
4. Start the development server:
```bash
npm start
```
5. Open your browser and visit `http://localhost:3000` to access the application.


## Technologies Used
- React
- React Router
- Firebase (Authentication, Firestore, Storage)
- Material-UI
## Project Structure

The project structure follows the standard React application structure:
- `public/`: Contains the static files and the HTML template.
- `src/`: Contains the source code for the application.
- `components/`: Contains reusable UI components.
- `containers/`: Contains the main components that represent different pages of the application.
- `redux/`: Contains the Redux store setup, actions, and reducers.
- `firebase/`: Contains the Firebase configuration and utility functions for interacting with Firebase services.
- `utils/`: Contains utility functions used throughout the application.
- `App.js`: The main component that handles routing and rendering of different pages.
- `index.js`: The entry point of the application.
## Contributing
Contributions are welcome! If you find any issues or would like to add new features, please open an issue or submit a pull request on the [GitHub repository](https://github.com/riteshk-007/Social-media-react-app).
## License
This project is licensed under the [MIT License](LICENSE).

## Acknowledgements
- The project was inspired by various social media platforms.
- Special thanks to the creators of the libraries and frameworks used in this project.
## Contact
If you have any questions or suggestions, feel free to reach out to the project owner:
- Ritesh Kumar
- GitHub: [@riteshk-007](https://github.com/riteshk-007)
- Email: rk0001945@gmail.com, codeshorts007@gmail.com
| Social media web app | React Js | javascript,jsx,netlify,reactjs,tailwindcss,web,webapp | 2023-06-19T12:32:12Z | 2023-07-20T12:27:03Z | null | 1 | 0 | 22 | 0 | 1 | 4 | null | null | JavaScript |
byKosta/DemoQATest | master |

DemoQA is a comprehensive website offering a plethora of demonstration examples and educational resources tailored for testing web applications.
Explore a rich array of interactive examples, meticulously crafted to delve into the foundational aspects and advanced capabilities of various web development technologies including HTML, CSS, JavaScript, React, and more.
Discover code snippets and insightful instructions meticulously curated to empower users in comprehending and mastering diverse facets of web development.
Whether you're a novice enthusiast embarking on your coding journey or a seasoned professional seeking to hone your expertise, DemoQA stands as an invaluable resource, fostering learning and skill enhancement.
- [Link to Demo QA](https://demoqa.com/)
Getting Started with Cypress:
Cypress is an advanced end-to-end testing framework designed for modern web applications. To embark on your journey with Cypress, follow these elegant steps:
# 1. Install Node.js:
Ensure you have the latest version of Node.js installed. Head over to the official Node.js website and download the installation package.
https://nodejs.org/en/download/current
# 2. Set Up Your Project:
Create a new project or navigate to your existing one. Open your terminal and traverse to your project directory:
```bash
cd path/to/your/project
```
# 3. Initialize Your Project:
Initialize your project with npm, generating a package.json file containing essential project details:
https://www.cypress.io/
```bash
npm init -y
```
# 4. Cypress Installation:
Install Cypress using npm, employing the following command:
```bash
npm install cypress --save-dev
```
# 5. Launch Cypress:
After successful installation, launch Cypress by executing:
```bash
npx cypress open
```
This command opens the Cypress Test Runner interface, providing an intuitive platform to create, execute, and monitor your tests.
### Allure Integration
#### Installing Allure
https://allurereport.org/docs/gettingstarted-installation/
To integrate Allure into your Cypress project, follow these steps:
1. Install Allure by following the official documentation for your operating system.
#### Cypress Allure Reporter
1. Install the Cypress Allure Reporter:
```bash
npm install -D cypress-allure-reporter
```
#### Updating Cypress configuration file (`cypress.json`)
Update your `cypress.json` file to include the Cypress Allure Reporter:
```json
{
"reporter": "cypress-allure-reporter"
}
| Demo project + integrations / allure, cucumber, github-action | allure,cucumber,github-action,javascript | 2023-06-11T12:36:04Z | 2024-05-14T13:29:28Z | null | 2 | 43 | 165 | 0 | 1 | 4 | null | null | JavaScript |
JamesDrysdale/Filmpire | main | # Filmpire - By James Drysdale

## 📝 Description
**Filmpire** is an app for browsing and getting information about movies and the actors that feature in them.
## 🛠️ Setup Project
To get this project up and running in your development environment, follow these step-by-step instructions.
- Clone the app onto your computer.
- Run ```npm install``` on the root of the project.
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)
| Web app for movie fans: browse and get film/actor details and add films to your favourites/watchlist | css,html,javascript,react,tmdb-api | 2023-06-24T08:43:47Z | 2023-08-21T00:16:17Z | null | 1 | 67 | 158 | 0 | 0 | 4 | null | null | JavaScript |
sheep-realms/pixel-hotkeys | master | # Pixel Hotkeys
一款以像素画风展示组合键的 JavaScript 库。
## 部署
1. 引入 `PixelHotkeys.js` 文件和样式表 `pixel-hotkeys.css`。
2. 准备好键位精灵图([keys.png](./res/img/keys.png))、映射表([img2keys.js](./res/data/img2keys.js))和索引表([index_keys.js](./res/data/index_keys.js))。
3. 声明一个新的 `PixelHotkeys` 对象。
4. 通过 `setImage()` 方法导入键位精灵图地址。请注意:必须是绝对地址或样式表所在目录的相对地址。
5. 通过 `setMap()` 方法导入映射表。
6. 通过 `setIndex()` 方法导入索引表。
7. 通过 `getKeyStyle()` 方法获取样式表,并将其放置在合适的目录。
8. 完成。现在可以通过 `getKeyDOM()` 方法获取组合键 HTML 代码。
当前仓库为完整部署后的效果示例,您也可以直接下载此仓库。
## 类 PixelHotkeys
| 属性名 | 类型 | 默认值 | 描述 |
| - | - | - | - |
| name | String | 'pixel-hotkeys' | 对象名称,用于元素类名及选择器。 |
| images | String[] | [] | 已导入的键位精灵图。 |
| maps | Object[] | [] | 已导入的映射表。 |
| index | Object[] | [] | 通过导入索引表生成的反查表。 |
### setImage
导入键位精灵图。
| 参数名 | 类型 | 默认值 | 描述 |
| - | - | - | - |
| url | String | | 精灵图的绝对地址或样式表所在目录的相对地址。 |
| index | Number | -1 | 目标索引号,-1 代表自动获取索引号。 |
### setMap
导入映射表。
| 参数名 | 类型 | 默认值 | 描述 |
| - | - | - | - |
| data | Object | | 映射表。 |
| index | Number | -1 | 目标索引号,-1 代表自动获取索引号。 |
### setIndex
通过索引表生成反查表。
| 参数名 | 类型 | 默认值 | 描述 |
| - | - | - | - |
| data | Object | | 索引表。 |
| index | Number | -1 | 目标索引号,-1 代表自动获取索引号。 |
### _getPos
内部方法,用于获取键位坐标。
### getKeyStyle
生成对应每个按键贴图的样式表。
### getKeyDOM
获取组合键 HTML 代码。
| 参数名 | 类型 | 默认值 | 描述 |
| - | - | - | - |
| expression | String | | 表达式。 |
| label | String | '' | 标签内容。当表达式中定义了标签内容时,该值将替代表达式中的标签内容。 | | 一款以像素画风展示组合键的 JavaScript 库。 | hotkeys,javascript,library,pixel,pixel-art | 2023-06-22T05:51:24Z | 2023-06-23T16:03:50Z | null | 1 | 0 | 9 | 0 | 0 | 4 | null | GPL-3.0 | JavaScript |
CMOISDEAD/react-notifications | master | <h1 align="center">react-notifications</h1>

<p align="center">:atom: react notifications made easy.</p>
### Why ⁉️
Why another react notification system ? Why not, this project appears from the need to have an easy and very customizable react library, and more important, to be a project who everyone can contribute to improve it.
Make your pull request with your ideas. 🧙♂️
### Features 😎
- Fast and simple to use.
- Custom Notification component.
- Easy customization.
- Multiple notifications type.
- Multiple animations. (**WIP**)
## Documentation 🔗
Go to [Documentation](https://react-easy-notifications.vercel.app/) to look more features and functionalities.
visit the npm package [npm package](https://www.npmjs.com/package/doom-react-notifications)
### Installation 🐚
First install the library you can use the package manager what you like.
```bash
$ npm i doom-react-notifications
$ pnpm i doom-react-notifications
$ yarn add doom-react-notifications
```
### Usage 📖
First you need to know the notification object, have basic properties to manage the notification.
```jsx
const notification = {
type: "success", // type of the notification (success, danger, error, info...)
title: "Title of the notification",
message: "body message of the notification",
};
```
To start using the library you only need to envolve your notification space in the component `<NotificationProvier />`, then you can use the hook `useNotification`, the example below show you a simple case of use.
```jsx
import {
NotificationProvider,
NotificationConsumer,
} from "doom-react-notifications";
import { Button } from "./components/Button";
import "doom-react-notifications/dist/style.css"; // you can change the styles.
export default function App() {
return (
<NotificationProvider>
<Button />
<NotificationConsumer />
</NotificationProvider>
);
}
```
And then trigger the notification with the hook provided for the library.
```jsx
import {useNotification} from "doom-react-notifications";
export function Button () {
const { showNotification } = useNotification();
const handleClick = () => {
showNotification({
...
});
}
return (
<button onClick={handleClick}>
Show Notification
</button>
)
}
```
#### Custom Notification Component 💅
You can create your own notification component with your custom structure and styles, to use it pass the custom component as Custom prop to `<NotificationProvider />`, as show below.
```jsx
// Create a component that is given all the necessary properties for the notification as a props.
const CustomNotification = ({ type, message, onClick }) => {
return (
<div onClick={onClick} style={{ borderStyle: "dashed" }}>
<p className="notification-title">{title}</p>
<p className="notification-message">{message} with custom skeleton</p>
</div>
);
};
// Then pass the component as Custom prop.
export default function App() {
return (
<NotificationProvider>
<Button />
<NotificationConsumer Custom={CustomNotification} />
</NotificationProvider>
);
}
```
### Contributing ❤️
To make a contribution, open a pull request, i be glad to read and share ideas of how improve this project.
| :atom: react notifications made easy. | javascript,minimalist,notification-service,notifications,react,react-notifications | 2023-06-24T04:16:54Z | 2023-06-30T22:18:51Z | 2023-06-30T22:12:58Z | 1 | 0 | 5 | 0 | 1 | 4 | null | null | TypeScript |
BenGardiner123/job-search-tool | main | # job-search-tool

Job-Search-Tool is a powerful tool that streamlines your job search process by leveraging web scraping, Node.js, and MongoDB. With this tool, you can extract job listings from various websites, store them in a database, perform advanced queries, and even receive email notifications for new job postings. Whether you're a job seeker or a developer interested in building a similar tool, Job-Search Helper provides a comprehensive guide and codebase to help you enhance your job search experience.
*Note: Web scraping may have legal and ethical implications. Make sure to familiarize yourself with the terms of service and the website's scraping policy before scraping any website. Respect the website's guidelines and use web scraping responsibly.*
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
## Introduction
Welcome to the Job-Search Helper repository! This project is the result of my 3 part series of posts on hashnode at https://bengardiner.hashnode.dev/. In this repository, you'll find a step-by-step guide and code samples to help you create your own job-search helper. Whether you're a job seeker looking to simplify your job search or a developer interested in learning new technologies, this project is for you.
Throughout the implementation, we'll cover the fundamentals of web scraping using Puppeteer, explore the capabilities of Node.js and Mongoose for database management, and dive into advanced features like query optimization and email notifications for new job postings. The repository is structured into multiple parts, each corresponding to a blog post that explains the concepts and provides detailed instructions.
## Features
- **Web Scraping**: Utilize Puppeteer to extract job listings from various websites.
- **Database Storage**: Store job data in MongoDB using Mongoose for efficient retrieval and querying.
- **Query Optimization**: Perform advanced queries to filter job listings based on criteria such as keywords, location, and more.
- **Email Notifications**: Set up email notifications to receive alerts for new job postings that match your preferences.
- **Code Examples**: The repository includes well-commented code samples to guide you through the implementation process.
- **Step-by-Step Guide**: Each part of the repository corresponds to a blog post that explains the concepts and provides instructions.
## Installation
1. Clone the repository: `git clone https://github.com/BenGardiner123/job-search-tool.git`
2. Install the dependencies: `npm install`
3. Set up your MongoDB connection by creating a `.env` file and adding your MongoDB URI.
## Usage
1. Follow the blog posts in the repository to understand the step-by-step implementation process.
2. Modify the code as needed to adapt it to your specific requirements.
3. Run the scraper to extract job listings and store them in the database.
4. Utilize the provided functions to query the database and retrieve relevant job listings.
5. Customize the email notification feature to receive alerts for new job postings.
## General Workflow

## Contributing
Contributions are welcome! If you have any ideas, suggestions, or improvements, feel free to open an issue or submit a pull request. Please follow the repository's code of conduct.
## License
This project is licensed under the MIT License. You are free to use, modify, and distribute the code for personal or commercial purposes.
We hope this project helps you optimize your job search and simplifies the process of building similar tools. Happy job hunting!
| job-search-tool is a powerful web scraping and job search automation tool built with Node.js and MongoDB. It allows you to extract job listings from various websites, store them in a database, perform advanced queries, and receive email notifications for new job postings. This repository is the code that goes with the 4 part series at | javascript,jobs,jobsearch,node,puppeteer,scraping,seek | 2023-06-13T03:55:10Z | 2023-07-28T01:09:54Z | null | 1 | 0 | 12 | 0 | 2 | 4 | null | MIT | JavaScript |
Bibiwei-Pere/News-homepage | main |
### Screenshot
#### Desktop 1440px

#### Mobile 375px
<img src="https://github.com/Bibiwei-Pere/News-homepage/assets/106984663/fdd18b72-48e5-41d5-bfb1-73185d8e323e" alt="Mobile" width="300" height="500">
### Links
- Solution URL: [News-homepage](https://github.com/Bibiwei-Pere/News-homepage)
- Live Site URL: [News-homepage](https://newspage01.netlify.app)
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- Javascript
## Author
- Website - [Bibiwei Pere](https://perebibiwei.netlify.app)
- Frontend Mentor - [@Bibiwei-Pere](https://www.frontendmentor.io/profile/Bibiwei-Pere)
- Twitter - [@Bibiwei_Pere](https://www.twitter.com/Bibiwei_Pere)
| This is a solution to the News homepage challenge on Frontend Mentor. | homepage,javascript,landing-page,news,news-feed | 2023-06-13T21:30:14Z | 2023-06-14T20:08:18Z | null | 1 | 0 | 5 | 0 | 0 | 4 | null | null | CSS |
veerprakash28/talk-gpt | main | # talk-gpt
- TalkGPT: GPT Audio Web App
- Contains code for both backend and frontend service
- Talk and interact with GPT
- No contact app only speak and hear and interact
Live Site Link: https://veerprakash28.github.io/talk-gpt/
Backend Server Repo: https://github.com/veerprakash28/talk-gpt-server
## Steps to follow
For using the project, follow the following steps
- Run command `git clone https://github.com/veerprakash28/talk-gpt` to clone the git repo in your system
- Locate to the talk-gpt folder: `cd talk-gpt`
- Locate to the server folder: `cd server`
- Run command `npm i` to install node_modules
- Setup your .env file in server folder
- Add a .env file and there add your `PORT` number and ChatGPT `apiKey`
- Run `npm start` and your server will be running
Your backend service is started
- Now run the `index.html` file to start the application
If everything goes fine then this project will be cloned in your system
## Screenshots
### Home

### Conversation

| TalkGPT - GPT Audio Web App | hacktoberfest,hacktoberfest2023,hactoberfest-accepted,javascript,nodejs | 2023-06-25T19:55:19Z | 2023-10-05T18:33:05Z | null | 1 | 2 | 6 | 2 | 1 | 4 | null | null | JavaScript |
greeenboi/new-profile-website | master | null | My new profile website | html5,javascript,profile-website,sass,threejs,vite,preloaderjs | 2023-06-29T16:36:10Z | 2023-07-16T04:56:03Z | null | 1 | 1 | 22 | 0 | 0 | 4 | null | Apache-2.0 | JavaScript |
Ahmed-DotNetDev/Dictionary-App | master | # Dictionary-App 📖
Dictionary App using HTML , CSS , SCSS , Javascript API
**[LIVE DEMO](https://ahmed-dotnetdev.github.io/Dictionary-App/)**
## Idea of application 🤔
<p>
- Develop a dictionary application that provides definitions, meanings, and examples for words.
- Implement a search functionality allowing users to look up words and retrieve relevant information.
- Include audio pronunciation for words to help users with correct pronunciation.
- Organize word entries based on parts of speech and provide relevant details for each entry.
- Enhance the user experience with a clean and intuitive interface for easy navigation and readability.
- Ensure cross-platform compatibility to make the dictionary accessible on various devices and browsers.
</p>
## How to use ✍🏻⚙
<p>
- Type your word you want to search for it.
- click on search button.
- finally, the result would display on the screen with it's example and so on.
</p>
## API 👨🏻💻
```
https://api.dictionaryapi.dev/api/v2/entries/en/
```
## Clone Repo <img src="https://img.freepik.com/free-icon/arrow-representing-download_318-481.jpg?w=740&t=st=1687601530~exp=1687602130~hmac=2290e674ad8b3cd7ba95b2b62adae2252f300c50fed5e1156fb79c08309ab2c9" width="30px">
```
git clone https://github.com/Ahmed-DotNetDev/Dictionary-App.git
```
| Dictionary App that enable user to translate word and listen slow or fast by using HTML CSS Javascript API SCSS | api,css,html,javascript,vscode,scss | 2023-06-23T11:36:43Z | 2023-06-28T04:14:02Z | null | 2 | 1 | 18 | 0 | 2 | 4 | null | null | JavaScript |
berkaygediz/O_Vod | main | # O Vod
The design project of the video sharing site.
# Demo
<p align="center"><img src="https://github.com/berkaygediz/O_Vod/blob/main/ovod_banner.png"/></p>
# Table of Contents
- [O Vod](#o-vod)
- [Table of Contents](#table-of-contents)
- [About The Project](#about-the-project)
- [Source](#source)
# Technologies
- HTML
- PHP
- CSS
- JavaScript
# About The Project
O Vod is a video sharing site. It is a design project. It is not a real site. It was designed with the aim of improving myself in design.
# Source
Source Code: <a href="https://github.com/berkaygediz/O_Vod">GitHub</a>
| The design project for the video sharing site. 🎥🌐 | cms,css3,html,html5,javascript,video-streaming,website,array,design,php | 2023-06-22T16:53:31Z | 2024-02-06T23:18:49Z | 2023-07-16T01:12:16Z | 1 | 0 | 8 | 0 | 0 | 4 | null | Apache-2.0 | PHP |
sweta1308/trend-wave | master | # Trend-wave
[Trend wave](https://trend-wave.vercel.app/) - A social media app where you can connect with your friends and family and share pictures.
https://github.com/sweta1308/trend-wave/assets/105535990/2d6cfeee-54c3-48a6-83df-a0299f48710a
## Pages and Features
### Home Page
* Posts of user and its following's.
* Suggested Users.
* Sort by
* Trending Posts
* Latest Posts
* Search Users
* Like/Dislike Post
* Add/Remove Post from bookmark
* Copy Link of Post
* Share Post
* Edit own post
* Delete own post
### Explore Page
* All posts of all users.
### Single Post Page
* Like/Dislike Post
* Comment on Post
* Edit own comment
* Delete own comment
* Add/Remove Post from bookmark
* Copy Link of Post
* Share Post
* Edit own post
* Delete own post
### Bookmark Page
* Bookmarked Posts
### Profile Page
* Edit Own Profile
* Log out from own account
* Follow/unfollow users
* Check followers/following count
* See users posts.
### Others
* Login/singup
* Dark Mode
* Error Page
* Toasts
* Loaders
* Responsive
## Tech Stack
* React JS
* React Router v6
* React useContext + useReducer
* Tailwind CSS
* Font Awesome Icons
* mockbee for backend
* React hot toast
## How to Install and Run Locally
```JavaScript
git clone https://github.com/sweta1308/trend-wave
cd trend-wave
npm install
npm start
```
| A social media app where you can connect with your friends and family and share pictures. | javascript,reactjs,social-media | 2023-06-09T10:59:52Z | 2023-07-06T14:34:17Z | null | 1 | 0 | 247 | 0 | 1 | 4 | null | null | JavaScript |
codingbeautydev/nextjs-current-url | main | # nextjs-current-url
Quickly get the current URL or route in Next.js client & server environments ✨
## Usage
### Next.js client component
`nextjs-current-url` has a `useUrl` hook that quickly gives you the current URL in a browser-rendered component.
It returns a [`URL`](https://developer.mozilla.org/en-US/docs/Web/API/URL) object.
`URL` let's you easily access specific parts of the URL.
`useUrl` works in both pages and app router.
Example:
```ts
import { useUrl } from 'nextjs-current-url';
import Head from 'next/head';
export default function Home() {
// 👇 useUrl() returns `null` until hydration, so plan for that with `??`
const { href: currentUrl, pathname } = useUrl() ?? {};
return (
<>
<Head>
<title>Next.js - Coding Beauty</title>
<meta name="description" content="Next.js Tutorials by Coding Beauty" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.png" />
</Head>
<main>
Welcome to Coding Beauty 😄
<br />
<br />
URL: <b>{currentUrl}</b>
<br />
pathname: <b>{pathname}</b>
</main>
</>
);
}
```
Result:

### getServerSideProps()
To use `nextjs-current-url` in `getServerSideProps`, call the `getUrl` function, passing the context object's `req` property.
Example:
```ts
import { NextPageContext } from 'next';
import Head from 'next/head';
import { getUrl } from 'nextjs-current-url/server';
export function getServerSideProps(context: NextPageContext) {
const url = getUrl({ req: context.req });
return {
props: {
url: url.href,
},
};
}
export default function Home({ url }: { url: string }) {
const urlObj = new URL(url);
const { pathname } = urlObj;
return (
<>
<Head>
<title>Next.js - Coding Beauty</title>
<meta name="description" content="Generated by create next app" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.png" />
</Head>
<main>
Welcome to Coding Beauty 😃
<br />
<br />
URL: <b>{url}</b>
<br />
Route: <b>{pathname}</b>
</main>
</>
);
}
```
Result:

### Next.js middleware
`next-js-current-url` also works in Next.js middleware files.
Call `getUrl` and pass the `NextRequest` object in the middleware function.
`src/middleware.ts`
```ts
import { NextResponse } from 'next/server';
import type { NextRequest } from 'next/server';
import { getUrl } from 'nextjs-current-url/server';
import { getSession } from '@/lib/session';
export async function middleware(request: NextRequest) {
const { href, orgin } = getUrl({ req: request });
const session = await getSession(request);
if (!href.startsWith('/signin') && !session.user) {
const signinUrl = new URL('/signin', origin);
signinUrl.searchParams.set('continue', href);
return NextResponse.redirect(signinUrl);
}
}
export const config = {
matcher: '/app/:path*',
};
```

| JavaScript library to easily get the current URL or route in Next.js | javascript,next,nextjs,nextjs13,npm,typescript,url,utility,next-current-url,nextjs-current-url | 2023-06-25T19:59:06Z | 2023-06-26T18:55:48Z | 2023-06-26T18:36:20Z | 1 | 1 | 11 | 0 | 0 | 4 | null | null | TypeScript |
jordanpapaditsas/rps-royale | main | # RPS Royale
## Description
The Rock, Paper, and Scissors game is an enjoyable and straightforward game where both players choose between:
***rock***, ***paper***, or ***scissors***. It results in only two possible outcomes:
a ***tie***, or a ***win*** for one player and a ***loss*** for the other player.
## Live Preview
**https://jordanpapaditsas.github.io/rps-royale/**
## Rules
In this game, the player must select one option from the following: **rock**, **paper**, or **scissors**.
The computer will generate a **random** option, and the player or computer will earn one **point** for each round won.
The first player to reach a score of **5** points will be declared the winner.
In the event of a ***tie***, no points will be awarded.
## Features
<ul>
<li>Interactive gameplay against the computer</li>
<li>User-friendly interface with visual representations of choices</li>
<li>Real-time score tracking</li>
<li>Random computer moves</li>
</ul>
## Getting Started
Follow these steps to get the rps game up and running on your local machine:
1. Clone this repository: `git clone https://github.com/your-username/rps-royale.git`
2. Open the `index.html` file in your preferred web browser.
3. Explore the mechanism of the application.
4. Customize the content to fit your application's needs.
## Contributing
All contributions are welcomed! If you'd like to contribute, please follow these steps:
1. Fork this repository to your GitHub account.
2. Create a new branch for your feature or bug fix: `git checkout -b feature/your-feature-name`
3. Make your changes and commit them with descriptive commit messages.
4. Push your changes to your forked repository.
5. Create a pull request to the `main` branch of this repository, describing your changes.
## License
This project is licensed under the [MIT License](LICENSE).
| A web app for the game "Rock Paper and Scissors", that involves a full UI experience versus the Computer. | css3,html5,javascript,responsive-web-design,dom-manipulation | 2023-06-17T12:24:16Z | 2023-08-09T20:21:22Z | null | 1 | 0 | 68 | 0 | 0 | 4 | null | MIT | JavaScript |
Bibiwei-Pere/FAQ-app | main | ### FAQ accordion card solution
This is a solution to the [FAQ accordion card challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/faq-accordion-card-XlyjD0Oam).
### Screenshot
<img src="/design/active-states.jpg" />
### Links
- [Live Site URL](https://faq01.netlify.app)
## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- Javascript
## Author
- Website - [Bibiwei Pere](https://perebibiwei.netlify.app)
- Frontend Mentor - [@Bibiwei-Pere](https://www.frontendmentor.io/profile/Bibiwei-Pere)
- Twitter - [@Bibiwei_Pere](https://www.twitter.com/Bibiwei_Pere) | Responsive Frequently Asked Question (FAQ) page with a drop-down menu revealed when any question is clicked | faq,frequently-asked-questions,frontend-mentor,javascript | 2023-06-26T21:20:10Z | 2023-06-26T21:20:14Z | null | 1 | 0 | 1 | 0 | 0 | 4 | null | null | CSS |
Bibiwei-Pere/Tip-calculator | main | ### Tip calculator app solution
This is a solution to the [Tip calculator app challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/tip-calculator-app-ugJNGbJUX).
### Screenshot
<img src="/design/active-states.jpg" />
### Links
- [Live Site URL](https://tipscalculator01.netlify.app)
## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- Javascript
## Author
- Website - [Bibiwei Pere](https://perebibiwei.netlify.app)
- Frontend Mentor - [@Bibiwei-Pere](https://www.frontendmentor.io/profile/Bibiwei-Pere)
- Twitter - [@Bibiwei_Pere](https://www.twitter.com/Bibiwei_Pere)
| This is a solution to the Tip calculator app challenge on Frontend Mentor. | calculator,calculator-application,calculator-javascript,css,javascript,tips | 2023-06-26T21:20:56Z | 2023-06-26T21:34:58Z | null | 1 | 0 | 2 | 0 | 0 | 4 | null | null | JavaScript |
MasumaJaffery/Quotes | main | # Quotes | The Quotes is a Project that uses Simple API. | api,javascript | 2023-06-25T16:59:51Z | 2023-06-25T21:05:00Z | null | 1 | 1 | 6 | 0 | 0 | 4 | null | null | JavaScript |
Fastest-Coder-First/ExpenseTracker_Skolers | main | <h1 align="center">
<img src="https://github.com/piyushchugeja/ExpenseTracker/assets/66639966/b470fefb-5a29-46ce-84b7-b7d2cb2ea9bd" align="center" />
Expense Tracker by Skolers
</h1>
<h3>Problem statement: </h3>
<p>Create a web-based personal finance tracker using Javascript, HTML and CSS. The application should allow users to add, edit and delete income and expense transactions and display the current balance. Use GitHub Copilot to guide you in implementing features, handling user input and designing a responsive user interface. </p>
<hr>
<h3>Overview:</h3>
With the help of this project, you can effortlessly track and manage your personal costs. You are able to utilize this tool to add transactions and keep track of your earnings and expenditures. Additionally, it offers a graphical picture of your monthly totals for costs and income.
<br>
<hr>
<h3>Features:</h3>
<p>
<b>1. Add transactions:</b> Easily add your income and expenses by providing relevant details such as date, category, amount, and description.<br>
<b>2. Track expenses:</b> Keep a comprehensive record of your expenses and income to gain insights into your spending habits.<br>
<b>3. Monthly overview:</b> View a graphical breakdown of your monthly total spending and income to better understand your spending and earning tendencies. <br>
<b>4. User-friendly interface:</b> The cost tracker has a simple, intuitive design that makes it simple to use and navigate.
</p>
<hr>
<h3>Technologies Used:</h3>
<ul>
<li>HTML5</li>
<li>CSS3</li>
<li>JavaScript</li>
</ul>
| Personal Expense Tracker | cookies,css3,expense-tracker,graph,html5,javascript | 2023-06-24T04:36:04Z | 2023-10-05T18:53:47Z | null | 7 | 1 | 30 | 0 | 5 | 4 | null | null | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.