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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ErnaneJ/tradingworks-plus | master | <h1 align="center">
<img alt="Icone" src="./docs/imgs/icon.png" width="25"> TradingWorks+
</h1>
<br/>
<div align="center">
<a href="#-technologies">Technologies</a> |
<a href="#-project">Project</a> |
<a href="#-features">Features</a> |
<a href="#%EF%B8%8F-use">Use</a> |
<a href="#-support">Support</a> |
<a href="#%EF%B8%8F-contribute">Contribute</a>
</div>
<br/>
<div align="center">
<img alt="Icone" src="https://shields.io/badge/TradingWorks%2B-v2.0.0-brightgreen?logo=github">
</div>
<br/>
<p align="center">
<a href="https://github.com/ErnaneJ/tradingworks-plus/blob/master/docs/ptbr">PT-BR</a>
</p>
<br/>
<p align="center">
<img alt="Application preview image" src="./docs/imgs/prevv2-0-0.png" width="100%">
</p>
## 🚀 Technologies
This application was developed with the following technologies:
- HTML
- CSS
- Javascript
## 💻 Project
Extension developed with the aim of facilitating the usability of the TradingWorks platform for point management between workdays. His idea was due to the need for some features that are not natively present in the application.
<p align="center">
<b>This extension has NO direct link to the TradingWorks platform and its development purpose is entirely educational.</b>
</p>
## ✨ Features
In order to make life easier for the user, this extension has the following features:
- List of schedules;
- Prohibited;
- Exit;
- Automatic calculation of elapsed time;
- Elapsed time of working day;
- Time elapsed in intervals;
- Elapsed time of extra journey, when the pre-defined time has already been finalized.
- Notifications
- Background execution of a journey monitor that captures this information every X time and notifies the user in specific cases through the [https://www.callmebot.com/](callmebot.com) API.
- Notifications on Whatsapp
- Browser Notifications
_Note: All information is captured directly from the [TradingWorks.net](https://app.tradingworks.net/) platform to ensure the accuracy of the calculations. It only needs to identify user session cookies in the browser to obtain the necessary access to enter the platform with the collaborator's profile and capture the information._
## ⚙️ Use
### 🧩 Installing from the extension store
Basta seguir o processo de instalação padrão, semelhante ao de qualquer outra extensão no Chrome. Para continuar, clique no link da extensão fornecido abaixo e instale-a prontamente.
[Link da Extensão Tradingworks+](https://chromewebstore.google.com/detail/tradingworks+/gekmgdfmjoccmkagkbcboidgknlolihl).
### 📦 Installation by downloading packages
Below is explained the process to download and install the extension manually. None of these steps are necessary if it has been installed directly by the store.
#### ⬇️ Download
Go [here](https://github.com/ErnaneJ/tradingworks-plus/releases) to view available packages and versions (ZIP) or download directly from Git.
- Clone this repository
- SSH
```bash
git clone git@github.com:ErnaneJ/tradingworks-plus.git
```
- HTTPS
```bash
https://github.com/ErnaneJ/tradingworks-plus.git
```
#### 🟢 Install
- Access your browser in the extensions section
<p align="center">
<img alt="Accessing extensions session" src="./docs/imgs/en/extensions.png">
</p>
- Enable development mode
<p align="center">
<img alt="Enabling development mode" src="./docs/imgs/en/dev.png">
</p>
- Upload the folder where you cloned the repository
<p align="center">
<img alt="Loading extension" src="./docs/imgs/en/load.png">
</p>
- Ready! 🎊
<p align="center">
<img alt="loaded" src="./docs/imgs/ok.png">
</p>
## 🆙 Support
This Extension has been tested and proven to work in the following browsers:
- **Google Chrome**: v111.0.5563.146 (2024-04-07)
- **Edge**: v111.0.1661.54 (2023-03-24)
## 📃 Privacy Policy
[Privacy Policy.](./docs/privacy_policy/en.md)
## ⚙️ Contribute
### 🚧 Developing
If you encounter a problem or want some new functionality, please open an issue. If you want to implement it on your own, carry out the **Installation by downloading packages** process present in the same documentation file above before starting.
With the extension working correctly, open the project in your favorite text editor and good development!
When you're done, you can open a PR and I'll be extremely happy to review and possibly accept your code!
### 💙 Encouraging
Any criticism (as long as it's constructive) is always welcome. In addition, you can make a donation to support the project if you deem it appropriate.
_One of the future goals for this extension is to publish it on the official Google Extensions store. However, to do so, you need to pay a licensing fee of $5._
<br/><p align="center">
<a href="https://github.com/sponsors/ErnaneJ">
<img alt="Buy Me a Coffe" src="./docs/imgs/buy-me-a-coffee.png" width="300">
</a>
</p><br/>
---
<div align="center">
2024 | <b>TradingWorks+</b>
</div>
| Extension developed with the aim of facilitating the usability of the TradingWorks platform for point management between work shifts. | extensions,html,css,google-chrome-extension,javascript | 2023-03-09T09:07:46Z | 2024-04-12T14:31:18Z | 2024-04-07T05:04:11Z | 3 | 26 | 84 | 2 | 3 | 5 | null | MIT | JavaScript |
TTTaevas/osu-api-v2-js | master | # osu-api-v2-js
[**osu-api-v2-js**](https://github.com/TTTaevas/osu-api-v2-js) is a JavaScript & TypeScript package that helps you interact with [osu!api (v2)](https://docs.ppy.sh).
You can find this package's documentation on [osu-v2.taevas.xyz](https://osu-v2.taevas.xyz) if needed!
## How to install and get started
Before installing, if using Node.js, check if you're running version 16 or above:
```bash
node -v # displays your version of node.js
```
Then to install the package, use a command from your package manager:
```bash
npm i osu-api-v2-js # if using npm
yarn add osu-api-v2-js # if using yarn
pnpm add osu-api-v2-js # if using pnpm
bun a osu-api-v2-js # if using bun
```
You will want to create your own OAuth application: https://osu.ppy.sh/home/account/edit#oauth
To use (import) the package in your project and start interacting with the API, you may do something like that:
```typescript
// TypeScript
import * as osu from "osu-api-v2-js"
async function logUserTopPlayBeatmap(username: string) {
// It's more convenient to use `osu.API.createAsync()` instead of `new osu.API()` as it doesn't require you to directly provide an access_token!
// In a proper application, you'd use this function as soon as the app starts so you can use that object everywhere
// (or if it acts as a user, you'd use this function at the end of the authorization flow)
const api = await osu.API.createAsync({id: "<client_id>", secret: "<client_secret>"})
const user = await api.getUser(username) // We need to get the id of the user in order to request what we want
const score = (await api.getUserScores(user, "best", osu.Ruleset.osu, {lazer: false}, {limit: 1}))[0] // Specifying the Ruleset is optional
const beatmapDifficulty = await api.getBeatmapDifficultyAttributesOsu(score.beatmap, score.mods) // Specifying the mods so the SR is adapted to them
const x = `${score.beatmapset.artist} - ${score.beatmapset.title} [${score.beatmap.version}]`
const y = `+${score.mods.toString()} (${beatmapDifficulty.star_rating.toFixed(2)}*)`
console.log(`${username}'s top play is on: ${x} ${y}`)
// Doomsday fanboy's top play is on: Yamajet feat. Hiura Masako - Sunglow [Harmony] +DT (8.72*)
}
logUserTopPlayBeatmap("Doomsday fanboy")
```
### Authorization flow
A simple guide on how to do extra fancy stuff
#### The part where the user says they're okay with using your application
If your application is meant to act on behalf of a user after they've clicked on a button to say they consent to your application identifying them and reading public data on their behalf and some other stuff maybe, then things will work differently
Let's take it step by step! First, this package comes with `generateAuthorizationURL()`, which will generate for you a link so users can click on it and allow your application to do stuff on their behalf
This function requires you to specify scopes... well, just know that **`identify` is always implicitly specified**, that **`public` is almost always implicitly required**, and that **functions that require other scopes are explicit about it!**
Please note: It is the user who ultimately decides which scopes they allow, so you can't assume they allowed all the scopes you specified...
Thankfully though, you can check at any time the allowed scopes with the `scopes` property of your `api` object!
#### The part where your application hears the user when the user says okay
The user clicked your link and authorized your application! ...Now what?
When a user authorizes your application, they get redirected to your `Application Callback URL` with a *huge* code as a GET parameter (the name of the parameter is `code`), and it is this very code that will allow you to proceed with the authorization flow! So make sure that somehow, you retrieve this code!
With this code, you're able to create your `api` object:
```typescript
const api = await osu.API.createAsync({id: "<client_id>", secret: "<client_secret>"}, {code: "<code>", redirect_uri: "<application_callback_url>"})
```
#### The part where you make it so your application works without the user saying okay every 2 minutes
Congrats on making your `api` object! Now you should do something in order to not lose it, or not need a new one in order to request more data!
Do note that your `api` object has lots of practical properties: `user` allows you to know which user it acts on behalf of, `expires` allows you to know when your requests with your current `access_token` will fail, and `refresh_token` is your key to getting a new `access_token` without asking the user again!
Although, you should not need to access them often, because your `api` object has a function to use that refresh token which you can call at any given time, and by default, the object will call that function on its own right before the expiration date or when a request seems to fail because of the `access_token` being invalid! (those are features you can deactivate if needed)
Your `refresh_token` can actually also expire at a (purposefully) unknown time, so depending of how your application works, you could use it at some point around the date of expiration, or you could throw away your `api` object while waiting for a user to start the authorization flow again
### Reading all incoming messages
```typescript
// TypeScript
import * as osu from "osu-api-v2-js"
import promptSync from "prompt-sync"
const prompt = promptSync({sigint: true})
const id = "<client_id>"
const secret = "<client_secret>"
const redirect_uri = "<application_callback_url>"
async function readChat() {
// Somehow get the code so the application can read the messages as your osu! user
const url = osu.generateAuthorizationURL(id, redirect_uri, ["public", "chat.read"]) // "chat.read" is 100% needed in our case
const code = prompt(`Paste the "code" in the URL you're redicted to by accessing: ${url}\n\n`)
const api = await osu.API.createAsync({id, secret}, {code, redirect_uri}, "errors")
// Get a WebSocket object to interact with and get messages from
const socket = api.generateWebSocket()
// Tell the server you want to know whenever there's are chat messages
socket.on("open", () => {
socket.send(osu.WebSocket.Command.chatStart) // osu.WebSocket.Command.chatStart is simply JSON.stringify({event: "chat.start"}) but easier to remember
api.keepChatAlive()
setInterval(() => api.keepChatAlive(), 30 * 1000) // Tell the server every 30 seconds that you're still listening to the incoming messages
})
// Listen for chat messages (and other stuff)
socket.on("message", (m: MessageEvent) => { // Mind you, "message" doesn't mean "chat message" here, it's more like a raw event
const event: osu.WebSocket.Event.Any = JSON.parse(m.toString())
if (event.event === "chat.message.new") { // Filter out things that aren't new chat messages and get type safety
const message = event.data.messages.map((message) => message.content).join(" | ")
const user = event.data.users.map((user) => user.username).join(" | ")
console.log(`${user}: ${message}`)
}
})
}
readChat()
```
Above is the code I've written to listen to incoming chat messages by using the API's WebSocket!
Using the WebSocket namespace this package provides, it's relatively easy to send commands (anything under `osu.WebSocket.Command`) and you can have 100% type safety with events (anything under `osu.Websocket.Event`) simply by checking what the `event` property is! With that, anything in the `data` property is yours to play with!
### Calling the functions, but literally
This package's functions can be accessed both through the api object and through namespaces! It essentially means that for convenience's sake, there are two ways to do anything:
```typescript
// Obtaining a match, assuming an `api` object already exists and everything from the package is imported as `osu`
const match_1 = await api.getMatch(103845156) // through the api object
const match_2 = await osu.Multiplayer.Match.getOne.call(api, 103845156) // through the namespaces
// `match_1` and `match_2` are the same, because they're essentially using the same function!
// The same, but for obtaining multiple lazer updates
const builds_1 = await api.getChangelogBuilds("lazer")
const builds_2 = await osu.Changelog.Build.getMultiple.call(api, "lazer")
// `build_1` and `build_2` are also the same!
```
As you may have noticed, when calling the functions through the namespaces, instead of doing something like `getOne()`, we instead do `getOne.call()` and use [the call() method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call) in order to provide a `this` value; the api object!
Of course, using [the apply() method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply) would also work, so just do things the way you prefer or the way that is more intuitive to you!
## Implemented endpoints
### Beatmap Packs
- [x] `GET /beatmaps/packs` -> getBeatmapPacks()
- [x] `GET /beatmaps/packs/{pack}` -> getBeatmapPack()
### Beatmaps
- [x] `GET /beatmaps/lookup` -> lookupBeatmap()
- [x] `GET /beatmaps/{beatmap}/scores/users/{user}` -> getBeatmapUserScore()
- [x] `GET /beatmaps/{beatmap}/scores/users/{user}/all` -> getBeatmapUserScores()
- [x] `GET /beatmaps/{beatmap}/scores` -> getBeatmapScores()
- [x] `GET /beatmaps/{beatmap}/solo-scores` -> getBeatmapSoloScores()
- [x] `GET /beatmaps` -> getBeatmaps()
- [x] `GET /beatmaps/{beatmap}` -> getBeatmap()
- [x] `POST /beatmaps/{beatmap}/attributes` -> getBeatmapDifficultyAttributes()
### Beatmapset Discussions
- [x] `GET /beatmapsets/discussions/posts` -> getBeatmapsetDiscussionPosts()
- [x] `GET /beatmapsets/discussions/votes` -> getBeatmapsetDiscussionVotes()
- [x] `GET /beatmapsets/discussions` -> getBeatmapsetDiscussions()
### Beatmapsets
- [x] `GET /beatmapsets/search` -> searchBeatmapset()
- [x] `GET /beatmapsets/lookup` -> lookupBeatmapset()
- [x] `GET /beatmapsets/{beatmapset}` -> getBeatmapset()
- [x] `GET /beatmapsets/events` -> getBeatmapsetEvents()
### Changelog
- [x] `GET /changelog/{stream}/{build}` -> getChangelogBuild()
- [x] `GET /changelog` -> getChangelogBuilds() / getChangelogStreams() (removing `search`, putting `builds` behind getChangelogBuilds(), and `streams` behind getChangelogStreams())
- [x] `GET /changelog/{changelog}` -> lookupChangelogBuild()
### Chat
- [x] `POST /chat/ack` -> keepChatAlive()
- [x] `POST /chat/new` -> sendChatPrivateMessage()
- [x] `GET /chat/channels/{channel}/messages` -> getChatMessages()
- [x] `POST /chat/channels/{channel}/messages` -> sendChatMessage()
- [x] `PUT /chat/channels/{channel}/users/{user}` -> joinChatChannel()
- [x] `DELETE /chat/channels/{channel}/users/{user}` -> leaveChatChannel()
- [x] `PUT /chat/channels/{channel}/mark-as-read/{message}` -> markChatChannelAsRead()
- [x] `GET /chat/channels` -> getChatChannels()
- [x] `POST /chat/channels` -> createChatPrivateChannel() / createChatAnnouncementChannel()
- [x] `GET /chat/channels/{channel}` -> getChatChannel() (without `users` because `channel` would already have this property)
### Comments
- [x] `GET /comments` -> getComments()
- [x] `GET /comments/{comment}` -> getComment()
### Events
- [x] `GET /events` -> getEvents()
### Forum
- [x] `POST /forums/topics/{topic}/reply` -> replyForumTopic()
- [x] `POST /forums/topics` -> createForumTopic()
- [x] `GET /forums/topics/{topic}` -> getForumTopicAndPosts() (removing `search` for simplicity)
- [x] `PUT /forums/topics/{topic}` -> editForumTopicTitle()
- [x] `PUT /forums/posts/{post}` -> editForumPost()
### Home
- [x] `GET /search` -> searchUser() / searchWiki()
### Multiplayer
- [x] `GET /rooms/{room}/playlist/{playlist}/scores` -> getPlaylistItemScores()
- [x] `GET /rooms` -> getRooms()
- [x] `GET /matches` -> getMatches()
- [x] `GET /matches/{match}` -> getMatch()
- [x] `GET /rooms/{room}` -> getRoom()
- [x] `GET /rooms/{room}/leaderboard` -> getRoomLeaderboard()
### News
- [x] `GET /news` -> getNewsPosts() (removing everything except `news_sidebar.news_posts`)
- [x] `GET /news/{news}` -> getNewsPost()
### Ranking
- [x] `GET /rankings/kudosu` -> getKudosuRanking()
- [x] `GET /rankings/{mode}/{type}` -> getUserRanking() / getCountryRanking() / getSpotlightRanking()
- [x] `GET /spotlights` -> getSpotlights()
### Users
- [x] `GET /me/{mode?}` -> getResourceOwner()
- [x] `GET /users/{user}/kudosu` -> getUserKudosu()
- [x] `GET /users/{user}/scores/{type}` -> getUserScores()
- [x] `GET /users/{user}/beatmapsets/{type}` -> getUserBeatmaps() / getUserMostPlayed()
- [x] `GET /users/{user}/recent_activity` -> getUserRecentActivity()
- [x] `GET /users/{user}/{mode?}` -> getUser()
- [x] `GET /users` -> getUsers()
- [x] `GET /friends` -> getFriends()
### Wiki
- [x] `GET /wiki/{locale}/{path}` -> getWikiPage()
### Misc Undocumented Stuff
- [x] `GET /seasonal-backgrounds` -> getSeasonalBackgrounds()
- [x] `GET /scores/{score}/download` -> getReplay()
| Package to easily access the new api of osu! | javascript,library,osu,osu-api,osu-api-v2,osu-api-wrapper,typescript | 2023-03-10T12:35:43Z | 2024-04-22T18:56:59Z | 2024-04-22T15:24:36Z | 1 | 32 | 176 | 0 | 0 | 5 | null | WTFPL | TypeScript |
vikas-kukreti/react-canvas-draw | main | # React Canvas Drawing Tool
Welcome to the React Canvas Drawing Tool! This is a versatile drawing application built with ReactJS, offering a range of features to unleash your creativity. Whether you're an artist or just looking for a fun way to express yourself, this tool has got you covered.

## Want to try it out ?
[Click here: https://vikas-kukreti.github.io/react-canvas-draw/](https://vikas-kukreti.github.io/react-canvas-draw/)
## Features
### 1. Pen Tool
Draw freely with the pen tool, allowing you to create intricate designs with precision.
### 2. Rectangle Tool
Easily draw rectangles on the canvas, perfect for creating structured shapes and patterns.
### 3. Circle Tool
Create perfect circles effortlessly using the circle tool, adding a touch of symmetry to your artwork.
### 4. Color Tool
Choose from a wide range of colors to bring your drawings to life. The color tool lets you express your creativity with a vibrant palette.
### 5. Movable Canvas
Navigate and explore your canvas with ease. The tool provides a movable canvas to focus on specific areas of your artwork.
### 6. Undo and Redo Feature
Made a mistake? No worries! The undo and redo features allow you to easily correct and experiment with different ideas.
### 7. Cross Platform
Works seamlessly on both touch-based inputs and mouse interactions!
### 8. Export and Import Drawn Canvas
Save your masterpieces! Export your drawings to ediate json format and import them back to continue your work later.
## Getting Started
1. Clone the repository.
```bash
git clone https://github.com/your-username/react-canvas-drawing-tool.git
```
2. Install dependencies.
```bash
cd react-canvas-drawing-tool
npm install
```
3. Run the development server.
```bash
npm start
```
## Note
**This is still in early stages of development, architecture changes are expected which might break the import feature for old exported drawings.**
## Like it ?
- Contribute by raising a Pull Request
- Give it a Star ⭐
## Connect with me
- [Write a mail at vikaskukreti10@gmail.com](mailto:vikaskukreti10@gmail.com)
- [LinkedIn: https://www.linkedin.com/in/vikas-kukreti/](https://www.linkedin.com/in/vikas-kukreti/)
| A canvas drawing tool in react | canvas,drawing,javascript,react | 2023-02-25T18:48:06Z | 2023-12-21T17:28:59Z | null | 1 | 0 | 12 | 0 | 1 | 5 | null | null | JavaScript |
devildrey33/Portal-Experience | main | # Portal-Experience
This experience its based on https://threejs-journey.com/ chapter 6 Portal Scene.
- Uses my own model and texture.
- Has an extended portal fragment shader to make an initial animation for opening the portal.
- Has an extra particles with vertex and fragment shader to simulate a very basic kabush effect on the initial portal animation.
- You can tweak those shader values and have some fun, and even try to get a better result qhit this sand box. (but you need to be in debug mode, use #debug after the url and refresh)
- You can open / close the portal by clicking them
- Added a consistent bloom effect to all animations (open / wave / close)
Pourpose of this? have fun and learn a bit more.
https://user-images.githubusercontent.com/15678544/227725970-0b06a3d0-c550-4801-a8b8-2bcf5d94d9d3.mp4
This project uses vite as a build tool (https://vitejs.dev/guide/)... Im not an expert in build tools, before i started the three.js-journey i was using a windows apache server with xampp (yes im a bit prehistoric, its the age i think xd).
You need run <code>npm install</code> once to get all dependencies.
And then you can use <code>npm run dev</code> to start the local test server.
Live example : https://devildrey33.es/Ejemplos/Three.js-Journey/Portal-Experience/
| The mitical portal scene form three-js Journey with my personal touch | glsl,threejs,javascript | 2023-03-04T01:59:12Z | 2024-01-05T14:24:31Z | null | 1 | 0 | 40 | 0 | 1 | 5 | null | CC0-1.0 | JavaScript |
raphaelaleixo/cv-generator | main | # cv-generator
Using React, Google Sheets, and CSS to create a dynamic cv and cover letter generator.
More about the idea behind this repository on Medium: https://raphaelaleixo.medium.com/using-react-google-sheets-and-css-to-create-a-dynamic-cv-and-cover-letter-generator-fa70f12b08a0
## How to use
- Create an API key on Google Cloud for Google Spreadsheets
- Create a file called `.env.local` on the project root and add your secret key on it:
```
REACT_APP_API_KEY=YourSecretKey
```
- Clone the example spreadsheet on this link: https://docs.google.com/spreadsheets/d/1wLQ-nwaZcGZtafRrYnJi02huqao4YULmfU3m03m43U4/edit#gid=0
- Set the sharing options on the newly cloned spreadsheet to "anyone with the link".
- Get the id from your spreadsheet. The id comes after the `/d/` in the url.
- Go to your `.env.local` file and add that spreadsheet id:
```
REACT_APP_SPREADSHEET_KEY=YourSpreadsheetId
```
- Run `yarn install` and then `yarn start`
That should be it. You should have your CV/CoverLetter generator running on your localhost. :)
| Using React, Google Sheets, and CSS to create a dynamic cv and cover letter generator. | curriculum-vitae,javascript,react-pdf,reactjs | 2023-03-09T17:57:32Z | 2023-03-10T02:41:02Z | null | 1 | 0 | 4 | 0 | 0 | 5 | null | null | JavaScript |
raihan2bd/go-credit-transact | dev | # Credit card transaction - using Go (golang)
<p>Credit card transaction is a basic full stack web application that using this app user can buy widgets and monthly subscription using their credit card.</p>
### Tech Stack <a name="tech-stack"></a>
I used Go (golang), MariaDB, Bootstrap, Html, Javascript and css to build this project.
<summary>Full Stack</summary>
<ul>
<li>Go</li>
<li>MariaDB</li>
<li>Bootstrap</li>
<li>JAVASCRIPT</li>
<li>Html</li>
<li>CSS</li>
</ul>
<summary>Major Dependencies</summary>
<ul>
<li><a href="https://github.com/stripe/stripe-go/v72">WebSocket</a> To accept credit card transaction</li>
<li><a href="https://github.com/go-chi/chi">Chi router</a></li>
<li><a href="https://github.com/alexedwards/scs/v2">Alex edwards SCS </a> Session Manager</li>
<li><a href="https://github.com/go-sql-driver/mysql">MySQL Driver</a> Database Driver</li>
<li><a href="https://github.com/xhit/go-simple-mail/v2">simple mail</a> To create a simple mail server</li>
<li><a href="https://github.com/gorilla/websocket">WebSocket</a> To Connect this app with websocket</li>
</ul>
## Demo

## 💻 Getting Started
- To get star with this package first of all you have to clone the project ⬇️
``` bash
https://github.com/raihan2bd/go-credit-transact.git
```
- Then Make sure you have install [Go (golang)](https://go.dev/dl/) version 1.8.0 or latest stable version.
- Then make sure you have install [MariaDB](https://mariadb.org/) on your local mechine if you want to use this project as localy.
- To install all the Go packages navigate the folder address on your terminal and enter the below command ⬇️
``` bash
go mod tidy
```
- After downloading the packages you should rename example.database.yml file name to database.yml file and edit database credentials to your own database information and you have to create a `Makefile` inside the root as like example make file and provide your stripe key and secret as well.

- To setup database tables and columns by onClick install [soda cli database migration tool](https://gobuffalo.io/documentation/database/soda/) Then run below command ⬇️
```sh
soda migrate
```
# Usages
> *Note: Before enter the below command make sure you are in the right directory.*
- After finishing the avove instructions you can see the project in your local mechine by entering the below command ⬇️
```bash
make start
```
or
```sh
go run cmd/web/* cmd/api/* cmd/micro/invoice/*
```
- Then you can see this project live on your browser by this link http://localhost:8080 or your given the port nuber you set for the project.
## 👥 Author
👤 **Abu Raihan**
- GitHub: [@githubhandle](https://github.com/raihan2bd)
- Twitter: [@twitterhandle](https://twitter.com/raihan2bd)
- LinkedIn: [LinkedIn](https://linkedin.com/in/raihan2bd)
## 🙏 Acknowledgments <a name="acknowledgements"></a>
I would like to thatnks [Trevor Sawler](https://github.com/tsawler) Who help me a lot learn go with this project.
## ⭐️ Show your support <a name="support"></a>
> Thanks for visiting my repository. Give a ⭐️ if you like this project!
## 📝 License <a name="license"></a>
This project is [MIT](./LICENSE) licensed.
## Contribution
*Your suggestions will be more than appreciated. If you want to suggest anything for this project feel free to do that. :slightly_smiling_face:*
| Credit card transaction is a basic full stack web application that using this app user can buy widgets and monthly subscription using their credit card. | bootstrap,css,go,golang,html,javascript,mariadb,websocket | 2023-03-10T03:46:02Z | 2023-03-25T12:03:26Z | null | 1 | 11 | 125 | 0 | 1 | 5 | null | MIT | Go |
ikennarichard/Sunnyside-agency-landing-page | main | # Frontend Mentor - Sunnyside agency landing page solution
This is a solution to the [Sunnyside agency landing page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/sunnyside-agency-landing-page-7yVs3B6ef). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Author](#author)
- [Acknowledgments](#acknowledgments)
## Overview
### The challenge
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page
### Screenshot

### Links
- [Solution](https://your-solution-url.com)
- [Live](https://github.com/ikennarichard/sunnyside-agency-landing-page/settings/pages)
## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- [SaSS](https://sass-lang.com)
- [BootStrap](https://getbootstrap.com)
### What I learned
I learn't some of the basic features of css frameworks SaSS and Bootstrap.
### Continued development
I will keep pratcing and learning the core features of these frameworks, to understand it usefulness on different area of the development process.
## Author
- Website - [ikennarichard](https://ikennarichard.netlify.app)
- Frontend Mentor - [@ikennarichard](https://www.frontendmentor.io/profile/ikennarichard)
- Twitter - [@ikennarichard_](https://www.twitter.com/ikennarichard_)
## Acknowledgments
My deepest appreciation goes to all my friends at Frontend Mentor, you guys are awesome 😺. | Sunny side landing page is a Frontend Mentor project built with SaSS, BootStrap and JavaScript | bootstrap,frontend-mentor,javascript | 2023-03-05T22:51:02Z | 2023-03-06T11:44:21Z | null | 1 | 0 | 23 | 0 | 0 | 5 | null | null | Sass |
luizcalaca/js-jwt-joi-api | main | ## Javascript + JWT + Joi + Custom Error Middleware + API
| JS + JWT + Joi + API | api,javascript,joi,joi-validation,jwt,jwt-authentication,jwt-token,middleware,error-handling,observability | 2023-03-03T03:04:17Z | 2023-03-03T03:03:43Z | null | 1 | 1 | 1 | 0 | 0 | 5 | null | null | JavaScript |
vitor-nogueira-dev/food-restaurant | main |
## Projeto Restaurante Food 🧑🏼🍳🍴

----
---
📝 Proposta: Reproduzir uma landing page de um restaurante com seções para pratos, cardápio, promoções, feedbacks, funcionários, contatos e newsletter. Acompanhando um protótipo desenvolvido pelo design [Jonas Nunes](https://www.linkedin.com/in/jonas-nunes-a30b57138/) atráves do figma.
----
#### Navegue aqui 🧑🏼🍳 [Restaurante Food](https://food-restaurante-vn.netlify.app/) ✅
----
### 💡 Conhecimentos aplicados:
- Design de interface
- Desenvolvimento web (HTML, CSS e JavaScript)
- Responsividade 📱
- UX (User Experience)
- Animações com a lib AOS
---
### 🔗 Linkedin [@vitornogueira](https://www.linkedin.com/in/vitor-noqueira-dev/) ✅
---
| Delivery food | css3,html,javascript,responsive-design | 2023-03-01T15:57:37Z | 2023-03-01T16:44:19Z | null | 1 | 0 | 4 | 0 | 0 | 5 | null | null | CSS |
ahilke/js-crap-score | main | # CRAP Score
[](https://badge.fury.io/js/crap-score)
Use CRAP to estimate and visualize the change risk of your JS/TS project.
- [Example](#example)
- [What is CRAP?](#what-is-crap)
- [How to Use](#how-to-use)
- [Jest Reporter](#jest-reporter)
- [CLI](#cli)
- [API](#api)
- [istanbul JSON Coverage Report](#istanbul-json-coverage-report)
- [Contributing](#contributing)
## Example
The HTML CRAP report of the project itself can be found under <https://ahilke.github.io/js-crap-score/>.
## What is CRAP?
The CRAP score is a measure of the risk of a function ranging from 1 (best) to infinity (worst). It uses complexity and coverage information to give an estimate how likely it is that a function contains bugs or breaks with future changes.
CRAP is an acronym for Change Risk Anti-Patterns and is computed as follows: $comp^2 \cdot (1 - cov)^3 + comp$, where `comp` is the cyclomatic complexity of the function and `cov` is the statement coverage as number between 0 (no coverage) and 1 (fully covered).
A common guideline is to address functions with a CRAP score above 30 by either adding additional tests or refactoring the function to reduce complexity. This translates to simple functions with complexity 5 or lower not requiring any test coverage, while a function with complexity over 30 always requires refactoring.
## How to Use
This package provides multiple ways to generate and collect information about coverage, complexity and CRAP for each function within your project. It generates both a human-readable HTML report and a JSON report for further processing.
Usage Options:
- run it together with your tests by adding it to your [jest configuration](#jest-reporter)
- run it from the [command line](#cli)
- integrate it into your [own program](#api)
### Jest Reporter
Add `crap-score` as [test reporter](https://jestjs.io/docs/configuration#reporters-arraymodulename--modulename-options) to jest.
When `jest` is run with coverage enabled, this will also generate a CRAP report. Example for `jest.config.json`:
```json
"reporters": ["default", "crap-score"]
```
The reporter also accepts options, for example:
```json
"reporters": [
"default",
[
"crap-score",
{
"jsonReportFile": "crap.json",
}
]
]
```
A typed interface for the reporter options is available via `import type { ReporterOptions } from "crap-score";`.
Available options:
| Option | Description |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| jsonReportFile | Specifies path where the JSON report will be written to. Defaults to `crap-report/crap-report.json`. Pass `false` to disable JSON report. |
| htmlReportDir | Specifies path where the HTML report will be written to. Defaults to `crap-report/html/`. Pass `false` to disable HTML report. |
| log | Changes log behaviour. `"silent"` suppresses all logs. `"debug"` prints additional logs. |
### CLI
Install the package (or use it directly via npx), then just run `npx crap <path-to-coverage>`.
The command expects an istanbul JSON coverage report as input (see [JSON Coverage Report](#istanbul-json-coverage-report)) and generates both an HTML and a JSON report in the `crap-report` folder, containing the CRAP score of each function in the original istanbul report.
```sh
crap --help
```
### API
#### ESM
```ts
import { getCrapReport, CrapReport } from "crap-score";
const report: CrapReport = await getCrapReport({
testCoverage: "./coverage/coverage-final.json",
});
```
#### CommonJS
To use the library API in a CommonJS project, you will need to use dynamic `import` statements as this is a ESM library:
```ts
async function main() {
const { getCrapReport } = await import("crap-score");
const report = await getCrapReport({
testCoverage: "./coverage/coverage-final.json",
});
}
```
If you are using TypeScript, make sure to have `"moduleResolution": "node16"` to avoid `import` being transformed into `require`. If that is not an option, you can work around it via `eval`:
```ts
async function main() {
const { getCrapReport } = await eval("import('crap-score')");
const report = await getCrapReport({
testCoverage: "./coverage/coverage-final.json",
});
}
```
### istanbul JSON Coverage Report
If you are using `jest`, you can generate an istanbul JSON coverage report by adding `collectCoverage: true` and `coverageReporters: ["json"]` to your configuration. This will generate a JSON report under `coverage-final.json`.
Make sure to also review other configuration related to coverage, especially `collectCoverageFrom`. This allows you to include files in your report even if they are not covered. This is important, since any uncovered function in your project may have a very high CRAP score.
## Contributing
Got any feedback? I'm eager to hear it! Please open an issue or send me an email.
If you want to contribute code, please read [CONTRIBUTING.md](./CONTRIBUTING.md) first.
| Calculate and visualize the CRAP score of a JS/TS project using the provided `jest` integration, CLI, or API. | crap-score,code-quality,cyclomatic-complexity,javascript,test-coverage,typescript | 2023-03-07T20:43:04Z | 2023-11-11T17:06:56Z | 2023-05-20T13:59:06Z | 1 | 78 | 172 | 0 | 0 | 5 | null | MIT | TypeScript |
yavuzyigitmuhammetali/MERN-Instagram-Clone | master | <br/>
<p align="center">
<a href="https://github.com/yavuzyigitmuhammetali/MERN-Instagram-Clone">
<img src="https://cdn2.iconfinder.com/data/icons/social-media-2285/512/1_Instagram_colored_svg_1-512.png" alt="Logo" width="80" height="80">
</a>
<h3 align="center">MERN-Instagram-Clone</h3>
<p align="center">
<a href="https://github.com/yavuzyigitmuhammetali/MERN-Instagram-Clone"><strong>Explore the docs »</strong></a>
<br/>
<br/>
<a href="https://github.com/yavuzyigitmuhammetali/MERN-Instagram-Clone">View Demo</a>
.
<a href="https://github.com/yavuzyigitmuhammetali/MERN-Instagram-Clone/issues">Report Bug</a>
.
<a href="https://github.com/yavuzyigitmuhammetali/MERN-Instagram-Clone/issues">Request Feature</a>
</p>
    
#### !The project is still under development!
## About The Project
"During my second week of web programming, I started a project with the sole purpose of improving myself. I would greatly appreciate any feedback on my mistakes and areas where I need improvement. Thank you in advance."




## Authors
* **yavuzyigitmuhammetali** - *extreme beginner web designer* - [yavuzyigitmuhammetali](https://github.com/yavuzyigitmuhammetali) - **
| "During my second week of web programming, I started a project with the sole purpose of improving myself. I would greatly appreciate any feedback on my mistakes and areas where I need improvement. Thank you in advance." | clone-app,clone-website,express,instagram,instagram-clone,instagram-clone-react,mern-stack,node,react,react-clone-app | 2023-03-08T15:33:24Z | 2023-03-22T22:40:16Z | null | 1 | 0 | 12 | 0 | 5 | 5 | null | null | JavaScript |
ayangweb/bob-plugin-free-iciba-translate | master | # 爱词霸翻译
## 无需秘钥,可以直接在 bob 中进行工作,如果有一天它不工作了,请联系我进行修复!
> src 文件夹主要为 bob 用户开发,bob 是一款 macOS 上的翻译软件,官网地址:[bob](https://bobtranslate.com/)
>
> 插件下载地址:[bob-plugin-free-iciba-translate-v0.0.4.bobplugin](https://github.com/bilibili-ayang/bob-plugin-free-iciba-translate/releases/download/v0.0.4/bob-plugin-free-iciba-translate.bobplugin)
> server 文件夹是 node.js 服务器,可以自行改造后在任意场景下使用!
### bob 插件大合集:
> [chatGPT 插件(免秘钥,免翻)](https://github.com/bilibili-ayang/bob-plugin-free-chatgpt)
> [必应翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-bing-translate)
> [百度翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-baidu-translate)
> [小牛翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-calf-translate)
> [阿里翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-ali-translate)
> [搜狗翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-sougou-translate)
> [计算器插件](https://github.com/bilibili-ayang/bob-plugin-calculator)
> [爱词霸翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-iciba-translate)
### 使用截图如下:
<img width="500" src="./image/zh-to-en.png" alt="zh-to-en">
<img width="500" src="./image/en-to-zh.png" alt="en-to-zh">
| 爱词霸翻译,无需秘钥,可以直接在 bob 中进行工作,如果有一天它不工作了,请联系我进行修复! | bobplugin,javascript | 2023-02-28T13:20:13Z | 2024-04-23T03:24:55Z | 2024-04-23T03:24:08Z | 1 | 0 | 15 | 0 | 0 | 5 | null | null | JavaScript |
shotit/shotit-api | main | # Shotit-api
[](https://github.com/shotit/shotit-api/blob/master/LICENSE)
[](https://github.com/shotit/shotit-api/actions)
[](https://codecov.io/gh/shotit/shotit-api)
[](https://hub.docker.com/r/lesliewong007/shotit-api)
[](https://hub.docker.com/r/lesliewong007/shotit-api)
The ultimate brain of [shotit](https://github.com/shotit/shotit), in charge of task coordination.
### Features
- serve image search request
- crop black borders on search images
- rate limiting and user management
- serve index and database status
- store and serve compressed hash files
- distribute hash jobs to workers
### Prerequisites
- Node.js 16.x, 18.x
- mariaDB 10.4.x
- redis
- [liresolr](https://github.com/Leslie-Wong-H/liresolr)
- [milvus-standalone](https://github.com/milvus-io/milvus)
- [milvus-minio](https://github.com/milvus-io/milvus)
- [milvus-etcd](https://github.com/milvus-io/etcd)
- [shotit-searcher](https://github.com/shotit/shotit-worker)
- [shotit-sorter(optional)](https://github.com/shotit/shotit-sorter)
- g++, cmake (if you need to compile OpenCV)
### Local Development Guide
Install:
```
git clone https://github.com/shotit/shotit-api.git
cd shotit-api
yarn install
```
Install Prerequisites by docker compose first, [docker-desktop](https://www.docker.com/products/docker-desktop/) required:
- Copy `.env.example` to `.env`
- Edit `.env` as appropriate for your setup, as is for the first time.
- Copy `milvus.yaml.example` to `milvus.yaml`
- Edit `milvus.yaml` as appropriate for your setup, as is for the first time.
```
(Windows or Mac):
docker compose up -d
(Linux):
docker-compose up -d
```
### Start server
You can use [pm2](https://pm2.keymetrics.io/) to run this in background in cluster mode.
Use below commands to start / restart / stop / log server.
```
yarn start
yarn stop
yarn reload
yarn restart
yarn delete
yarn logs
```
To change the number of nodejs instances, edit ecosystem.config.json
| The ultimate brain of Shotit, in charge of task coordination. | anns,approximate-nearest-neighbor-search,distributed,embedding-similarity,faiss,image-search,javascript,liresolr,nearest-neighbor-search,node | 2023-02-26T16:58:11Z | 2023-10-30T03:22:01Z | 2023-08-11T00:49:25Z | 3 | 100 | 874 | 0 | 1 | 5 | null | Apache-2.0 | JavaScript |
ITurres/hitch-packing-thumb-website | main | <div align="center">
<a href="https://cs50.harvard.edu/x/2023/" target="_blank">
<img alt="cs50 logo" src="readme-src/media/thisiscs50.png" width="200">
</a>
</div>
<h1 align="center">Hitch Packing Thumb - Website</h1>
<p align="center"><a target="_blank" href="https://cs50.harvard.edu/x/2023/psets/8/homepage/"><strong style="color: darkRed">cs50's</strong></a> simple website project. (week-08-html-css-bootstrap-javascript)</p>
---
| cs50's simple website project. (week-08-html-css-bootstrap-javascript) | css3,es6,html5,javascript | 2023-03-07T19:40:40Z | 2023-03-09T23:48:07Z | null | 1 | 0 | 36 | 0 | 0 | 5 | null | null | HTML |
ViktorSvertoka/goit-js-hw-10 | main | **Read in other languages: [Українська](README.md), [English](README.en.md).**
# Критерії приймання
- Створено репозиторій `goit-js-hw-10`.
- Домашня робота містить два посилання: на вихідні файли і робочу сторінку на
`GitHub Pages`.
- В консолі відсутні помилки і попередження під час відкриття живої сторінки
завдання.
- Проект зібраний за допомогою
[parcel-project-template](https://github.com/goitacademy/parcel-project-template).
- Код відформатований за допомогою `Prettier`.
## Стартові файли
У [папці src](./src) знайдеш стартові файли. Скопіюй їх собі у проект, повністю
замінивши папку `src` в
[parcel-project-template](https://github.com/goitacademy/parcel-project-template).
Для цього завантаж увесь цей репозиторій як архів або використовуй
[сервіс DownGit](https://downgit.github.io/) для завантаження окремої папки з
репозиторія.
## Завдання - пошук країн
Створи фронтенд частину програми пошуку даних про країну за її частковою або
повною назвою. Подивися
[демо-відео](https://user-images.githubusercontent.com/17479434/131147741-7700e8c5-8744-4eea-8a8e-1c3d4635248a.mp4)
роботи програми.
### HTTP-запит
Використовуй публічний API [Rest Countries v2](https://restcountries.com/), а
саме [ресурс name](https://restcountries.com/#api-endpoints-v3-name), який
повертає масив об'єктів країн, що задовольнили критерій пошуку. Додай мінімальне
оформлення елементів інтерфейсу.
Напиши функцію `fetchCountries(name)`, яка робить HTTP-запит на
[ресурс name](https://restcountries.com/#api-endpoints-v3-name) і повертає
проміс з масивом країн - результатом запиту. Винеси її в окремий файл
`fetchCountries.js` і зроби іменований експорт.
### Фільтрація полів
У відповіді від бекенду повертаються об'єкти, велика частина властивостей яких,
тобі не знадобиться. Щоб скоротити обсяг переданих даних, додай рядок параметрів
запиту - таким чином цей бекенд реалізує фільтрацію полів. Ознайомся з
[документацією синтаксису фільтрів](https://restcountries.com/#filter-response).
Тобі потрібні тільки наступні властивості:
- `name.official` - повна назва країни
- `capital` - столиця
- `population` - населення
- `flags.svg` - посилання на зображення прапора
- `languages` - масив мов
### Поле пошуку
Назву країни для пошуку користувач вводить у текстове поле `input#search-box`.
HTTP-запити виконуються при введенні назви країни, тобто на події `input`. Але
робити запит з кожним натисканням клавіші не можна, оскільки одночасно буде
багато запитів і вони будуть виконуватися в непередбачуваному порядку.
Необхідно застосувати прийом `Debounce` на обробнику події і робити HTTP-запит
через `300мс` після того, як користувач перестав вводити текст. Використовуй
пакет [lodash.debounce](https://www.npmjs.com/package/lodash.debounce).
Якщо користувач повністю очищає поле пошуку, то HTTP-запит не виконується, а
розмітка списку країн або інформації про країну зникає.
Виконай санітизацію введеного рядка методом `trim()`, це вирішить проблему, коли
в полі введення тільки пробіли, або вони є на початку і в кінці рядка.
### Інтерфейс
Якщо у відповіді бекенд повернув більше ніж 10 країн, в інтерфейсі з'являється
повідомлення про те, що назва повинна бути специфічнішою. Для повідомлень
використовуй [бібліотеку notiflix](https://github.com/notiflix/Notiflix#readme)
і виводь такий рядок
`"Too many matches found. Please enter a more specific name."`.

Якщо бекенд повернув від 2-х до 10-и країн, під тестовим полем відображається
список знайдених країн. Кожен елемент списку складається з прапора та назви
країни.

Якщо результат запиту - це масив з однією країною, в інтерфейсі відображається
розмітка картки з даними про країну: прапор, назва, столиця, населення і мови.

> ⚠️ Достатньо, щоб застосунок працював для більшості країн. Деякі країни, як-от
> `Sudan`, можуть створювати проблеми, оскільки назва країни є частиною назви
> іншої країни - `South Sudan`. Не потрібно турбуватися про ці винятки.
### Обробка помилки
Якщо користувач ввів назву країни, якої не існує, бекенд поверне не порожній
масив, а помилку зі статус кодом `404` - не знайдено. Якщо це не обробити, то
користувач ніколи не дізнається про те, що пошук не дав результатів. Додай
повідомлення `"Oops, there is no country with that name"` у разі помилки,
використовуючи
[бібліотеку notiflix](https://github.com/notiflix/Notiflix#readme).

> ⚠️ Не забувай про те, що `fetch` не вважає 404 помилкою, тому необхідно явно
> відхилити проміс, щоб можна було зловити і обробити помилку.
---
# Parcel template
Этот проект был создан при помощи Parcel. Для знакомства и настройки
дополнительных возможностей [обратись к документации](https://parceljs.org/).
## Подготовка нового проекта
1. Убедись что на компьютере установлена LTS-версия Node.js.
[Скачай и установи](https://nodejs.org/en/) её если необходимо.
2. Склонируй этот репозиторий.
3. Измени имя папки с `parcel-project-template` на имя своего проекта.
4. Создай новый пустой репозиторий на GitHub.
5. Открой проект в VSCode, запусти терминал и свяжи проект с GitHub-репозиторием
[по инструкции](https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories#changing-a-remote-repositorys-url).
6. Установи зависимости проекта в терминале командой `npm install` .
7. Запусти режим разработки, выполнив команду `npm start`.
8. Перейди в браузере по адресу [http://localhost:1234](http://localhost:1234).
Эта страница будет автоматически перезагружаться после сохранения изменений в
файлах проекта.
## Файлы и папки
- Все паршалы файлов стилей должны лежать в папке `src/sass` и импортироваться в
файлы стилей страниц. Например, для `index.html` файл стилей называется
`index.scss`.
- Изображения добавляй в папку `src/images`. Сборщик оптимизирует их, но только
при деплое продакшн версии проекта. Все это происходит в облаке, чтобы не
нагружать твой компьютер, так как на слабых машинах это может занять много
времени.
## Деплой
Для настройки деплоя проекта необходимо выполнить несколько дополнительных шагов
по настройке твоего репозитория. Зайди во вкладку `Settings` и в подсекции
`Actions` выбери выбери пункт `General`.

Пролистай страницу до последней секции, в которой убедись что выбраны опции как
на следующем изображении и нажми `Save`. Без этих настроек у сборки будет
недостаточно прав для автоматизации процесса деплоя.

Продакшн версия проекта будет автоматически собираться и деплоиться на GitHub
Pages, в ветку `gh-pages`, каждый раз когда обновляется ветка `main`. Например,
после прямого пуша или принятого пул-реквеста. Для этого необходимо в файле
`package.json` отредактировать поле `homepage` и скрипт `build`, заменив
`your_username` и `your_repo_name` на свои, и отправить изменения на GitHub.
```json
"homepage": "https://your_username.github.io/your_repo_name/",
"scripts": {
"build": "parcel build src/*.html --public-url /your_repo_name/"
},
```
Далее необходимо зайти в настройки GitHub-репозитория (`Settings` > `Pages`) и
выставить раздачу продакшн версии файлов из папки `/root` ветки `gh-pages`, если
это небыло сделано автоматически.

### Статус деплоя
Статус деплоя крайнего коммита отображается иконкой возле его идентификатора.
- **Желтый цвет** - выполняется сборка и деплой проекта.
- **Зеленый цвет** - деплой завершился успешно.
- **Красный цвет** - во время линтинга, сборки или деплоя произошла ошибка.
Более детальную информацию о статусе можно посмотреть кликнув по иконке, и в
выпадающем окне перейти по ссылке `Details`.

### Живая страница
Через какое-то время, обычно пару минут, живую страницу можно будет посмотреть
по адресу указанному в отредактированном свойстве `homepage`. Например, вот
ссылка на живую версию для этого репозитория
[https://goitacademy.github.io/parcel-project-template](https://goitacademy.github.io/parcel-project-template).
Если открывается пустая страница, убедись что во вкладке `Console` нет ошибок
связанных с неправильными путями к CSS и JS файлам проекта (**404**). Скорее
всего у тебя неправильное значение свойства `homepage` или скрипта `build` в
файле `package.json`.
## Как это работает

1. После каждого пуша в ветку `main` GitHub-репозитория, запускается специальный
скрипт (GitHub Action) из файла `.github/workflows/deploy.yml`.
2. Все файлы репозитория копируются на сервер, где проект инициализируется и
проходит сборку перед деплоем.
3. Если все шаги прошли успешно, собранная продакшн версия файлов проекта
отправляется в ветку `gh-pages`. В противном случае, в логе выполнения
скрипта будет указано в чем проблема.
| Home task for JavaScript course📒 ---HTTP Requests and Fetch API--- | css,favicon,gitignore,goit,goit-js-hw-10,html,javascript,json,learning,parcel | 2023-03-04T16:01:08Z | 2023-04-08T08:41:07Z | null | 3 | 15 | 114 | 0 | 0 | 5 | null | null | JavaScript |
G-Dharani-raj/think-mania | main | <h1 align="center" id="title">Think Mania</h1> <h4 align="center">Hackathon Runner-up</h4>
<p align="center"><img src="https://user-images.githubusercontent.com/110104542/224235609-869e241e-e992-478d-acb5-0cc675cd8e48.png" alt="project-image" width="300" height="150/"></p>
<hr/>
## Collaborators-
| Team members | Github-profiles |
| ------ | ------ |
| Chandra Shekhar Joshi | <https://github.com/Shekhar-Joshi07> |
| Dharani Raj | <https://github.com/G-Dharani-raj> |
| Bhavesh Kumar| <https://github.com/bhaveshkumar96> |
| Sudipa | <https://github.com/sudipa06> |
- This is a Guessing game 😁 , You just have to Guess the movie 🎥🎬 name by the emojis shown, it was a collaborative 👭👭 project
- Objective was to build a full stack MERN game application and we have to use Typescript in just ⌚⌛⏳⏲ 48 hours during hackathon event
- About game - You'll be getting 5️⃣ question in total in which you have to guess the movie name and if you know the answer press the buzzer before ⌛ timer gets 0️⃣ if it gets 0️⃣ you'll lose 1️⃣ chance out of 5️⃣ , in just 5️⃣ chance you have to score 6️⃣ or more and you'll be winner if you don't then you'll lose , you have to give right answer to get 2 points for each question , Best of luck ✌
<hr/>
## Starting page or Loader
| Desktop View | Mobile View |
| ------ | ------ |
| <img width="400" height="200" src="https://user-images.githubusercontent.com/110034571/222943591-1c600d4b-2411-4454-bf6e-98ffbb795c21.png"/> | <img width="270" height="200" src="https://user-images.githubusercontent.com/110104542/224225658-80910a85-8099-4b91-9d45-9a67cc79fcca.png"> |
## Welcome page and user detail
| Desktop View | Mobile View |
| ------ | ------ |
| <img width="400" height="200" src="https://user-images.githubusercontent.com/110034571/222943600-a96c68f1-f069-4f5c-80ae-40be3a0ee607.png" /> | <img width="250" height="200" src="https://user-images.githubusercontent.com/110104542/224229557-79b453d0-1a6b-4b5f-b9c2-d425d866962e.png"> |
| <img width="400" height="200" src="https://user-images.githubusercontent.com/110034571/222943608-40b5cc24-3323-4e85-a5fc-ac798a922b89.png" /> | <img width="220" height="200" src="https://user-images.githubusercontent.com/110104542/224230154-3365ba57-687e-4158-9e3c-3d9a7d1e1c94.png"> |
## Rules or Quick intro
| Desktop View | Mobile View |
| ------ | ------ |
| <img width="400" height="200" src="https://user-images.githubusercontent.com/110034571/222943626-2b0c1bfc-0172-4894-bd6a-ffa94759d264.png" /> | <img width="220" height="200" src="https://user-images.githubusercontent.com/110104542/224230650-eec1d4c4-557f-4bcf-8430-ad80b10e6e21.png"> |
## Main Game
| Desktop View | Mobile View |
| ------ | ------ |
| <img width="400" height="200" src="https://user-images.githubusercontent.com/110034571/222943643-5fca9ece-f95e-47e3-bd76-f4eb865a6b0a.png" /> | <img width="220" height="200" src="https://user-images.githubusercontent.com/110104542/224234665-68d749b6-10ca-4385-b56b-1fdcb02e02fa.png"> |
## Win or lose page
| Desktop View | Mobile View |
| ------ | ------ |
| <img width="400" height="200" src="https://user-images.githubusercontent.com/110034571/222943651-9037607b-9572-4428-ae29-1fb8f923a076.png" /> | <img width="240" height="200" src="https://user-images.githubusercontent.com/110104542/224234975-f482b144-58f1-4c9b-b9d2-843a90d50d61.png"> |
| <img width="400" height="200" src="https://user-images.githubusercontent.com/110034571/222943654-9a4bfa04-9844-45ff-b659-fe032fb3664b.png" /> | <img width="270" height="200" src="https://user-images.githubusercontent.com/110104542/224235026-43ec4eeb-6655-43b7-a8dc-b573f532ace0.png"> |
| Think Mania is a TypeScript React web game is a movie guessing game where players must identify movies based on a series of emojis. This game is built using the MERN stack, which includes MongoDB for the database, Express for the server, React for the front-end, and Node.js for the back-end. Chakra UI is used for the front-end design and ui | chakra-ui,expressjs,javascript,mongodb,nodejs,reactjs,typescript | 2023-03-02T10:57:59Z | 2023-03-10T06:03:57Z | null | 4 | 26 | 73 | 0 | 4 | 5 | null | null | TypeScript |
WrathChaos/react-native-tooltip-2 | master | <img alt="React Native Tooltip 2" src="assets/logo.png" width="1050"/>
[](https://github.com/WrathChaos/react-native-tooltip-2)
[](https://github.com/WrathChaos/react-native-tooltip-2)
[](https://www.npmjs.com/package/react-native-tooltip-2)
[](https://www.npmjs.com/package/react-native-tooltip-2)

[](https://opensource.org/licenses/MIT)
[](https://github.com/prettier/prettier)
<p align="center">
<img alt="React Native Tooltip 2"
src="assets/Screenshots/react-native-tooltip-2-email.png" />
<img alt="React Native Tooltip 2"
src="assets/Screenshots/react-native-tooltip-2-password.png" />
</p>
# Installation
Add the dependency:
```bash
npm i react-native-tooltip-2
```
# Usage
## Import
```tsx
import Tooltip from "react-native-tooltip-2";
```
## Fundamental Usage
```tsx
<Tooltip
isVisible={toolTipVisible}
content={<Text>Check this out!</Text>}
placement={Placement.TOP}
onClose={() => setToolTipVisible(false)}>
<Pressable
style={styles.button}
onPress={() => setToolTipVisible(true)}>
<Text>Press me</Text>
</Pressable>
</Tooltip>
```
## Example Project 😍
You can checkout the example project 🥰
Simply run
- `npm i && npx pod-install`
- `react-native run-ios/android`
should work of the example project.
### How it works
The tooltip wraps an element _in place_ in your React Native rendering. When it renders, it measures the location of the element, using React Native's
[measure](https://facebook.github.io/react-native/docs/direct-manipulation.html#measurecallback). When the tooltip is displayed, it renders a _copy_ of the wrapped element positioned absolutely on the screen at the coordinates returned after measuring ([see `TooltipChildrenContext` below](#tooltipchildrencontext) if you need to tell the difference between the _copy_ and the _original_ element). This allows you to touch the element in the tooltip modal rendered above your current screen.
### Props
| Prop name | Type | Default value | Description |
| ---------------- | ---------------- | -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| accessible | bool| true | Set this to `false` if you do not want the root touchable element to be accessible. [See docs on accessible here](https://reactnative.dev/docs/accessibility#accessibility-properties)
| allowChildInteraction | bool| true | By default, the user can touch and interact with the child element. When this prop is false, the user cannot interact with the child element while the tooltip is visible. |
| arrowSize | `Size` | { width: 16, height: 8 } | The dimensions of the arrow on the bubble pointing to the highlighted element |
| backgroundColor | string | 'rgba(0,0,0,0.5)' | Color of the fullscreen background beneath the tooltip. **_Overrides_** the `backgroundStyle` prop |
| childContentSpacing | number | 4 | The distance between the tooltip-rendered child and the arrow pointing to it |
| closeOnChildInteraction | bool | true | When child interaction is allowed, this prop determines if `onClose` should be called when the user interacts with the child element. Default is true (usually means the tooltip will dismiss once the user touches the element highlighted) |
| closeOnContentInteraction | bool | true | this prop determines if `onClose` should be called when the user interacts with the content element. Default is true (usually means the tooltip will dismiss once the user touches the content element) |
| content | function/Element | `<View />` | This is the view displayed in the tooltip popover bubble |
| displayInsets | object | { top: 24, bottom: 24, left: 24, right: 24 } | The number of pixels to inset the tooltip on the screen (think of it like padding). The tooltip bubble should never render outside of these insets, so you may need to adjust your `content` accordingly |
| disableShadow | bool | false | When true, tooltips will not appear elevated. Disabling shadows will remove the warning: `RCTView has a shadow set but cannot calculate shadow efficiently` on IOS devices. |
| isVisible | bool | false | When true, tooltip is displayed | |
| onClose | function | null | Callback fired when the user taps the tooltip background overlay |
| placement | string | "top" \| "center" | Where to position the tooltip - options: `top, bottom, left, right, center`. Default is `top` for tooltips rendered with children Default is `center` for tooltips rendered without children. <br><br>NOTE: `center` is only available with a childless placement, and the content will be centered within the bounds defined by the `displayInsets`. |
| showChildInTooltip | bool | true | Set this to `false` if you do NOT want to display the child alongside the tooltip when the tooltip is visible |
| supportedOrientations | array | ["portrait", "landscape"] | This prop allows you to control the supported orientations the tooltip modal can be displayed. It correlates directly with [the prop for React Native's Modal component](https://facebook.github.io/react-native/docs/modal#supportedorientations) (has no effect if `useReactNativeModal` is false) |
| topAdjustment | number | 0 | Value which provides additional vertical offest for the child element displayed in a tooltip. Commonly set to: `Platform.OS === 'android' ? -StatusBar.currentHeight : 0` due to an issue with React Native's measure function on Android
| horizontalAdjustment | number | 0 | Value which provides additional horizontal offest for the child element displayed in a tooltip. This is useful for adjusting the horizontal positioning of a highlighted child element if needed
| useInteractionManager | bool | false | Set this to true if you want the tooltip to wait to become visible until the callback for `InteractionManager.runAfterInteractions` is executed. Can be useful if you need to wait for navigation transitions to complete, etc. [See docs on InteractionManager here](https://facebook.github.io/react-native/docs/interactionmanager)
| useReactNativeModal | bool| true | By default, this library uses a `<Modal>` component from React Native. If you need to disable this, and simply render an absolutely positioned full-screen view, set `useReactNativeModal={false}`. This is especially useful if you desire to render a Tooltip while you have a different `Modal` rendered.
### Style Props
The tooltip styles should work out-of-the-box for most use cases, however should you need you can customize the styles of the tooltip using these props.
| Prop name | Effect |
| -------------------- | ------------------------------------------------------------------------------- |
| arrowStyle | Styles the triangle that points to the called out element |
| backgroundStyle | Styles the overlay view that sits behind the tooltip, but over the current view |
| childrenWrapperStyle | Styles the view that wraps cloned children |
| contentStyle | Styles the content wrapper that surrounds the `content` element |
| tooltipStyle | Styles the tooltip that wraps the arrow and content elements |
### Class definitions for props
* `Size` is an object with properties: `{ width: number, height: number }`
### TooltipChildrenContext
[React Context](https://reactjs.org/docs/context.html) that can be used to distinguish "real" children rendered inside parent's layout from their copies rendered inside tooltip's modal. The duplicate child rendered in the tooltip modal is wrapped in a Context.Provider which provides object with prop `tooltipDuplicate` set to `true`, so informed decisions may be made, if necessary, based on where the child rendered.
```js
import Tooltip, { TooltipChildrenContext } from 'react-native-walkthrough-tooltip';
...
<Tooltip>
<ComponentA />
<ComponentB>
<TooltipChildrenContext.Consumer>
{({ tooltipDuplicate }) => (
// Will only assign a ref to the original component
<FlatList {...(!tooltipDuplicate && { ref: this.listRef })} />
)}
</TooltipChildrenContext.Consumer>
</ComponentB>
</Tooltip>
```
## Credits
This library is a fork of [react-native-walkthrough-tooltip](https://github.com/jasongaare/react-native-walkthrough-tooltip)
- Full typescript re-written
- Much better types and props
- Better customizability
## Future Plans
- [x] ~~LICENSE~~
- [ ] Code separation rely on **separation of concern(SoC)**
- [ ] Code cleanup and refactoring
- [ ] Better README and documentation
- [ ] Write an article about the lib on Medium
## Author
FreakyCoder, kurayogun@gmail.com
## License
React Native Tooltip 2 is available under the MIT license. See the LICENSE file for more info.
| ✨ Customizable, easy to use tooltip for React Native 🚀 | android,app,apple,application,application-development,development,front-end,google,ios,javascript | 2023-03-08T15:54:57Z | 2023-07-10T20:03:45Z | 2023-03-09T19:45:14Z | 1 | 1 | 9 | 1 | 2 | 5 | null | MIT | TypeScript |
PlopesK/Sonic-R | main | <h1>Sonic-Runners 🌀</h1>
<img src="images/print.jpg" style="width: 100%; max-width:100%; height: auto;" title="Sonic-R website game">
A simple game where you control Sonic and his friends through an infinite stage, is a fan-project created using HTML, CSS and JS, based on the
Dino Game from Chrome. <br><br>
This project was created with love for the Sonic franchise, with no intended monetary values.<br>
I hope I can still update the project with time, adding new playble characters, new stages, even new mechanics!<br>
<h2> 🟦 How to Play 🟦 </h2>
Press any key in your keyboard or click the screen to jump! <br>
Pay attention to enemies position to be sure that you're safe and focus on surpassing your highscore!<br><br>
You can make changes to the game in the Settings menu!<br>
<h2> ⚙️ Settings ⚙️ </h2>
You can acess Settings by pressing the triangle at the top left of the site!<br><br>
<img src="images/print-settings.jpg" style="width: 50%; max-width:50%; height: auto;" title="Settings">
Inside settings you can change musics for Menu, Game and Game Over! And even mute the music/soundeffects if wanted.<br>
Furthermore, you can make changes to the game! Like disabling the bakcground objects and lowering the background speed!<br>
If you're playing on mobile, you can change the screen orientation for a better view! (But it will make the obstacles faster too!)<br>
<h2> 💠 Tips 💠 </h2>
```diff
# You can Double Jump if you press jump 2 times!
# Better not change tab after the game started... You'll lose a life!
```
```diff
# The Double Jump mechanic gives you some invincibility time, so use it when needed!
# Alongside this, the Double Jump let you vulnerable for a short time when used, so be careful!
```
```diff
# You can change the Menu/Game/Game Over music in the settings!
# You can change your character in the 'Select a Character' menu!
```
```diff
# You can't make any changes after starting a game, so be sure when to start!
# On the PC, you can start without having to press the button, just by pressing a key! Both to Start and Restart...
```
<h2> 🌐 Conclusion 🌐 </h2>
I learned a lot developting this project, and had a lot of fun! :) <br>
This project was more like a love letter to the Sonic franchise! So I hope everyone seeing this have fun playing!<br>
<h3>🔷 Take a look at the website here: <a href="https://plopesk.github.io/Sonic-R/"> Sonic Runner </a> 🔷</h3>
<h3>🌐 See more of the production here: <a href="https://plopesk.github.io/Sonic-R/about.html"> About Page </a> 🌐</h3>
<img src="images/sonic.ico" style="width:150px; height: auto;" title="Icon">
| A simple game where you control Sonic and his friends through an infinite stage, just like the dino game from Chrome | sonic-r,endless-runner,html,javascript,sonic,sonic-the-hedgehog,game,css,runner,runner-game | 2023-03-09T19:24:26Z | 2023-07-28T13:57:49Z | null | 1 | 0 | 237 | 3 | 0 | 5 | null | null | JavaScript |
victor-0x29a/linkedin-autobot-network | main | ### LinkedIn Auto-Connection JavaScript Automation
#### Usage
1. Go to the connections tab (/mynetwork).
2. Open the browser console.
3. Paste the code from the *bot.js* file according to your local language and press enter.
#### Additional Information
1. The LinkedIn connect button has an ID called "embed" followed by a number. If the console shows that the button was not found, it's normal, as it's searching within a range.
2. LinkedIn has a weekly limit. When alerted, close and reopen the browser or clear the range.
3. Use the tool responsibly, with an interval of 1 to 2 weeks, as LinkedIn can identify the use of external tools.
| Script to auto-connect in linkedin. | auto,automation,automations,javascript,javascript-automation,linkedin,linkedin-automation | 2023-03-06T15:56:35Z | 2024-02-02T17:57:06Z | null | 2 | 0 | 35 | 0 | 0 | 5 | null | null | JavaScript |
GraceHtet/ChallengeCode-Capstone | dev | <a name="readme-top"></a>
<!--
HOW TO USE:
This is an example of how you may give instructions on setting up your project locally.
Modify this file to match your project and remove sections that don't apply.
REQUIRED SECTIONS:
- Table of Contents
- About the Project
- Built With
- Live Demo
- Getting Started
- Authors
- Future Features
- Contributing
- Show your support
- Acknowledgements
- License
OPTIONAL SECTIONS:
- FAQ
After you're finished please remove all the comments and instructions!
-->
<div align="center">
<img src="./src/assets/img/logoM.svg" alt="logo" width="140" height="auto" />
<br/>
</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)
- [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)
<!-- PROJECT DESCRIPTION -->
# 📖 Challenge Code <a name="about-project"></a>
**Challenge Code** is a web application where you can see upcoming challenges from some sites. You can also go and check to that challenge link.

[Description video](https://www.loom.com/share/770009a2e41f44d8b0da492f471c8a14)
## 🛠 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/">React.js</a></li>
</ul>
</details>
</details>
<!-- Features -->
### Key Features <a name="key-features"></a>
- **User can see sites that will hold challenges**
- **User can see each challenge data by clicking on each site**
- **User can go and check the challenge by clicking on go to challenge**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LIVE DEMO -->
## 🚀 Live Demo <a name="live-demo"></a>
- [Live Demo 🚀](https://challengecode.netlify.app/)
<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.js](https://nodejs.org/en/)
- [npm](https://www.npmjs.com/)
### Setup
Clone this repository to your desired folder:
```sh
git clone git@github.com:GraceHtet/ChallengeCode-Capstone.git
cd ChallengeCode-Capstone
```
### Install
Install this project with:
```sh
npm install
```
### Usage
To run the project, execute the following command:
```sh
npm start
```
### Run tests
To run tests, run the following command:
```sh
npm test
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- AUTHORS -->
## 👥 Authors <a name="authors"></a>
👤 **Grace Htet**
- GitHub: [Grace Htet](https://github.com/GraceHtet)
- LinkedIn: [Grace Htet](https://linkedin.com/in/thirihtethtetaung)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- FUTURE FEATURES -->
## 🔭 Future Features <a name="future-features"></a>
- **Upgrade UI/UX**
<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 it a ⭐️!
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ACKNOWLEDGEMENTS -->
## 🙏 Acknowledgments <a name="acknowledgements"></a>
I would like to thank Microverse and Nelson Sakwa for the template design.
<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>
| Challenge Code is a web application where you can see upcoming challenges from some sites. You can also go and check to that challenge link. | css,javascript,netlify,reactjs,redux-toolkit,unit-testing | 2023-03-11T10:32:51Z | 2023-03-20T05:10:10Z | null | 1 | 2 | 27 | 0 | 0 | 5 | null | MIT | JavaScript |
abel-tefera/jmf-chess | first-milestone | <a name="readme-top"></a>
<div align="center">
<br/>
<h3><b>JMF Chess Tournament 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)
- [Video Presentation](#video-presentation)
- [💻 Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Usage](#usage)
- [Deployment](#triangular_flag_on_post-deployment)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [📝 License](#license)
# 📖 JMF Chess Tournamen <a name="about-project"></a>
> A project for completing module-1. This project is an event website for a chess tournament.
**JMF Chess Tournament** will showcase my skills and accomplishments as a developer.
## 🛠 Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
> The technologies used are HTML/CSS/JS, SCSS and Bootstrap.
<details>
<summary>Client</summary>
<ul>
<li><a href="https://www.w3schools.com/html/">HTML/CSS</a></li>
</ul>
<ul>
<li><a href="https://www.w3schools.com/js/">Javascript</a></li>
</ul>
<ul>
<li><a href="https://www.w3schools.com/">Bootstrap</a></li>
</ul>
<ul>
<li><a href="https://www.w3schools.com/">SCSS</a></li>
</ul>
</details>
<details>
<summary>Server</summary>
<ul>
<li><a href="#">N/A</a></li>
</ul>
</details>
<details>
<summary>Database</summary>
<ul>
<li><a href="#">N/A</a></li>
</ul>
</details>
### Key Features <a name="key-features"></a>
> Key features include:
- **Mobile-First Design**
- **Responsiveness**
- **Pixel-Perfect**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🚀 Live Demo <a name="live-demo"></a>
> Here's the link to my project:
- [JMF Chess Tournament](https://abel-tefera.github.io/jmf-chess/)
## Video Presentation <a name="video-presentation"></a>
Click on this [Loom Video](https://www.loom.com/share/e4d0c283b6684e4e8f596ea5a82bf026) to view the video walkthrough of this project
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 💻 Getting Started <a name="getting-started"></a>
> Steps to run:
To get a local copy up and running, follow these steps.
### Prerequisites
In order to clone and run this project you need:
- A working browser
- Installation of Git
- Internet browser
- Code editor like VS code
- Live dev server plugin on VS code
### Setup
Clone this repository to your desired folder:
- To clone the project, copy the repository and git clone
- Open the folder using VS code
<p align="right">(<a href="#readme-top">back to top</a>)</p>
### Install
Install this project with:
- Add linters to your local workspace by installing the eslint extension on VS code
- Install eslint on node using `npm i -g eslint`
### Usage
To run the project, execute the following commands:
- Run the index.html file using a live server
- Make changes to the HTML/CSS
- See the changes on your browser without refreshing
### Deployment
You can deploy this project using: N/A
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 👥 Authors <a name="authors"></a>
👤 **Author1**
- GitHub: [@abel-tefera](https://github.com/abel-tefera)
- Twitter: [@twitterhandle](https://twitter.com/abelteferabelay)
- LinkedIn: [LinkedIn](https://linkedin.com/in/abel-tefera-b1b625153)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🔭 Future Features <a name="future-features"></a>
- [ ] **Tickets Section**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🤝 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>
## ⭐️ Show your support <a name="support"></a>
If you like this project, please star it.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🙏 Acknowledgments <a name="acknowledgements"></a>
I would like to thank the Microverse community for giving me the opportunity to work on the cirriculum.
Original design idea by [Cindy Shin in Behance](https://www.behance.net/adagio07).
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 📝 License <a name="license"></a>
This project is [MIT](./LICENSE) licensed.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
| Invitation website for International chess tournament. Built for Microverse HTML/CSS capstone. | css3,html,javascript,scss | 2023-03-08T19:24:22Z | 2023-04-04T07:54:16Z | null | 1 | 1 | 77 | 1 | 0 | 5 | null | MIT | JavaScript |
XavierFabregat/ProxyNPM | main | <h1 align="center">
Listen Proxy
</h1>
<section id="badges" align="center">
[](https://github.com/XavierFabregat/ProxyNPM/actions/workflows/node.js.yml)
[](https://npmjs.org/listen-proxy)
<!-- [](https://coveralls.io/github/XavierFabregat/ProxyNPM?branch=main) -->
[](https://github.com//XavierFabregat/blob/master/LICENSE)
<a href="https://github.com/XavierFabregat/ProxyNPM/blob/229236742a0f210399f884745bb056fff194fea1/README.md"><img alt="Coverage: 100%" src="https://img.shields.io/badge/Coverage-100%25-brightgreen.svg" /></a>
----------------
[](https://libraries.io/npm/listen-proxy)
[](https://npmcharts.com/compare/listen-proxy)
[](https://github.com/XavierFabregat/ProxyNPM/stargazers)
[](https://github.com/XavierFabregat/ProxyNPM/fork)
</section>
<br>
<h2><b>What?</b></h2>
<p> This is a utility npm package that allows you to bind a set of callbacks <i>"listeners"</i> to an object, with the <code>createProxy</code> function. Those listeners will be fired when a property is added, deleter or modified.</p>
<p>
The listener methods given have to have a specific name, mainly, given a property in or object named <b>example</b>, you will havee access to 3 methods:
- <b>onExampleAdd</b>: Callback that will be fired when the example property is added.
- <b>onExampleDelete</b>: Callback that will be fired when the example property is deleted.
- <b>onExampleChange</b>: Callback that will be fired when the example property is changed.
</p>
<h2><b>Why?</b></h2>
This package was created because I wanted to test some TS features, credit must be given to [Jack Herrington](https://github.com/jherr), since a video he did about mapped types was the inspiration for this package, I'll leave the video at the bottom of the readme.
<h2><b>How?</b></h2>
<p> To use this package, you have to install it with npm or yarn, and then import it in your project.</p>
```bash
npm install listen-proxy
```
```bash
yarn add listen-proxy
```
```ts
import { createProxy } from "listen-proxy";
```
<p> Once you have imported the package, you can use the <code>createProxy</code> function to create a proxy object, and then bind your listeners to it.</p>
```ts
const dog = {
name: 'Rex',
age: 3,
};
const dogListeners = {
onNameChange: (value, oldValue, target) => {
console.log(`The dog's name changed from ${oldValue} to ${value}`, target);
},
onAgeDelete: (oldValue) => {
console.log(`The dog's age was deleted, his age was ${oldValue}`);
},
onBreedAdd: (value, target) => {
console.log(`The dog's breed was added, his breed is ${value} his name is ${target.name}`);
},
};
const proxyDog = createProxy(dog, dogListeners);
proxyDog.name = 'Rexy'; // The dog's name changed from Rex to Rexy { name: 'Rexy', age: 3 }
delete proxyDog.age; // The dog's age was deleted, his age was 3
proxyDog.breed = 'Labrador'; // The dog's breed was added, his breed is Labrador his name is Rexy
```
<p> As you can see, the <code>createProxy</code> function takes two arguments, the first one is the object you want to bind the listeners to, and the second one is an object containing the listeners.</p>
<p>This project has full TypeScript support, you will find the following type:</p>
```ts
import { Listeners } from "listen-proxy";
```
<p> Which you can use to type your listeners object.</p>
If you find any bugs or errors, please let me know by creating an issue [here](https://github.com/XavierFabregat/ProxyNPM/issues).
And if you want to contribute, please feel free to do so by [opening a PR](https://github.com/XavierFabregat/ProxyNPM/pulls).
----------------
[No Bs Ts video](https://www.youtube.com/watch?v=0-BsmzlMMIw)
| NPM module that fires callbacks on changes of an object. | javascript,npm,proxy,typescript | 2023-02-27T08:27:23Z | 2023-03-01T14:01:27Z | null | 1 | 2 | 58 | 0 | 0 | 5 | null | MIT | HTML |
shubhambhoyar077/leaderboard | development | <a name="readme-top"></a>
<div align="center">
<h1><b>Leaderboard</b></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)
- [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 (OPTIONAL)](#faq)
- [📝 License](#license)
<!-- PROJECT DESCRIPTION -->
# 📖 [Leaderboard] <a name="about-project"></a>
**[Leaderboard]** is created using html, css, js and webpack.
## 🛠 Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
<details>
<summary>Client</summary>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>Javascript</li>
</ul>
</details>
<details>
<summary>Server</summary>
<ul>
<li>N/A</li>
</ul>
</details>
<details>
<summary>Database</summary>
<ul>
<li>N/A</li>
</ul>
</details>
<!-- Features -->
### Key Features <a name="key-features"></a>
- **[Simple Design]**
- **[Using Leaderboard API to store score]**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LIVE DEMO -->
## 🚀 Live Demo <a name="live-demo"></a>
- [Live Demo](https://shubhambhoyar077.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.
### Prerequisites
In order to run this project you need: any web-browser.
### Setup
Clone this [repository](https://github.com/shubhambhoyar077/leaderboard) to your desired folder.
### Install
This project does not require installation.
### Usage
**To run the project follow the following instruction:-**
- Clone this [repository](https://github.com/shubhambhoyar077/leaderboard) in your local machine with correct branch.
- First run **npm install**
- Terminal:- **npm run build** it will create **dist** folder. In that folder you have open index.html in any browser.
- **or** Terminal:- **npm start** it will run on port 8080.
### Run tests
To run tests, open index.html in any web browser.
### Deployment
You can deploy this project using: Project is incomplete.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- AUTHORS -->
## 👥 Authors <a name="authors"></a>
👤 **Shubham Bhoyar**
- GitHub: [@shubhambhoyar077](https://github.com/shubhambhoyar077)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- FUTURE FEATURES -->
## 🔭 Future Features <a name="future-features"></a>
- [ ] **[Support any device resolution]**
- [ ] **[API compatibility]**
- [ ] **[Store score in 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](../../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 give a ⭐️.
<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>
<!-- FAQ (optional) -->
## ❓ FAQ (OPTIONAL) <a name="faq"></a>
- **[Can I use this project for my website?]**
- [It's MIT license, feel free to use as you like.]
<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> | This project registers the score and player name using APIs, and it also displays the top players. | css,html5,javascript | 2023-03-07T07:36:48Z | 2023-03-08T11:43:29Z | null | 1 | 6 | 52 | 1 | 0 | 5 | null | MIT | JavaScript |
t-starkw/jsCafe | main | # JsCafe
### UNC Coding Bootcamp Final Project - Interacting MERN Stack SPA <br><br>
## Table of Contents
- [Our Story](#our-story)
- [Technology Used](#technology-used)
- [Screenshots](#screenshots)
- [Installation](#installation)
- [Usage](#usage)
- [Deployed Application](#deployed-application)
- [Authors](#authors)
- [Contributing](#contributing)
## Our Story
Welcome to JsCafe! Our full-stack web application allows users to view and order a selection of food and drink items from their phone. Users can keep an open tab until they are ready to settle their bill. If the user has an account, the app stores their order history and keeps track of their favorite orders. <br><br><b>MongoDB</b> was used to develop the schemas and server-side functionality of this application.<br><b>Express.js</b> was used for managing servers and routes. <br><b>React</b> was used to develop the UI/UX.<br>This application was built on <b>Node.js</b>. <br><br>
## Technology Used
![JavaScript][js-url]
![HTML][html-url]
![CSS][css-url]
![Mongo][mongo-url]
![Express][express-url]
![React][react-url]
![Node][node-url]
![jswt][jswtoken-url]
![Apollo-GraphQL][apollo-url]
![GraphQL][graphql-url]
![TailwindCSS][tailwindcss-url]
## Screenshots


## Installation
Clone the repository:
```sh
git clone git@github.com:t-starkw/jsCafe.git
```
Install the required dependencies:
```sh
npm install
```
Run the project in your local browser:
```sh
npm run dev
```
## Usage
Do stuff and things
## Deployed Application
You can view the live application
[here](https://js2cafe.herokuapp.com/)
## Authors
### [🎹](https://github.com/ZBerkley88) Zachary Berkley
### [📽️](https://github.com/carter-adrian) Adrian Carter
### [🚗](https://github.com/emreyupoglu) Emre Eyupoglu
### [🎨](https://github.com/smfitz) Sean Fitzpatrick
### [🍓](https://github.com/t-starkw) Tessa Starkweather
### [🦄](https://github.com/kellyfayrishta) Kelly Williams
## Contributing
1. Fork it (<https://github.com/t-starkw/jsCafe/fork>)
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request
<!-- Markdown link & img dfn's -->
[node-url]: https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white
[js-url]: https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black
[html-url]: https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white
[css-url]: https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge&logo=css3&logoColor=white
[python-url]: https://img.shields.io/badge/Python-14354C?style=for-the-badge&logo=python&logoColor=white
[express-url]: https://img.shields.io/badge/Express.js-404D59?style=for-the-badge
[react-url]: https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB
[jquery-url]: https://img.shields.io/badge/jQuery-0769AD?style=for-the-badge&logo=jquery&logoColor=white
[bs-url]: https://img.shields.io/badge/Bootstrap-563D7C?style=for-the-badge&logo=bootstrap&logoColor=white
[tw-url]: https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white
[mongo-url]: https://img.shields.io/badge/MongoDB-4EA94B?style=for-the-badge&logo=mongodb&logoColor=white
[mysql-url]: https://img.shields.io/badge/MySQL-00000F?style=for-the-badge&logo=mysql&logoColor=white
[heroku-url]: https://img.shields.io/badge/Heroku-430098?style=for-the-badge&logo=heroku&logoColor=white
[sqlize-url]: https://img.shields.io/badge/sequelize-323330?style=for-the-badge&logo=sequelize&logoColor=blue
[jswtoken-url]: https://img.shields.io/badge/json%20web%20tokens-323330?style=for-the-badge&logo=json-web-tokens&logoColor=pink
[apollo-url]: https://img.shields.io/badge/-ApolloGraphQL-311C87?style=for-the-badge&logo=apollo-graphql
[graphql-url]: https://img.shields.io/badge/-GraphQL-E10098?style=for-the-badge&logo=graphql&logoColor=white
[tailwindcss-url]: https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white
| An online café service allowing users to order menu items, earn rewards and view favorite orders. | express,javascript,mongodb,nodejs,reactjs | 2023-03-01T01:19:22Z | 2023-03-13T18:31:55Z | null | 6 | 64 | 143 | 0 | 2 | 5 | null | null | JavaScript |
PrinceGoblinTech/custom_stackoverflow_frontend | main | https://user-images.githubusercontent.com/43780137/158059050-481ffa30-e415-4156-aea7-072c817f2ae2.mp4
[](https://shields.io/)
[](https://shields.io/)
[](https://shields.io/)
[](https://shields.io/)
[](https://shields.io/)
### [🌐 Website](https://stackoverflow-clone-client.vercel.app) | [📹 Demo Video](https://www.youtube.com/watch?v=bUAAgfGOfYg)
### API Hosted On
- __[stackoverflow-clone-api.onrender.com](https://stackoverflow-clone-api.onrender.com) (Primary)__
- __[Custom_Stackoverflow_Backend.herokuapp.com](https://Custom_Stackoverflow_Backend.herokuapp.com)__
As the name suggests, this project is a clone of a famous Q/A website for professional and enthusiast programmers built solely by me using a completely different stack.
This repo consists of the Frontend code of the project, the backend code is in __[Custom_Stackoverflow_Backend](https://github.com/JamesRoss222/Custom_Stackoverflow_Backend)__
## My Tech Stack (MERN)
#### Front-end
- Front-end Framework: `React.js (with Redux)`
- Styling: `SASS` and `BOOTSTRAP`
#### Back-end
- For handling index requests: `Node.js with Express.js Framework`
- As Database: `MySQL with Sequelize`
- API tested using: `POSTMAN`
## Guidelines to setup
There are two ways to setup the project: manually or using the Dockerfile. Read below for more details:
### Manual Setup
1. Open your local CLI -
```
mkdir Stackoverflow-Clone
cd Stackoverflow-Clone
```
2. Setup the backend code -
__NOTE:__ For Frontend Developers, if they dont want to setup the Backend Code, they can skip the Step 2, and make sure they follow the optional step mentioned in Step 4
- Create a `.env` file and the format should be as given in `.env.example`.
- Clone the code & install the modules-
```
git clone https://github.com/JamesRoss222/Custom_Stackoverflow_Backend.git
cd Custom_Stackoverflow_Backend
npm install
```
- Open your MySQL Client -
```
CREATE DATABASE stack_overflow;
```
NOTE: Don't forget to keep the database name same in the `.env` and here.
- Run the index `npm start`.
3. Open a new CLI terminal and goto the root `Stackoverflow-Clone` folder you created in the first step.
4. Setup the Frontend code -
- Clone the code & install the modules-
```
git clone https://github.com/JamesRoss222/custom_stackoverflow_frontend.git
cd custom_stackoverflow_frontend
npm install
```
- Run the client index `npm start`.
__OPTIONAL (Recommended For Frontend Developers):__ Can just change the path [here](https://github.com/JamesRoss222/custom_stackoverflow_frontend/blob/53b64c37981c618802547cd17483525532de83f0/src/config/index.js#L6) to this `https://Custom_Stackoverflow_Backend.herokuapp.com`
Now, it will hit PROD
Let me know if you are interested and would want me to assign it to you
### Docker Setup
The back-end has support for Docker. So if you want to run the back-end in a container, you need do:
- Setup environment variables in `.env` file. Note when you use Docker setup and run the database in localhost (host machine), you need to setup the environment variables for use correct IP of MySQL Database. Please, read [here](https://docs.docker.com/compose/environment-variables/) and [here](https://docs.docker.com/desktop/windows/networking/) for more details.
- Build the Docker image:
```
docker build -t stackoverflowclone .
```
- Run the container. For example, if you want to run the container in a new terminal, you can do:
```
docker run -d -p 5000:5000 stackoverflowclone
```
The default port of api is 5000. After running the container, you can access the api by typing:
http://localhost:5000/api/<endpoint that you request - see next section>
_Follow the steps properly (manual or Docker) and you are good to go._
## Contributing
- Go to `Contributing.md`
## DEMO
#### VIDEO - [Watch the video](https://www.youtube.com/watch?v=bUAAgfGOfYg)
_Video Last Updated on 7th March, 2022_
#### IMAGES
<img src="/demo/images/1.png" width=340px /><img src="/demo/images/2.png" width=340px />
<img src="/demo/images/3.png" width=340px /><img src="/demo/images/4.png" width=340px />
<img src="/demo/images/5.png" width=340px /><img src="/demo/images/6.png" width=340px />
<img src="/demo/images/7.png" width=340px /><img src="/demo/images/8.png" width=340px />
<img src="/demo/images/9.png" width=340px /><img src="/demo/images/10.png" width=340px />
<img src="/demo/images/11.png" width=340px /><img src="/demo/images/12.png" width=340px />
| Customized famous Q/A website for developers built using MySQL, Express, React, Node, Sequelize | css,custom,express,javascript,mern-stack,mongodb,mysql,node,react,stack | 2023-03-04T13:47:22Z | 2023-03-04T13:54:08Z | null | 1 | 0 | 1 | 0 | 0 | 5 | null | MIT | JavaScript |
atok624/Leaderboard | master | <a name="readme-top"></a>
<div align="center">
<h3><b>Leaderboard</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)
- [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)
- [📝 License](#license)
<!-- PROJECT DESCRIPTION -->
# 📖 Leaderboard<a name="about-project"></a>
**Leaderboard**
- The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external
## 🛠 Built With <a name="built-with"></a>
- Major Languages: JavaScript.
- CSS Libraries: Bootstrap.
### Tech Stack <a name="tech-stack"></a>
```md
HTML
CSS
JAVASCRIPT
BOOTSTRAP
```
<!-- Features -->
### Key Features <a name="key-features"></a>
``` sh
Submit
Refresh
```
### Future Features <a name="key-features"></a>
``` sh
API Functionality
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🚀 Live Demo <a name="live-demo"></a>
Access the the online version of my application with this link
[Live Demo](https://leaderboard-xzry.onrender.com)
<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 the steps in Setup below.
### Prerequisites
```
Basic knowledge of:
- HTML
- CSS
- JavaScript
```
### Setup
If you have git installed, you can clone the code to your machine, or download a ZIP of all the files directly.
[Download the ZIP from this location](https://codeload.github.com/atok624/Leaderboard/zip/refs/heads/master), or run the following [git](https://git-scm.com/downloads) command to clone the files to your machine:
```sh
cd my-folder
git clone git@github.com:atok624/Capstone_Project1.git
```
## Usage
Run in development mode (Port 3000)
```
npm run start
```
### Build for production
```
npm run build
```
### Run tests
To run tests, run the following command:
```sh
npm test
```
### Linter Tests
- ### To check for html errors run:
```sh
npx hint .
```
- ### To check for css errors run:
```sh
npx stylelint "**/*.{css,scss}"
```
- ### To check for js errors run:
```sh
npx eslint "**/*.{js,jsx}"
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- AUTHORS -->
## 👥 Author <a name="authors"></a>
## 👤Nicholas Kwamena Amissah <a name="authors"></a>
- GitHub: [Nicholas Amissah](https://github.com/atok624)
- Twitter: [Nicholas Amissah](https://twitter.com/MysticalAmissah)
- LinkedIn: [Nicholas Amissah](https://www.linkedin.com/in/nicholas-amissah-153b09154)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- FUTURE FEATURES -->
<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/atok624/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, please give it a star on the main page
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- ACKNOWLEDGEMENTS -->
## 🙏 Acknowledgments <a name="acknowledgements"></a>
I would like to thank the following :
- [ ] Microverse
- [ ] All the Patners I've had for Module.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- LICENSE -->
## 📝 License <a name="license"></a>
This project is [MIT](./MIT.md) licensed.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
| The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external | css-grid-layout,css3,git,html5,javascript | 2023-03-08T10:18:52Z | 2023-05-21T22:59:37Z | null | 1 | 5 | 36 | 2 | 0 | 5 | null | null | CSS |
vividcolors/batonjs | main | # batonjs
batonjs is a declarative UI framework that retrofits dynamism to existing pages.
It retrofits dynamism to the HTML created on the server side, instead of creating it on the client side. By doing so, the following advantages are obtained:
- You just write the dynamic part at a pinpoint in CSS style
- It doesn't own HTML, so you can use it with libraries that modify the DOM, such as jQuery
- As a matter of course, you can choose the server-side language, and the page display speed and SEO are good
batonjs also has the following outstanding characteristics:
- Fast load -- It is small (4kb gzip) so loads fast
- One-stop -- You can create various pages without other libraries
- Easy to introduce -- You don't need to use either Node.js, webpack or Babel, etc.
- Easy to learn -- Just a few own concepts added on top of the web standards
- Easy to maintain -- Just by following the framework, the code will naturally be organized
## Overview
Let's look at batonjs with a simple click-counting example.
```html
<html>
<body>
<p>Count: <span id="count">0</span></p>
<button id="button" type="button">Count Up</button>
</body>
</html>
```
batonjs retrofits UI management to an existing HTML page. So even in this example the HTML is in its complete form.
```javascript
import {baton} from '../asset/baton.esm.js'
const state = {count:0}
function show(state) {
return {
"#count": {
innerText: state.count
}
}
}
document.getElementById('button').addEventListener('click', (ev) => {
withState(state => ({count: state.count + 1}))
})
const withState = baton(state, show, document.body)
```
At line 2, the initial state of the page is defined. This object is used to invoke batonjs in line 13.
The `show` function on line 3 tells batonjs how to reflect the page state in the UI. It takes the latest page state, converts it to a __UI declaration__ and returns it; a UI declaration is an object that represents what the UI should be.
The `#count` in line 5 is the CSS selector and the `innerText` in line 6 is the property name of the DOM element. These two lines certainly tell which property of which DOM element should have what value.
The `withState` function on line 11 is used to update the page state. When the callback function passed to `withState` returns a new page state, `withState` will reflect that state in the UI. Of course, the `show` function is used in the process.
At line 13, we invoke batonjs, which will return `withState` to manage the state we give it.
In this way, batonjs can be used to program dynamic web pages in a manner similar to CSS.
There is [a real working example](https://batonjs.com/en/samples.html?no=1) of this example in [the live samples](https://batonjs.com/en/samples.html). There are many more working live samples included in this repository.
### To Lean More
batonjs offers a variety of functionalities, including property update observation, support for CSS transitions, adding/removing DOM elements, and lifecycle management, defining components. You can combine these features to create dynamic web pages.
See [official documentation](https://batonjs.com/en/) for details.
## Installation
### From CDN
Installation of batonjs is not required; loading it from CDN is recommended as it is easier.
You can also download it from CDN in advance and deploy it on your own server.
ES Module format
```html
<script type="module">
import {baton} from 'https://cdn.jsdelivr.net/npm/@vividcolors/batonjs/asset/baton.esm.js'
</script>
```
UMD format
```html
<script src="https://cdn.jsdelivr.net/npm/@vividcolors/batonjs/asset/baton.umd.js"></script>
<script>
const baton = batonjs.baton
</script>
```
### From npm
If you install with npm, there is room for bundling and tree shaking.
```shell
$ npm install @vividcolors/batonjs
```
ES Module format
```javascript
import {baton} from '@vividcolors/batonjs'
```
CommonJS format
```javascript
const {baton} = require('@vividcolors/batonjs')
```
## Runtime Requirements
- Chrome, latest
- Edge, latest
- Firefox, latest
- Chrome for Android, latest
- iOS Safari, latest
- Node.js, v14 or greater
## License
MIT
| A declarative UI framework that retrofits dynamism to existing pages | declarative-ui,framework,javascript,web,webapp | 2023-03-07T06:26:50Z | 2023-05-02T05:21:18Z | null | 1 | 0 | 130 | 0 | 0 | 4 | null | MIT | JavaScript |
ReApptor/ReApptor.TypeScript.PagedList | main | 
# ReApptor TypeScript PagedList
It is a complete, fully tested pagination library for splitting the array into pages and selecting a specific page by an index.
It includes an `IPagedList` interface, a `PagedList` container, and an array `toPagedList` extension written in [TypeScript](https://www.typescriptlang.org/).
## Installation
Install from the command line:
```npm
npm install @reapptor/ts-paged-list
```
Install via package.json:
```npm
"@reapptor/ts-paged-list": "^1.*"
```
## Usage
Add `import "@reapptor/ts-paged-list";` into the main project file (i.e. index.ts) to register extensions.
Use array extension `toPagedList` to select the page a specific page by page index and size, for example: `[1,2,3,4,5].toPagedList(1, 2)`.
See more:
- [`IPagedList` interface description](#IPagedList).
- [`ToPagedList` extension description](#ToPagedList).
- [Some examples](#Examples)
## License
The ReApptor TypeScript PagedList package is licensed under the terms of the [MIT license](https://raw.githubusercontent.com/ReApptor/ReApptor.TypeScript.PagedList/main/LICENSE.md) and is available for free.
## Testing
The code is <b>100%</b> covered by the JEST tests.\
The generated coverage result is here:\
[Coverage Summary](https://raw.githubusercontent.com/ReApptor/ReApptor.TypeScript.PagedList/main/coverage/coverage-summary.json)
## Links
- [Overview](https://reapptor.github.io/ReApptor.TypeScript.PagedList/)
- [Source code](https://github.com/ReApptor/ReApptor.TypeScript.PagedList)
- [Package (GitHub)](https://github.com/ReApptor/ReApptor.TypeScript.PagedList/pkgs/npm/ts-paged-list)
- [Package (NPM)](https://www.npmjs.com/package/@reapptor/ts-paged-list)
- [Discussions](https://github.com/ReApptor/ReApptor.TypeScript.PagedList/discussions)
- [About ReApptor](https://www.reapptor.com)
- [ReApptor on GitHub](https://github.com/ReApptor)
- [ReApptor in LinkedIn](https://www.linkedin.com/company/reapptor/)
## Other projects
- [ReApptor.TypeScript.Linq](https://reapptor.github.io/ReApptor.TypeScript.Linq/)
[<small>@reapptor/ts-linq</small>](https://github.com/ReApptor/ReApptor.TypeScript.Linq/pkgs/npm/ts-linq)\
<small>It is a complete, fully tested analog of C# Language-Integrated Query (LINQ) written in TypeScript.</small>
## IPagedList
Represents a subset of input items that can be individually accessed by index and\
contains metadata about the superset collection of objects this subset was created from.
```typescript
export default interface IPagedList<out T = {}> {
/**
* The page items.
*/
readonly items: readonly T[];
/**
* The one-based page index is in the superset.
*/
readonly pageNumber: number;
/**
* The maximum size of any page.
*/
readonly pageSize: number;
/**
* The total number of pages within the superset
*/
readonly pageCount: number;
/**
* The total number of elements contained within the superset.
*/
readonly totalItemCount: number;
/**
* Returns true if the page number is higher than 1, showing that the subset is not the first within the superset.
*/
readonly hasPreviousPage: boolean;
/**
* Returns true if the page number is less than the page count, showing that the subset is not the latest within the superset.
*/
readonly hasNextPage: boolean;
/**
* Returns true if the page number is 1, showing that the subset is the first within the superset.
*/
readonly isFirstPage: boolean;
/**
* Returns true if the page number equals the page count, showing that the subset is the last within the superset.
*/
readonly isLastPage: boolean;
/**
* The zero-based index of the first item in the paged subset within the superset.
*/
readonly firstItemIndex: number;
/**
* The zero-based index of the last item in the paged subset within the superset.
*/
readonly lastItemIndex: number;
}
```
## Array extension functions
### ToPagedList
Splits the input superset collection into pages (subsets) and returns the specific page (subset) by an index.
```typescript
/**
* Splits the input superset collection into pages (subsets) and returns the specific page (subset) by an index.
* @param pageNumber - The page index is in the superset starting from 1.
* @param pageSize - The maximum size of any page.
* @returns IPagedList<T> - An IPagedList<T> object object that contains the specified subset and metadata about the input superset collection of objects this subset was created from.
*/
toPagedList(pageNumber: number, pageSize: number): IPagedList<T>;
```
#### Examples
###### Example #1
Selecting the second page from an array of numbers with page size 2.
```typescript
const input: number[] = [1, 2, 3, 4, 5];
const page: IPagedList<number> = input.toPagedList(2, 2);
console.log(`page #${page.pageNumber} from ${page.pageCount}`);
console.log(`page items [${page.items}] from [${input}]`);
console.log("");
console.log("pageSize = ", page.pageSize);
console.log("totalItemCount = ", page.totalItemCount);
console.log("hasPreviousPage = ", page.hasPreviousPage);
console.log("hasNextPage = ", page.hasNextPage);
console.log("isFirstPage = ", page.isFirstPage);
console.log("isLastPage = ", page.isLastPage);
console.log("firstItemIndex = ", page.firstItemIndex);
console.log("lastItemIndex = ", page.lastItemIndex);
```
#### Code produces the following output:
```
page 2/3
page items = [ 3, 4 ] from [ 1, 2, 3, 4, 5 ]
pageSize = 2
totalItemCount = 5
hasPreviousPage = true
hasNextPage = true
isFirstPage = false
isLastPage = false
firstItemIndex = 2
lastItemIndex = 3
```
###### Example #2
The initializing of the empty page.
```typescript
const page: IPagedList = [].toPagedList(1, 100);
console.log(`page #${page.pageNumber} from ${page.pageCount}`);
console.log(`page items [${page.items}] from []`);
console.log("");
console.log("pageSize = ", page.pageSize);
console.log("totalItemCount = ", page.totalItemCount);
console.log("hasPreviousPage = ", page.hasPreviousPage);
console.log("hasNextPage = ", page.hasNextPage);
console.log("isFirstPage = ", page.isFirstPage);
console.log("isLastPage = ", page.isLastPage);
console.log("firstItemIndex = ", page.firstItemIndex);
console.log("lastItemIndex = ", page.lastItemIndex);
```
#### Code produces the following output:
```
page 1/1
page items = [] from []
pageSize = 100
totalItemCount = 0
hasPreviousPage = false
hasNextPage = false
isFirstPage = true
isLastPage = true
firstItemIndex = 0
lastItemIndex = 0
```
## Hashtags
#pagedlist #paged-list #ts-paged-list #pagination #ts #typescript #npm #github | PagedList is a package for splitting the array into pages and selecting a specific "page" by an index. | javascript,pagedlist,pagination,ts,typescript,paged-list,ts-paged-list | 2023-03-03T15:03:44Z | 2023-04-01T13:43:23Z | null | 3 | 0 | 29 | 0 | 0 | 4 | null | MIT | TypeScript |
SarathAdhi/Mastering-Frontend | main | # Mastering Frontend
Learn [What is Frontend and Backend?](https://www.geeksforgeeks.org/frontend-vs-backend/)
## How to learn efficiently?
- Create a daily routine.
- Prepare a timetable.
- Spend time on doing some `Projects`. Don't just learn the concepts.
## <a name ="01"></a>1. __Introduction__
[What is Internet?](https://roadmap.sh/guides/what-is-internet)
- [How does the Internet work?](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/How_does_the_Internet_work)
- [What is HTTP?](https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview)
- [What is DNS? | How DNS works](https://www.cloudflare.com/en-gb/learning/dns/what-is-dns/)
## <a name ="02"></a>2. __Frontend Basics__
### 2.1. HTML
- [W3Schools: Learn HTML](https://www.w3schools.com/html)
- [HTML For Beginners](https://html.com/)
### 2.2. CSS
- [W3Schools](https://www.w3schools.com/css)
- [Learn Intermediate CSS](https://www.codecademy.com/learn/learn-intermediate-css)
- [Responsive Web Design - Media Queries](https://www.w3schools.com/css/css_rwd_mediaqueries.asp)
### 2.3. JavaScript
- [W3Schools](https://www.w3schools.com/js)
- [The Modern JavaScript Tutorial](https://javascript.info/)
- [You Don't Know JS Yet](https://github.com/getify/You-Dont-Know-JS)
- [Modern JavaScript](https://www.w3schools.com/js/js_es6.asp)
### Some more useful links:
- [SEO Basics](https://developers.google.com/search/docs)
- [8 Must-Know SEO Best Practices For Developers](https://neilpatel.com/blog/seo-developers/)
- [Learn and Practice Flexbox](https://flexboxfroggy.com/)
- [Learn CSS Grid](https://cssgrid.io/)
- [Responsive Web Design](https://www.w3schools.com/css/css_rwd_intro.asp)
- [Learn Responsive Design](https://web.dev/learn/design/)
- [Absolute, Relative, Fixed Positioning: How Do They Differ?](https://css-tricks.com/absolute-relative-fixed-positioining-how-do-they-differ/)
- [DOM Manipulation](https://javascript.info/dom-nodes)
- [JavaScript HTML DOM](https://www.w3schools.com/js/js_htmldom.asp)
- [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
- JavaScript Concepts
- [Hoisting](https://developer.mozilla.org/en-US/docs/Glossary/Hoisting)
- [Bubbling and capturing](https://javascript.info/bubbling-and-capturing)
- [Var, Let, and Const – What's the Difference?](https://www.freecodecamp.org/news/var-let-and-const-whats-the-difference/)
## <a name ="03"></a>3. __Frontend Intermediate__
### 3.1. Package Manager
- [NPM](https://github.com/workshopper/how-to-npm)
- [Yarn](https://classic.yarnpkg.com/en/docs/getting-started)
### 3.2. [React](https://reactjs.org/)
- [Introduction JSX](https://reactjs.org/docs/introducing-jsx.html)
- [React Component](https://reactjs.org/docs/react-component.html)
- [State and Props](https://stackoverflow.com/questions/27991366/what-is-the-difference-between-state-and-props-in-react)
- Adding Styles
- [Functional and Class components](https://www.robinwieruch.de/react-component-types/)
- Virtual DOM
- [React Hooks](https://reactjs.org/docs/hooks-intro.html)
- Custom Hooks
- [Context API](https://reactjs.org/docs/context.html)
- [Routing](https://reactrouter.com/en/main/start/overview)
- Server-Side Rendering
- State Management Library [Zustand](https://github.com/pmndrs/zustand), [Recoil](https://recoiljs.org/)
### 3.3. UI Libraries for Styling
- [TailwindCSS](https://tailwindcss.com/)
- [MUI](https://mui.com/material-ui/getting-started/installation/)
- [Chakra UI](https://chakra-ui.com/getting-started)
- [Styled Components](https://styled-components.com/)
### 3.4. Frameworks
- [NextJS](https://nextjs.org/)
- [Vue](https://vuejs.org/)
- [Svelte](https://svelte.dev/)
### 3.5. API Calls
- [Axios](https://axios-http.com/docs/intro)
- [React-Query](https://github.com/TanStack/query)
- [SWR](https://swr.vercel.app/)
### 3.6. Learn [TypeScript](https://www.typescriptlang.org/)
## <a name ="04"></a>4. __Frontend Advance__
- [Advancing React Hooks](https://www.freecodecamp.org/news/code-react-hooks/)
- React Development Tools
- [Error Boundaries](https://blog.logrocket.com/react-error-handling-react-error-boundary/)
- Higher Order Components
- Optimization
- [Code Splitting](https://www.geeksforgeeks.org/code-splitting-in-react/)
- [Caching](https://css-tricks.com/render-caching-for-react/)
- Testing
- [Cypress](https://www.cypress.io/)
- [Playwright](https://playwright.dev/)
## Courses
1. [The Complete 2023 Web Development Bootcamp by Angela Yu](https://www.udemy.com/share/101qYw3@NMg21Qe1cIydsuiNgWmjGIUn0kc_4Oysx7n_k7ALF2R7OgGutLQx5t-U98bxnUuqCw==/)
2. [Frontend Web Developer 21-Hour Bootcamp](https://www.freecodecamp.org/news/frontend-web-developer-bootcamp/)
3. [React Course - Beginner's Tutorial for React JavaScript Library [2022]](https://www.youtube.com/watch?v=bMknfKXIFA8)
| Learn quickly and become a Frontend Master. | front-end-development,frontend,frontend-mentor,frontend-webdevelopment,javascript,learning,learnweb,reactjs,webdevelopment,mastering-frontend | 2023-02-26T02:25:23Z | 2023-03-02T12:17:56Z | null | 1 | 0 | 13 | 0 | 0 | 4 | null | MIT | null |
HanaSabih/space-travelers-hub | main | # 📗 Table of Contents
- [📗 Table of Contents](#-table-of-contents)
- [📖 Awesome books ](#-awesome-books-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [🚀 Live Demo ](#-live-demo-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [👥 Author ](#-author-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)
# 📖 Space Travelers' Hub <a name="about-project"></a>
**Space Travelers' Hub** Single Page Application which displays lists of Rockets and Missions with information from the SpaceX API. It allows a user to make reservations for rockets or join missions. Said rockets and missions are then displayed in the MyProfile page.
## 🛠 Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
HTML | CSS | JS | ES6 | React
### Key Features <a name="key-features"></a>
- **[join & leave missions]**
- **[reserve rocket & cancle reservation]**
- **[React Router Dom]**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🚀 Live Demo <a name="live-demo"></a>
- [Live Demo](https://hana-sabih-space-travelers-hub.netlify.app/)
## 💻 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 GitHub | A code editor | A web browser
### Install
Install all project dependencies by running the command below
`$ npm install`
And run `npm start` to launch the project.
### Setup
Clone this repository to your desired folder:
`git clone https://github.com/HanaSabih/space-travelers-hub`
### Usage
To run the project, run `npm start` to run the project
## 👥 Author <a name="author"></a>
👤 **Huzaifa khan**
- GitHub: [@huzaifakhan0308](https://github.com/huzaifakhan0308)
- Twitter: [@huzaifakhan0308](https://twitter.com/home?lang=en)
- LinkedIn: [huzaifa khan](https://www.linkedin.com/in/huzaifa-khan-938140256/)
👤 **Hana Sabih**
- GitHub: [@HanaSabih](https://github.com/HanaSabih)
- Twitter: [@SabihHana](https://twitter.com/SabihHana)
- LinkedIn: [Hana Sabih](https://www.linkedin.com/in/hana-sabih/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🔭 Future Features <a name="future-features"></a>
- **[login form]**
- **[more styles changes]**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🤝 Contributing <a name="contributing"></a>
Feel free to check [issues page](https://github.com/HanaSabih/space-travelers-hub/issues).
## 🙏 Acknowledgments <a name="acknowledgements"></a>
Thanks Microverse, learn how to code > [Join Microverse](https://www.microverse.org/?grsf=9m3hq6)
## 📝 License <a name="license"></a>
This project is [MIT](./LICENSE) Licensed.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
| Single Page Application which displays lists of Rockets and Missions with information from the SpaceX API. It allows a user to make reservations for rockets or join missions. Said rockets and missions are then displayed in the MyProfile page. | react,bootstrap,css,javascript,redux,testing | 2023-03-05T09:02:23Z | 2023-03-11T05:39:22Z | null | 2 | 13 | 41 | 0 | 0 | 4 | null | MIT | JavaScript |
AbdusSattar-70/Testing-practice | master | # Testing-practice
In this exercise repo, I wrote a few practical tests for JavaScript functions using the Jest library and followed the AAA pattern to make my tests easier for other developers to read and understand. I also used the TDD approach in practice.
| In this exercise repo, I wrote a few practical tests for JavaScript functions using the Jest library and followed the AAA pattern to make my tests easier for other developers to read and understand. I also used the TDD approach in practice. | javascript | 2023-03-07T09:42:51Z | 2023-03-07T15:17:04Z | null | 1 | 1 | 3 | 0 | 0 | 4 | null | MIT | HTML |
jp-quintana/mern-note-app | main | # MERN Note App
Note app built with MERN stack. Currently WIP.
App's design is a clone of https://www.notion.so/.
## App Preview
https://github.com/jp-quintana/mern-note-app/assets/87621233/10b92abc-03c0-4932-a213-aa3b375f3c80
## Features
- Create, Edit, Duplicate and Delete notes.
- Basic note customization.
- Note list reorder.
- Basic JWT auth.
- DAO layer setup in server.
## Future additions
Check issues tab.
## Installation
- Step 1: Clone Repository and Install Packages.
```
git clone https://github.com/jp-quintana/mern-note-app.git
npm i
npm run setup
```
- Step 2: Set Up a MongoDB Cluster.
- Step 3: Create .env file and add in server directory.
```
MONGO_URI="Cluster connection string. Can not be left empty."
PORT="Default is 8080 if left empty."
DAO_OPTION="Currently MONGOOSE is only option available. It is also the default option if left empty."
JWT_SECRET="Can not be left empty."
```
- Step 4: Create .env.local file and add in client directory.
```
VITE_API_URL='http://localhost:8080'
```
- Step 5: Start the development server.
```
npm run dev
```
## Authors
- [@jp-quintana](https://github.com/jp-quintana)
| Note app built with MERN stack. Currently WIP. App's design is a clone of https://www.notion.so/. | express,full-stack,javascript,mern,mongodb,mongoose,node,nodejs,note,notes-app | 2023-03-06T02:51:05Z | 2023-06-03T08:47:08Z | null | 1 | 11 | 122 | 2 | 0 | 4 | null | null | JavaScript |
mrunal0502/Spotify-clone- | main | # Spotify-clone-
Cloned a popular music stream app "Spotify" using HTML, CSS and Javascript
With Flexbox using CSS also created a grid of cards and aligned them, and transitions to them using effects such hover, focus and activate that makes the play button pop-up
Here's how the output looks like-

| Cloned a popular music stream app "Spotify" using HTML, CSS and Javascript | html-css-javascript,spotify-clone,css,flexbox-css,html,javascript,music,spotify,transition | 2023-03-01T16:58:30Z | 2023-03-06T17:01:29Z | null | 1 | 0 | 14 | 1 | 4 | 4 | null | null | HTML |
Hisoka37/Leaderboard | dev |
# Leaderboard
<a name="readme-top"></a>
# 📗 Table of Contents
- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [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)
- [📝 License](#license)
# 📖 LeaderBoard <a name="about-project"></a>
Solo programming project that highlights the use of Webpack to bundle JavaScript, ES6 syntax, API, callbacks and promise.
## 🛠 Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
HTML5 and css3 which are the latest versions and JavaScript were used in this project.
<details>
<summary>Client</summary>
<ul>
<li><a href="">JavaScript(ES6)</a></li>
<li><a href="">Css</a></li>
<li><a href="">HTML</a></li>
</ul>
</details>
### Key Features <a name="key-features"></a>
- leaderboard built with HTML CSS and javascript
- Dynamically loading with javascript.
- Apply module bundler (Webpack).
<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://hisoka37.github.io/Leaderboard/)
<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.
### Install
Install this project with:
1. Installed Git.
2. Create a local directory that you want to clone the repository.
3. Open the command prompt in the created directory.
4. On the terminal run this command git clone <https://github.com/Hisoka37/Leaderboard.git>
5. Run ``` npm i --save-dev ``` to Install the dev dependencies
### Usage
To run the project, execute the following command:
``` npm run build ```
### Run tests
To run tests, run the following command:
``` npm run test ```
### Deployment
You can deploy this project using:
``` npm run deploy ```
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- AUTHORS -->
## 👥 Authors <a name="authors"></a>
👤 **Walid Kabboussa**
- GitHub: [@Hisoka37](https://github.com/Hisoka37)
- Twitter: [@KBwalid9](https://twitter.com/KBwalid9)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/walidkb/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- FUTURE FEATURES -->
## 🔭 Future Features <a name="future-features"></a>
- [ ] **add Score to the table. via API.**
- [ ] **Implement some awesome animations and transitions or use React later**
- [ ] **Integrate back-end.**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🤝 Contributing <a name="contributing"></a>
Contributions, issues, and feature requests are welcome!
Feel free to open a Github issues.
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 kindly send to me an e-mail expressing it, it would make my day and fuel my motivation.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🙏 Acknowledgments <a name="acknowledgements"></a>
I would like to thank Microverse team for this journey.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 📝 License <a name="license"></a>
This project is [MIT](./LICENSE) licensed.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
| The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to an external API service | api-rest,css,gitflow,html5,javascript | 2023-03-07T11:07:16Z | 2023-04-13T22:25:49Z | null | 1 | 3 | 20 | 0 | 0 | 4 | null | MIT | CSS |
abrehan2/Food-App | main | # Food-App
<b>Greetings, fellow developers! I have designed an interactive web app incorporating recommended industrial practices to sell burgers. I have not focused much on the UI; rather, the sole purpose was to incorporate various functionalities.</b>
# Project Overview
<b>The following aspects are the primary focus of the project:</b>
<ol>
<b>
<li>Integrated a payment method using Braintree</li>
<li>Incorporated passport-oauth to enable users to sign up via Google</li>
<li>Generates real-time email responses based on the customer feedback</li>
</b>
</ol>
# Project Prerequisites
<ol>
<b>
<li>React.js</li>
<li>Chakra UI</li>
<li>Chart.js</li>
<li>Node.js</li>
<li>Express.js</li>
<li>MongoDB</li>
<li>REST API</li>
</b>
</ol>
# Install Dependencies
<b>`Front-end: cd client --> npm install`</b> <br><br>
<b>`Back-end: cd server --> npm install`</b>
# Environment Variables
<b>Please make sure to create a `config.env` file in the `config` directory at the back-end and incorporate the following variables:</b>
<ol>
<b>
<li>PORT</li>
<li>MONGO_URI</li>
<li>GOOGLE_CLIENT_ID</li>
<li>GOOGLE_CLIENT_SECRET</li>
<li>GOOGLE_CALLBACK_URL</li>
<li>FRONTEND_URL</li>
<li>SESSION_SECRET</li>
<li>MERCHANT_ID</li>
<li>PUBLIC_KEY</li>
<li>PRIVATE_KEY</li>
<li>SMPT_SERVICE</li>
<li>SMPT_MAIL</li>
<li>SMPT_PASSWORD</li>
<li>SMPT_HOST</li>
<li>SMPT_PORT</li>
</b>
</ol>
<br>
<div align="center">
<h3>Show some ❤️ by starring the repository!</h3>
</div>
| null | css,html,bootstrap,chakra-ui,chartjs,expressjs,javascript,mern-stack,mongodb,nodejs | 2023-03-10T15:19:16Z | 2023-08-29T13:55:25Z | null | 1 | 0 | 40 | 0 | 0 | 4 | null | null | JavaScript |
yasharusakov/automatic_passing_of_test | master | # What is it
We shall not tell... yet)
___
# Installing
## Windows: *not yet... probably*
## Mac OS: *never*
## Arch/Manjaro:
```
sudo pacman -S geckodriver
```
## Debian Ubuntu Linux mint: *not yet... probably*
## Installing packages
In root project's write this:
```
npm i
```
or
```
npm install
```
## Set up support Tor
### Download Tor network
#### Windows: *not yet... probably*
#### Debian Ubuntu Linux Mint: *not yet... probably*
#### Arch/Manjaro:
```
sudo pacman -S tor
```
Open terminal, launch this command `vi /etc/tor/torrc` and write it in there:
```
SocksPort 9050
SocksPort 9052
SocksPort 9053
SocksPort 9054
```
___
# Usage
## Run program:
```
npm start
```
## Run program with Tor:
Open two terminals, in one of them launch: `sudo tor`, in second:
```
npm run tor
```
___
## Appendix
[**Authors**](./Authors)
[**License**](./LICENSE)
| This program was made to not waste time on passing the test manually for school | javascript,nodejs,selenium,open-source | 2023-03-02T15:59:12Z | 2023-11-13T21:19:22Z | 2023-08-18T23:38:30Z | 2 | 4 | 54 | 1 | 0 | 4 | null | Apache-2.0 | JavaScript |
renchester/cv-generator | main | ## The Odin Project
# Project: CV Generator
[**Live version** of the site can be found here](https://renchester.github.io/cv-generator/)
This CV Generator is a web application that allows users to create professional-looking CV's with ease. It is perfect for job seekers who want to stand out from the crowd and showcase their skills, experience, and achievements. Simply fill out the form in the app and the CV will be updated instantly.
Features:
1. User-friendly interface that makes it easy to create a custom CV
2. Add and edit sections such as personal information, education background, work experience, skills, and achievements--with an option to include custom sections
3. Preview your CV at any time to make sure it looks presentable and fitting to your needs
4. Responsive design that allows you to create a CV even through your phone
### Built With
- Vite + React
- HTML5
- Sass
### Getting Started
In order to setup and work on this project on your own, you will need to:
1. Clone this project:
`git clone https://github.com/renchester/cv-generator.git`
2. Once you have cloned this project, you can install the required dependencies by using:
`npm install`
3. A live demo of the project can be started by using:
`npm run preview`
4. Distribution files can be produced using:
`npm run build`
### Deployed on GitHub Pages
Deployed on [GitHub Pages](https://pages.github.com/)
### Display

CV Generator on dark mode

CV Generator on light mode
---
Developed by **Renchester Ramos**
| A CV generator web application that allows you to create a custom CV on the go. Built with Vite + React, Sass | react,sass,cv-generator,cv-website,javascript,odin-project | 2023-03-03T19:54:50Z | 2023-12-11T02:10:25Z | null | 2 | 1 | 67 | 0 | 3 | 4 | null | null | JavaScript |
aidenkoog/aidenkoog.github.io | master | ### My portfolio website
- This website showcases my career.
- Website is based on llie's lecture.
### Release Note
- 2023/02/14: Deleted previous source code / Added meta code.
- 2023/02/14: (2nd) Initialize project (HEAD + related files)
- 2023/02/15: (1st) Added navbar + items / Added template homepage sections.(empty)
- 2023/02/15: (2nd) Added home section items (profile, introduction messages)
- 2023/02/15: (3rd) Added section named 'about me'.
- 2023/02/15: (4th) Added my skillset information.
- 2023/02/15: (5th) Added work related information.
- 2023/02/15: (6th) Added testimonials section.
- 2023/02/15: (7th) Added contact point section.
- 2023/02/15: (8th) Changed etc skills section.
- 2023/02/15: (9th) Added global style css setup.
- 2023/02/15: (10th) Added CSS typography.
- 2023/02/15: (11th) Applied navigation bar css.
- 2023/02/15: (12th) Applied home CSS style.
- 2023/02/16: (1st) Added about-me section's CSS style.
- 2023/02/16: (2nd) Added skill-set section's CSS style.
- 2023/02/16: (3rd) Added work project section's CSS style.
- 2023/02/16: (4th) Added award & testimonials section's CSS style.
- 2023/02/16: (5th) Added contact section's CSS style.
- 2023/02/16: (6th) Customized work items / hover effect.
- 2023/02/21: Applied media query for various screen.
- 2023/02/22: (1st) Changed main logo image.
- 2023/02/22: (2nd) Fix window scrollY mistake (scrollY() --> scrollY)
- 2023/02/22: (3rd) Applied dynamic effect to navigation bar.
- 2023/02/22: (4th) Added logic to navigate to the corresponding section when a navigation bar item is clicked.
- 2023/02/22: (5th) Added logic to navigate to contact section when contact button on home section is pressed.
- 2023/02/22: (6th) Added logic to make home contents transparent when page is scrolled from top of page.
- 2023/02/22: (7th) Added arrow up button.
- 2023/02/24: Added animation occurred when pressing project / Added project tab click event.
- 2023/02/24 : Deleted static active option.
- 2023/02/24 : Applied media query for small screen size to navigation bar.
- 2023/02/24 : Updated entire component's attributes.
- 2023/02/24 : Fixed navigation html errors.
- 2023/02/24 : Fixed project's count icon position issue. / Changed background image.
- 2023/02/24 : Changed work related contents.
- 2023/02/24 : Set top margin of section (Not corresponding to mobile screen)
- 2023/02/24 : Update my skills content.
- 2023/02/24 : Applied dynamic selection about navigation bar.
- 2023/03/11 : Added another styled home page source files.
- 2023/03/11 : Deleted macOS related files (unused files) / Added .gitignore.
- 2023/04/26 : Updated portfolio webpage content / files
- 2023/04/29 : Updated resume links
- 2023/05/02 : Added new project links
- 2023/05/17 : Updated my portfolio items
- 2023/05/17 : Fixed issue that my project items are NOT shown properly.
- 2023/05/17 : Update my project item png images.
- 2023/05/18 : Added Flutter new project description.
- 2023/05/23 : Added TIL (Today I Learn) project to my project list.
- 2023/11/12 : Updated my career information.
- 2024/02/10 : Added new repository for 2024 dev toy projects.
#### Link:
- My Projects
- https://github.com/aidenkoog/awesome-hello-world
- https://github.com/aidenkoog/awesome-til-today-i-learned
- https://github.com/aidenkoog/awesome-programming-practice
- https://github.com/aidenkoog/awesome-app-architecture
- https://github.com/aidenkoog/aidenkoog.github.io
If you are interested in information about me or other activities, please access the link below.
| **Page** | **LINK** |
| --------------- | ---------------------------------------------------- |
| **Github page** | [https://aidenkoog.github.io/] |
| **LinkedIn** | [https://www.linkedin.com/in/dongwan-koo-2041bb13b/] |
| (My portfolio) portfolio website about me | css,homepage,html,html-css-javascript,javascript,website,vanila-javascript | 2023-02-27T01:47:55Z | 2024-02-12T01:45:46Z | null | 1 | 0 | 50 | 0 | 0 | 4 | null | null | HTML |
abinth11/StyleSwap | master | `StyleSwap`
StyleSwap is a e-commerce app built with Node.js, Express,Redis and MongoDB. It allows users to browse and purchase products online.
# Frameworks and libraries used
Node.js Express - used to build the entire backend
Redis - used to cache the data for better performace(build on top of mongodb)
Mongodb - MongoDB native driver is used as the database
Handlebars - is used as the template engine
jQuery - is used to build few parts of the front end & making api calls via ajax
Chart.js - for drawing charts and graphs
Font awesome & Line awesome - for icons
# Third pary modules & api's used
Cloudinary - for storing images in the cloud
Razorpay - payment gateway
Paypal - payment gateway
Redis - is a no sql database, that can be used to cache the data to improve the perfomance of the applications(it is built on top of mongoDB)
Multer - for sending multiple images to the server
Twilio - for managing messages(otp )
Cron - is a npm package that can be used to run query on a particular time
You can check the package.json to get more details about the packages used with version
`Installation`
To run this app locally, follow these steps:
Clone the repository: git clone https://github.com/abinth11/Ecommerce-app
Install Node.js and MongoDB if you haven't already.
Install dependencies: npm install
Create a .env file in the root directory and set the following environment variables:
MONGODB_URI - the URI for your MongoDB database
SECRET_KEY - a secret key for encrypting session data
Start the server: npm start
| This is a online shopping application powered by a stack of powerful technologies. It leverages Node.js and Express for the server-side logic, ensuring speedy and reliable performance. MongoDB, a NoSQL database, stores and manages product data efficiently, while HBS (Handlebars) templating engine allows for dynamic and | express,handlebars,javascript,jquery,mongodb,nodejs,redis,ecommerce-application,ecommerce-website,mvc | 2023-02-28T04:23:42Z | 2023-09-27T13:12:10Z | null | 1 | 14 | 129 | 0 | 0 | 4 | null | null | Handlebars |
neobrains/website | main | # Neobrains
Source code for the official website of Neobrains ( http://neobrains.dev/ ).
## Installation
```
npm install
```
```
npm run dev
```
And that's all you need to do! Contributions are welcome.
## Credits
Thanks to Hyperplexed for the card hover glow effect.
| Source code for https://neobrains.dev | css,html,javascript,js,tailwindcss,website,neobrains | 2023-03-08T13:02:53Z | 2023-06-23T16:09:12Z | null | 8 | 1 | 70 | 0 | 0 | 4 | null | MIT | Astro |
Victor23HD/OliveiraBookstore | main | # OliveiraBookstore / v2.0(BigBrother)
Esse projeto de estudo tem como objetivo a demonstração dos meus conhecimentos de Express e MongoDB Atlas. As próximas versões terão uma interface aprimorada para o usuário final.
## Novidades da versão *BigBrother*
### @_Controllers_utilizando_boas_praticas!
Ao estudar documentações, compreendi que, embora não seja tecnicamente incorreto, o uso de classes em JavaScript não é considerado uma boa prática. É recomendável evitar o uso de classes e adotar a abordagem mais tradicional de protótipos para a definição de objetos.
### @_Adicionando_resiliência_na_API
Na versão Snowball, criei todas as contas utilizando o Path to Success. Na segunda versão, aprimorei o feedback para o usuário em caso de erros, incluindo tratamento de erros simples, como o retorno de um livro não encontrado.
### @_Middleware_de_erro
No início do meu trabalho de tratamento de erros, eu percebi que poderia tratar erros de tipos que ocorrem em 2 modelos diferentes, reutilizando o código e, ao mesmo tempo, mantendo o código limpo e organizado.
### @_Validação_de_dados
No início dos meus testes com banco de dados, percebi que era possível registrar livros ou autores passando um JSON completamente vazio. A partir desse momento, comecei a trabalhar na validação de dados para garantir que apenas informações relevantes e válidas fossem registradas no banco de dados.
### @_Implementação_de_paginação
Ao pensar na experiência do usuário, comecei a considerar o padrão de visualização de produtos utilizado pelo mercado. Realizei estudos e iniciei o trabalho para tornar a experiência dos usuários da Livraria Oliveira mais familiar e agradável.
<hr>
## Instalação
Após a instalação do projeto, conecte o mongoose a uma coleção do MongoDB Atlas.
```console
npm install
```
## Conexão do MongoDB Atlas
Crie um arquivo .env no **./src** crie uma variável MONGO_URL e passe uma string de conexão MongoDB Atlas, caso tenha alguma dúvida siga o vídeo abaixo.
> https://www.youtube.com/watch?v=4nO0BERnkc0
## Scripts
```console
npm run dev
```
Este script executa o `nodemon` no arquivo `server.js` que inicia toda a aplicação possibilitando o **live server**.
## API
Após executar o script `npm run dev` abra o *Postman* e teste as rotas abaixo!
> **index.js > bookRoute.js**
<table>
<thead>
<tr>
<th> bookRouter </th>
<th>URL</th>
<th>Descrição</th>
</tr>
</thead>
<tbody>
<tr>
<td> GET </td>
<td> http://localhost:3000/books </td>
<td> { bookController.js > async listBooks() } <br> Lista todos os livros da coleção, populando o campo Author. </td>
</tr>
<tr>
<td> GET </td>
<td> http://localhost:3000/books/find?publisher=publisherName</td>
<td> { bookController.js > async findByPublisher() } <br> Lista todos os livros da coleção que contém a editora indicado. </td>
</tr>
<tr>
<td> POST </td>
<td> http://localhost:3000/books</td>
<td> { bookController.js > async registerBook() } <br> Registra o livro passado no body utilizando a Model.books como base. </td>
</tr>
<tr>
<td> PUT </td>
<td> http://localhost:3000/books/:id</td>
<td> { bookController.js > async updateBook() } <br> Atualiza livro passado na URL como "/id", utilizando o body. </td>
</tr>
<tr>
<td> DELETE </td>
<td> http://localhost:3000/books/:id</td>
<td> { bookController.js > async deleteBook() } <br> Deleta o livro passado na URL como "/id". </td>
</tr>
</tbody>
</table>
> **index.js > authorRoute.js**
<table>
<thead>
<tr>
<th> authorRouter </th>
<th>URL</th>
<th>Descrição</th>
</tr>
</thead>
<tbody>
<tr>
<td> GET </td>
<td> http://localhost:3000/authors </td>
<td> { authorsController.js > async listAuthor() } <br> Lista todos os autores da coleção. </td>
</tr>
<tr>
<td> GET </td>
<td> http://localhost:3000/authors/:id </td>
<td> { authorsController.js > async listAuthorById() } <br> Lista o author do "/id" passado na URL. </td>
</tr>
<tr>
<td> POST </td>
<td> http://localhost:3000/authors </td>
<td> { authorsController.js > registerAuthor() } <br> Registra o autor passado no body utilizando a Model.authors como base. </td>
</tr>
<tr>
<td> PUT </td>
<td> http://localhost:3000/authors/:id </td>
<td> { authorsController.js > async updateAuthor() } <br> Atualiza autor passado na URL como "/id", utilizando o body. </td>
</tr>
<tr>
<td> DELETE </td>
<td> http://localhost:3000/books/:id</td>
<td> { authorsController.js > async deleteAuthor() } <br> Deleta o autor passado na URL como "/id". </td>
</tr>
</tbody>
</table>
## Sobre o Projeto
Esse projeto foi desenvolvido com o objetivo de entender como utilizar o MongoDB e Express. A estrutura dos arquivos e códigos pode não estar perfeita, mas foi feito o melhor possível para que tudo funcione. Caso você tenha alguma sugestão, `fique a vontade para abrir uma issue no repositório ou entre em contato através do meu LinkedIn`: https://www.linkedin.com/in/victor23hd/
## Tecnologias Utilizadas
* Node.js
* API Rest
* Middleware de erros
* Express fremework
* MongoDB Atlas / Mongoose
* Postman
| This project was developed with the goal of understanding how to use MongoDB and Express. | mongodb,nodejs,javascript | 2023-03-09T20:02:09Z | 2023-04-16T23:22:22Z | 2023-04-16T23:22:22Z | 2 | 10 | 23 | 0 | 0 | 4 | null | null | JavaScript |
akashsaravanan007/MERN_OTP_APP | master | # MERN_OTP_APP
Complete MERN Stack application with OTP Verification, JWT Token, Authentication, Reset Password
| Complete MERN Stack application with OTP Verification, JWT Token, Authentication, Reset Password | axios,bcrypt,cors,css3,expressjs,formik,html5,javascript,jwt-decode,mongodb | 2023-03-06T17:09:57Z | 2023-03-07T05:15:36Z | null | 1 | 0 | 6 | 0 | 1 | 4 | null | null | JavaScript |
Wallpapers-Projects-ABER/HitoriBocchi | main | <div align = "center">

# Hitori Bocchi - [Bocchi the Rock! - ぼっち・ざ・ろっく!]
###### Hitori bocchi [ぼっち・ざ・ろっく! - Bocchi the Rock!]
###### Bocchi the rock
###### ぼっちざろっく!
###### 孤独摇滚
------------------
#### You can use this as wallpaper in "Wallpaper Engine"
#### Download :
https://steamcommunity.com/sharedfiles/filedetails/?id=2945142270
</br></br>

#### Preview :
https://Wallpapers-Projects-ABER.github.io/HitoriBocchi/
</br>
##### Time responsive
##### click bocchi to interact
##### PC/Mobile available
</div>
| Hitori Bocchi - (Day/Night) [Bocchi the Rock! - ぼっち・ざ・ろっく!] on Wallpaper Engine | animation,anime,bocchi,bocchi-the-rock,css,html,interatctive-art,javascript,wallpaper,wallpaper-engine | 2023-03-01T11:16:23Z | 2023-09-02T00:56:27Z | null | 1 | 0 | 34 | 0 | 0 | 4 | null | null | JavaScript |
jayk-gupta/Frontend-Resources | main | ### Frontend-Resources
This is an open-source project to help Frontend developers make their road easy to become a top developer.
### How to Contribute
1. Fork the repository first (Click the Fork button in the top right of this page,
click your Profile Image)
2. Clone the forked repository to your local machine.
```markdown
git clone https://github.com/jayk-gupta/Frontend-Resources
```
3. change the present working directory
```markdown
cd Frontend-Resources
```
4. Make changes in the project. Add, Commit and Push the project using following commands:
> Create a Branch
```markdown
git checkout -b <name of the branch>
```
- Make the changes
> Add all files
```markdown
git add .
```
> Commit the changes
```markdown
git commit -m "Write Your commit Message"
```
> Push the branch
```markdown
git push
```
OR
```markdown
git push origin branch-name
```
> Make Pull Request from Github Repository
Star the repository.
Pull requests are welcome.
Feel free to add the resources you know for learning front-end.
### Note
- Make Sure you commit your changes in a new branch.
- Make Sure you Give proper name to your files describing the addition.
- Also Make Sure you comment your code wherever necessary.
## For Contributors
Add your details in `Contributors.md` file
# License
[MIT](https://github.com/jayk-gupta/Frontend-Resources/blob/main/LICENSE)
| Resources for learning frontend development | html,css,frontend-resource,good-first-issue,javascript,learning,open-source,resource | 2023-03-10T17:40:26Z | 2023-03-14T04:27:33Z | null | 2 | 1 | 11 | 0 | 1 | 4 | null | MIT | HTML |
mithunsen04/Trivago.in_Clone | main | # Trivago.in_Clone
ABOUT :-
Trivago is a metasearch engine that compares accommodation prices and offers provided by many different online booking sites.
Search :-
Start by searching for a city, a specific hotel, or even a landmark! Indicate your dates of stay, the number of rooms and travelers, the accommodation type.
Compare:-
Compare millions of accommodations and deals. Apply filters to narrow your results like breakfast included, free cancellation, car park. You can use the map to search in specific areas.
Contributors:-
1) MOHIB KHAN
2) RUTUJ GOPALE
3) MITHUN KUMAR SEN
4) SUMANTH UR
5) MD.GHUFRAN
## Deployed Link https://majestic-paletas-0904b9.netlify.app/index.html
Login page

create password

forget password

reset password

HomePage

Destinations

search bar

Booking page

Booking OTP sent on real email

Pay Now - go to payment page

Payment page

Payment OTP

Payment Done

| Trivago.in clone: A comprehensive online platform for comparing and booking hotels, offering a seamless and efficient travel planning experience. | bootstrap,css,html,javascript,telwind-css | 2023-03-06T21:19:56Z | 2023-03-12T17:28:36Z | null | 5 | 5 | 53 | 0 | 1 | 4 | null | null | JavaScript |
Ali-Sdg90/Quick-Math | main | <h1>Quick Math</h1>
<p>
Quick Math is a fun math game that asks the user three math questions per
game. user must answer them correctly to move on to the next question. The
game gives the user lives, and if they lose all three lives in one question,
they lose the game.
</p>
<img src="Assets/1.png" alt="Quick-Math-img" style="height: 300px" />
<img src="Assets/2.png" alt="Quick-Math-img" style="height: 300px" />
<h2>Features</h2>
<ul>
<li>Three math questions per game</li>
<li>Three lives per questions</li>
<li>Time tracking for each question and the overall game</li>
<li>Cube interface with rotating sides for each question</li>
<li>
Customizable settings, including an option to show the answers in input
placeholders and change the app's theme
</li>
<li>Ready button to start the timer and skip the initial ready screen</li>
<li>Local storage to save user settings</li>
</ul>
<h2>Demo</h2>
<p>
Check out the live demo on
<a href="https://jsfiddle.net/Ali_Sdg90/v7a9jhs6/2/" target="_new"
>JSFiddle</a
>
</p>
<h2>Built With</h2>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>SCSS</li>
<li>JavaScript</li>
</ul>
<h2>Settings</h2>
<p>Quick Math has several customizable settings :</p>
<ul>
<li>
Show Answer: When enabled, the answer to each question is displayed in
the input placeholder.
</li>
<li>
Change Color: Changes the color scheme of the app. The app uses a random
color generator to create a unique color scheme each time the theme is
changed.
</li>
<li>Always Ready: When disabled, skips the ready screen.</li>
</ul>
<p>
Note: The correct answer is always an integer. For example, -44 ÷ -82 = 0.54
rounds down to 0.
</p>
<h2>Author</h2>
<p>
Quick Math was created by
<a href="https://github.com/Ali-Sdg90">Ali-Sdg90</a>. If you have any
questions or feedback, please contact me.
</p>
<p>
It took 5 days to make the program, and I spent more or less 6 hours every
day :)
</p>
| Engaging math game with three questions and lives | javascript,css,game,math,scss | 2023-03-11T09:11:10Z | 2023-09-30T05:03:36Z | null | 1 | 0 | 28 | 0 | 0 | 4 | null | null | JavaScript |
Yogesh914/fakenews | main | # Fake News Detector
## Inspiration
In recent years, we've seen how misinformation can have serious consequences, from influencing political campaigns to fueling public health crises. We believe that combatting fake news is an important way to promote responsible journalism and protect the public.
## What it does
The fake news detector project uses Flask, a Python web framework, to build a web app that allows users to check whether a given news article is real or fake. The app takes in a news article input by the user and applies machine learning models to predict its authenticity. The models used are loaded from pre-trained files stored in the backend server and made using different models in a Python notebook file, where we explored the runtime and square error of different models on a Fake News dataset. The app presents the prediction results to the user, along with a probability score. Users can also provide feedback by clicking on buttons indicating whether the prediction was correct. The feedback data is stored in a CSV file on the server for future analysis. The app also features a dark mode option, enabled by a toggle switch.
## How we built it
We built the fake news detector using Flask, a web application framework for Python, as the backend server. The server receives user input, which is the text of the news article and passes it through several machine-learning models to predict whether the news is real or fake. We used the Natural Language Toolkit (NLTK) library to preprocess the text and extract its features. The models we used include Random Forest, Bernoulli Naive Bayes, Decision Tree Classifier, and Principal Component Analysis. We also used a TF-IDF vectorizer to convert the text to numerical data that can be fed into the models.
We also built a simple user interface using HTML, CSS, and JavaScript. The interface allows users to enter the text of the news article, submit it to the backend server for prediction, and see the result. We also added a feedback system to allow users to indicate whether the prediction was correct or not. This feedback is stored in a CSV file that can be used to improve the performance of the machine learning models over time. Finally, we added a dark mode feature to the interface using JavaScript and CSS.
## Challenges we ran into
During the development of our fake news classifier, we faced several challenges. One of the main challenges was the imbalance in the dataset, as we had more true news articles than fake ones. This could lead to bias in the model towards predicting most articles as true. To overcome this, we employed oversampling and undersampling techniques to balance the dataset.
Another challenge we faced was the selection of the right set of features for the classifier. We experimented with different feature sets and finally decided to use the TfidfVectorizer to convert the text data to a numerical representation. However, fine-tuning the hyperparameters of the vectorizer was a time-consuming task, as it required several iterations to find the optimal values.
## Accomplishments that we're proud of
We're proud to have successfully built and deployed a machine learning model to detect fake news with an accuracy of over 98% on our test dataset. Our team put in countless hours of research, experimentation, and collaboration to develop and fine-tune our model to achieve this high level of accuracy. We're also proud to have created a user-friendly interface for our model, which allows users to enter text and get a prediction on whether it's fake or real news.
In addition, we're proud of the technical skills we developed throughout this project, including proficiency in data cleaning, natural language processing, and machine learning. We also honed our teamwork and communication skills, working together to overcome challenges and achieve our goals. Finally, we're proud to have contributed to the ongoing effort to combat the spread of misinformation, which has become a critical issue in today's society.
## What we learned
Throughout this project, we learned how to build a machine learning model to classify news articles as real or fake. We used the Passive Aggressive Classifier algorithm and a TfidfVectorizer for feature extraction. We also learned how to preprocess text data by removing special characters and punctuation, lowercasing the text, and removing stopwords.
In addition, we learned how to use the Kaggle API to download the dataset and how to mount Google Drive in Colab to access files stored in the cloud. We also learned how to use the pandas library to manipulate and combine datasets.
We also learned how to evaluate the performance of the model using metrics such as accuracy and confusion matrix. We also learned how to save the trained model and the vectorizer to disk using the pickle library.
Overall, this project provided us with valuable experience in working with text data and building a machine learning model to classify it. We gained insights into the preprocessing techniques, feature extraction, model selection, and evaluation that are essential in building a successful machine learning model.
## What's next for Fake News Detector
Improve accuracy: The current detector version is based on a simple machine learning algorithm, the Passive Aggressive Classifier. While it has shown decent accuracy, there may be more advanced models that could perform better. Developers could explore using more complex models, such as neural networks or ensemble methods that combine multiple models for improved accuracy.
Expand to new domains: The Fake News Detector is trained on news articles from a specific dataset. However, it could be expanded to work with other text types, such as social media posts or product reviews. This would require retraining the model on a new dataset but could greatly expand the project's scope.
Integrate with news apps: The Fake News Detector could be integrated with news apps or websites to help users evaluate the credibility of articles they are reading. This could help users make more informed decisions about what they read and share, potentially reducing the spread of fake news.
Develop a browser extension: A browser extension could be created that allows users to quickly evaluate the credibility of news articles they come across while browsing the web. This would make the Fake News Detector more accessible to a broader audience and help combat the spread of fake news online.
## Built With:
css
flask
html5
javascript
natural-language-processing
nltk
numpy
pandas
python
scikit-learn
| The fake news detector project uses Flask, a Python web framework, to build a web app that allows users to check whether a given news article is real or fake. | css,flask,html5,javascript,natural-language-processing,nltk,numpy,pandas,python,scikit-learn | 2023-02-25T16:01:50Z | 2023-04-03T22:33:46Z | null | 4 | 0 | 57 | 1 | 0 | 4 | null | null | Jupyter Notebook |
PROJECT-LAB18/POTATO-MARKET | main | # 어서오세요, 감자마켓 🥔
  <br>
<img src="assets/potato-market-head.png" alt="POTATO-MARKET"><br>
<!-- <img src="assets/potato-market.png" width="300px" alt="POTATO-MARKET"> -->
## 📑 프로젝트 개요
### 프로젝트 기획 의도
**감자마켓**은 [당근마켓](https://www.daangn.com/)을 토대로 만든 쇼핑몰 웹 페이지입니다.
모바일 어플리케이션 기반인 당근마켓은 웹 페이지가 가져야될 주요 기능들도 앱과 연동하여 사용하는 경우가 많았고, 웹 페이지 내에서는 매물을 보거나 사진을 확인할 수 있지만 거래를 진행하는 실질적 기능들은 지원이 되지 않았습니다. 대체적으로 당근 마켓이 웹에서는 사용자와의 상호 작용 보다는 앱 사용을 유도하는 온라인 쇼룸이라는 인상을 받았습니다.
당근마켓을 보완한 감자마켓은 한정적인 정보를 제공하던 **포괄적인 정보를 제공하는 방향성을 고민하여 웹에서의 서비스만으로도 거래를 진행할 수 있도록 새롭게 제품을 재구성하여 개발하였습니다.**
<br>
### 팀 목표
- 혼자서 많은 기능을 구현하기보다, 함께 검토하면서 좋은 코드로 확실한 하나의 기능을 개발하는 것을 추구. 이를 위해 **페어프로그래밍** 으로 프로젝트 진행
- 제품으로서 가치를 전달할 수 있는 핵심 기능위주로 구현하기
- 갈등 상황에서는 감정보다는 논리적 근거를 통해 논쟁하고, 해결하는 것이 목표
### 프로젝트 기간
- 구현: 23.03.13 ~ 23.03.29
- 리팩토링: 23.04.17 ~ 23.04.21
### [프로젝트 발표 자료](https://docs.google.com/presentation/d/1-NoVMkBrdMonBgcdk9808pR6g228xTydlKt7xHja9qY/edit#slide=id.p)
<br>
## 🏠 [배포 페이지](https://potato-market-lab18.web.app/)
> [https://potato-market-lab18.web.app/](https://potato-market-lab18.web.app/)
<br>
## ⚔ 사용된 기술
<img src="https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black" /> <img src="https://img.shields.io/badge/React-61DAFB?style=for-the-badge&logo=React&logoColor=black" /> <img src="https://img.shields.io/badge/React_Router-CA4245?style=for-the-badge&logo=react-router&logoColor=white"> <img src="https://img.shields.io/badge/Recoil-3578E5?style=for-the-badge&logo=recoil&logoColor=white" /> <img src="https://img.shields.io/badge/Vite-blue?style=for-the-badge&logo=vite&logoColor=white" /> <img src="https://img.shields.io/badge/Styled_Components-DB7093?style=for-the-badge&logo=styled-components&logoColor=white" /> <img src="https://img.shields.io/badge/Firebase-FFCA28?style=for-the-badge&logo=firebase&logoColor=black" />
<br>
<br>
## 🎨 주요 기능 소개
### ▶️ [홈 ("/")](https://potato-market-lab18.web.app/)
<img src="assets/func-home.PNG" width="800px" /> <br>
### ▶️ [인기매물 ("/HotArticles")](https://potato-market-lab18.web.app/hotArticles)
- Firebase - firestore : 게시글 작성 완료시 firestore 의 닉네임, 프로필사진, 주소, 조회수, 관심순, 댓글수 데이터를 받아 중고 매물 리스트 페이지에 작성된 날짜 순으로 렌더링
<img src="assets/func-hotarticles.PNG" width="800px" /> <br>
### ▶️ [제품 상세 ("/productDetail")](https://potato-market-lab18.web.app/detailarticle/IwxaAzpUhdXKz27bGjLd)
- `useParams()` 사용해 uid와 게시글 데이터를 받아와 렌더링
- `UpdateDoc` 사용해서 조회수 기능, 댓글 기능 구현
- 게시글 작성자의 uid 와 로그인된 uid 가 일치하면 게시글 수정/삭제 버튼 노출
- 게시글 수정/삭제 기능은 `UpdateDoc`/`DeleteDoc` 으로 구현
<img src="assets/func-productdetail.PNG" width="800px" /> <br>
<img src="assets/func-productdetail.gif" width="600px" /> <br>
### ▶️ [게시글 작성 ("/WriteArticles")](https://potato-market-lab18.web.app/writeArticle)
- 다수의 이미지 파일 업로드 및 프리뷰 기능
- Firebase - storage : 게시글 작성시 이미지 파일을 storage 에 저장. 업로드한 이미지는 browser-image-compression 라이브러리를 통해 압축하여 Storage에 저장됨
- Firebase - firestore : 사용자의 uid, 닉네임, 주소, 제목 및 본문 데이터를 받아 firestore에 저장
<img src="assets/func-writearticle.gif" width="600px" /> <br>
### ▶️ [로그인 ("/SignIn")](https://potato-market-lab18.web.app/signin)
- 로그인 시도 시, Firebase - Authentication 에 저장된 계정을 대조해서 확인
- 일치하는 계정이 없을 경우 경고 팝업 노출
- 로그인 완료되면 해당 유저의 UID를 인식한 뒤, 동일한 UID로 이름 지어진 user 컬렉션의 문서를 찾아 회원 정보를 가져옴. 가져온 회원 정보는 recoil로 관리 중인 상태에 담아 이용
<img src="assets/func-signin.gif" width="400px" /> <br>
### ▶️ [회원가입 ("/SignUp")]()
- Firebase - Authentication : 회원가입 시도 시, 이메일/비밀번호를 기반으로 새 계정 생성
- 다음 조건에 따라 회원가입 유효성 검사 진행
- 비밀번호 : 6-8자 입력 문구 노출
- 비밀번호 확인 : 비밀번호 일치 여부 확인 문구 노출
- 닉네임 : 제출 시 중복 닉네임 검사
- 이용약관 : 필수 약관 클릭 검사
- 사용자 동네 설정을 위해 다음 주소 API를 이용해서 시/구/동 정도 저장
- Firebase - stroage : 사용자의 프로필 사진을 최적화 한 뒤, 파이어베이스에 저장
- Firebase - firestore : users 컬렉션에 새 계정의 UID로 이름지어진 신규 문서 생성 후 회원 정보 저장
<img src="assets/func-signup.gif" width="600px" /> <br>
### ▶️ [마이페이지 ("/myPage")](https://potato-market-lab18.web.app/myPage)
- 로그인과 동시에 recoil에 저장된 사용자의 정보와 사용자가 게시한 매물 정도를 나열
- Firestore의 updateDoc과 Storage를 이용한 회원 정보 수정. Authentication의 delete를 이용한 회원 탈퇴 기능 제공
<img src="assets/func-mypage.gif" width="600px" /> <br>
### ▶️ 채팅
- Firebase를 이용해 로그인된 사용자의 uid 를 받아 업데이트
- onSnapShot, updateDoc 을 이용해서 firestore database 변화 있을 시 자동 렌더링되도록 구현
<img src="assets/func-chat.gif" width="400px" /> <br>
### ▶️ 기타 페이지 알림
<img src="assets/func-statelogout.PNG" width="400px" />
<img src="assets/func-statelogin.PNG" width="400px" /> <br>
<img src="assets/func-cantaccess.PNG" width="500px" /> <br>
## 👑 [성능 개선 작업](https://velog.io/@drk/React-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-%EC%84%B1%EB%8A%A5%EA%B0%9C%EC%84%A0-Cleanup-function)
중고 매물 거래 플랫폼의 특성 상 고화질의 이미지를 업로드하고 불러오다보니 이미지로 인한 성능 저하가 눈에 띄게 보였습니다.
또한 불필요한 조건부 렌더링으로 인해 CLS 점수가 매우 낮게 나왔고, 이를 개선하는 작업을 진행하였습니다.
<img src="https://user-images.githubusercontent.com/92783354/236145840-5dd5cb15-d80e-4231-bc74-93ea8bf472c6.png" width="700px" /> <br>
<img src="https://user-images.githubusercontent.com/92783354/236145853-f365fc4a-4193-451a-824b-ce558a8e565c.png" width="700px" /> <br>
### ▶️ [이미지 최적화](https://velog.io/@dksyu_0618/%EA%B0%90%EC%9E%90%EB%A7%88%EC%BC%93-%EC%84%B1%EB%8A%A5%EA%B0%9C%EC%84%A0%EC%9D%B4%EB%AF%B8%EC%A7%80-%EC%B5%9C%EC%A0%81%ED%99%94)
vite 에는 이미지 최적화 기능을 포함하고 있지 않기 때문에 별도의 최적화 작업이 필요했습니다.
다음과 같은 플러그인을 설치하여 이미지 최적화 작업을 진행하였습니다.
```jsx
"devDependencies": {
"@vheemstra/vite-plugin-imagemin": "1.0.8",
"imagemin-mozjpeg": "10.0.0",
"imagemin-webp": "8.0.0",
"imagemin-gifsicle": "7.0.0",
"imagemin-pngquant": "9.0.2",
"imagemin-svgo": "10.0.1",
}
```
- vite-plugin-imagemin : 이미지 최적화를 위한 각 하위 라이브러리를 사용하도록 설정하는 플러그인
- imagemin-\* : 각 이미지 형식에 따른 이미지 압축 플러그인
다음으로는 makeWebp 옵션에서 imageminWebp()를 사용하여 jpg, png 로 업로드된 이미지들을 WebP 형식으로 변환해주었습니다.
```jsx
// vite.config.js
plugins: [
react(),
viteImagemin({
plugins: {
jpg: imageminMozjpeg(),
png: imageminPngQuant(),
gif: imageminGifSicle(),
svg: imageminSvgo(),
},
makeWebp: {
plugins: {
jpg: imageminWebp(),
png: imageminWebp(),
},
},
}),
],
```
<br>
### ▶️ [코드 스플리팅 (React.lazy)](https://ramincoding.tistory.com/entry/React-Reactlazy-%EC%BD%94%EB%93%9C-%EC%8A%A4%ED%94%8C%EB%A6%AC%ED%8C%85%EC%9C%BC%EB%A1%9C-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-%EC%84%B1%EB%8A%A5-%EA%B0%9C%EC%84%A0%ED%95%98%EA%B8%B0)
이번 프로젝트에서는 SPA 구현을 위해 react-router 를 사용했습니다.
SPA는 프로젝트 규모가 커질수록 파일의 크기가 커지고, 페이지를 렌더링할 때 사용자가 실제로 방문하지 않은 페이지도 함께 불러오기 때문에 이로 인한 성능 저하가 발생했습니다.
이를 개선하기 위해 React의 기능 중의 하나인 lazy 함수를 이용했습니다.
lazy 는 동적으로 코드를 렌더링할 수 있게 해줍니다. 즉, 사용된 컴포넌트의 코드만 불러와 로딩 시 필용한 비용을 줄여 성능 개선을 할 수 있습니다.
```jsx
// 사용 예시
const Home = React.lazy(() => import('./Pages/Home'));
function App(){
...
return (
<section>
<h2>메인 페이지입니다.</h2>
<Suspense>
<Home />
</Suspense>
</section>
)
}
```
<br>
## 🥽 개발 환경 설치 및 실행
```bash
cd potato-market // root 경로로 이동
npm i // 패키지 설치
npm run dev // 서버 구동
```
<br>
원활한 개발 서버 구동을 위해서는 root 경로에 .env.local 파일이 필요합니다
```bash
VITE_API_KEY = []
VITE_AUTH_DOMAIN = []
VITE_PROJECT_ID = []
VITE_STORAGE_BUCKET = []
VITE_MESSAGE_SENDER_ID = []
VITE_APP_ID = []
```
<br>
## 🙌 구성원
| [김동률](https://github.com/DoctorK4) | [김미경](https://github.com/tiramin) | [배상우](https://github.com/bsw98) | [안유진](https://github.com/Anyudbwls) | [이성령](https://github.com/sryung1225) |
| :------------------------------------------------------: | :-----------------------------------------------------: | :---------------------------------------------------: | :-------------------------------------------------------: | :--------------------------------------------------------: |
|  |  |  |  |  |
| 어서오세요 감자마켓 🥔 | figma,firebase,javascript,reactjs,recoil,router-dom-v6,styled-components,vite | 2023-03-03T12:52:59Z | 2023-05-09T04:43:27Z | null | 5 | 75 | 394 | 27 | 2 | 4 | null | null | JavaScript |
IvanTymoshchuk/goit-js-hw-11 | main | # Parcel template
This project was created with Parcel. For familiarization and setting additional features [refer to documentation](https://parceljs.org/).
## Preparing a new project
1. Make sure you have an LTS version of Node.js installed on your computer.
[Download and install](https://nodejs.org/en/) if needed.
2. Clone this repository.
3. Change the folder name from `parcel-project-template` to the name of your project.
4. Create a new empty GitHub repository.
5. Open the project in VSCode, launch the terminal and link the project to the GitHub repository
[by instructions](https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories#changing-a-remote-repositorys-url).
6. Install the project's dependencies in the terminal with the `npm install` command.
7. Start development mode by running the `npm start` command.
8. Go to [http://localhost:1234](http://localhost:1234) in your browser.
This page will automatically reload after saving changes to the project files.
## Files and folders
- All stylesheet parshas should be in the `src/sass` folder and imported into the page stylesheets. For example, for `index.html` the style file is named `index.scss`.
- Add images to the `src/images` folder. The assembler optimizes them, but only when deploying the production version of the project. All this happens in the cloud so as not to burden your computer, as it can take a long time on weak machines.
## Deploy
To set up a project deployment, you need to perform a few additional steps to set up your repository. Go to the `Settings` tab and in the `Actions` subsection select the `General` item.

Scroll the page to the last section, in which make sure the options are selected as in the following image and click `Save`. Without these settings, the build will not have enough rights to automate the deployment process.

The production version of the project will be automatically built and deployed to GitHub Pages, in the `gh-pages` branch, every time the `main` branch is updated. For example, after a direct push or an accepted pull request. To do this, you need to edit the `homepage` field and the `build` script in the `package.json` file, replacing `your_username` and `your_repo_name` with your own, and submit the changes to GitHub.
```json
"homepage": "https://your_username.github.io/your_repo_name/",
"scripts": {
"build": "parcel build src/*.html --public-url /your_repo_name/"
},
```
Next, you need to go to the settings of the GitHub repository (`Settings` > `Pages`) and set the distribution of the production version of files from the `/root` folder of the `gh-pages` branch, if this was not done automatically.

### Deployment status
The deployment status of the latest commit is displayed with an icon next to its ID.
- **Yellow color** - the project is being built and deployed.
- **Green color** - deployment completed successfully.
- **Red color** - an error occurred during linting, build or deployment.
More detailed information about the status can be viewed by clicking on the icon, and in the drop-down window, follow the link `Details`.

### Live page
After some time, usually a couple of minutes, the live page can be viewed at the address specified in the edited `homepage` property. For example, here is a link to a live version for this repository
[https://goitacademy.github.io/parcel-project-template](https://goitacademy.github.io/parcel-project-template).
If a blank page opens, make sure there are no errors in the `Console` tab related to incorrect paths to the CSS and JS files of the project (**404**). Most likely you have the wrong value for the `homepage` property or the `build` script in the `package.json` file.
## How it works

1. After each push to the `main` branch of the GitHub repository, a special script (GitHub Action) is launched from the `.github/workflows/deploy.yml` file.
2. All repository files are copied to the server, where the project is initialized and built before deployment.
3. If all steps are successful, the built production version of the project files is sent to the `gh-pages` branch. Otherwise, the script execution log will indicate what the problem is.
| Homework. Teaching 📚 | css,goit-js-hw-11,html-css-javascript,html5,javascript,js,practice-javascript,practice-programming | 2023-03-06T19:16:20Z | 2023-04-19T10:49:13Z | null | 3 | 0 | 92 | 0 | 0 | 4 | null | null | JavaScript |
Maha-Magdy/piano-kit | master | # PIANO KIT
## About
A "Piano Kit" is a simple piano board containing the essential keys. Each of them is represented by an equivalent key in the keyboard, which allows the user to play some piano sounds.
The list of keys and matching sounds:
- D => DO
- F => RE
- G => MI
- H => FA
- J => SOL
- K => LA
- L => SI
- R => DO#
- T => RE#
- U => FA#
- I => SOL#
- O => LA#
*PS: After being inspired by Wes Bos' JAVASCRIPT30 course, I decided to follow it and build the Piano kit project to keep my hands dirty with JavaScript.*
A screenshot of the Piano kit is presented below:

## Built With
- HTML, CSS, Javascript.
- VisualStudio Code, Git, & GitHub.
## Live Demo
[Live Demo Link](https://maha-magdy.github.io/piano-kit/)
## Video Demo
[Video Demo Link]( https://www.loom.com/share/198e309fa6ec43daa5056024c87b86af )
## Getting Started
To get a local copy up and running follow these simple steps. you only need a computer with a browser installed, and follow these steps:
1. In your terminal, in the folder of your preference, type the following bash command to clone this repository:
```sh
git clone https://github.com/Maha-Magdy/piano-kit.git
```
2. Now that you have already cloned the repo you can just click on the index.html file to get the application up and running in your browser
## Author
👤 **Maha Magdy**
- GitHub: [Maha-Magdy](https://github.com/Maha-Magdy)
- Twitter: [@Maha_M_Abdelaal](https://twitter.com/Maha_M_Abdelaal)
- LinkedIn: [Maha Magdy](https://www.linkedin.com/in/maha-magdy-abdelaal/)
## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/Maha-Magdy/piano-kit/issues).
## Acknowledgments
- Sound Effects from <a href="https://pixabay.com/?utm_source=link-attribution&utm_medium=referral&utm_campaign=music&utm_content=101774">Pixabay</a>
- <a href="https://javascript30.com/">JAVASCRIPT30 course</a> for Wes Bos
## Show your support
Give a ⭐️ if you like this project!
## 📝 License
This project is [MIT](./LICENSE) licensed.
| A "Piano Kit" is a simple piano board containing the essential keys. Each of them is represented by an equivalent key in the keyboard, which allows the user to play some piano sounds. | javascript,javascript-dom,javascript-events,css3,html | 2023-02-28T08:38:01Z | 2023-03-20T21:44:57Z | null | 1 | 4 | 24 | 0 | 1 | 4 | null | MIT | HTML |
hashmat-wani/linkedin-auto-connect-chrome-extension | main | # LinkedIn AutoConnect
LinkedIn AutoConnect is a Chrome extension that automates the process of sending connection requests to a list of people in a LinkedIn search. This can save a lot of time for users who want to expand their network quickly and easily.
## Features
- Automatically sends connection requests on LinkedIn by clicking on **Start Connecting** button.
- Automatically handles the popup window for each request
- Stops automatically after sending requests on the current page.
- Users can stop and start again the request-sending process. The extension will resume where it left off.
## Installation
To install the extension, follow these steps:
- Clone this repository to your local machine by running the below command:
```
git clone https://github.com/hashmat-noorani/linkedin-auto-connect-chrome-extension.git
```
- Unzip the cloned file.
- Open Chrome and navigate to
```
chrome://extensions
```
- Enable Developer mode by clicking the toggle switch in the upper-right corner.
- Click the "Load unpacked" button and select the unzipped folder.
## Usage
- Navigate to the LinkedIn search page where you would like to send connection requests.
```
https://www.linkedin.com/search/results/people/
```
- Click the extension icon in the toolbar to open the popup.
- Click the **Start Connecting** button to begin sending connection requests.
- The extension will automatically send connection requests to all the users listed on the search page.
- Once the requests have been sent, the extension will display a summary of the number of requests sent and the number of requests it skipped.
## Privacy
This extension requires the following permissions:
- tabs: Allows the extension to interact with browser tabs.
- https://_.linkedin.com/_: Allows the extension to access LinkedIn pages.
- scripting: Allows the extension to inject scripts into the LinkedIn page to send connection requests.
This extension only accesses LinkedIn.com and does not collect any personal information from the user.
| Chrome extension that's able to send connection requests to a list of people in a LinkedIn search. | javascript,manifest-v3,css3,html5 | 2023-02-26T20:48:11Z | 2023-02-27T15:57:50Z | null | 1 | 0 | 7 | 0 | 1 | 4 | null | null | JavaScript |
zahoorshinwari/website-developments | main | null | null | bootstrap-project,bootstrap5,css-project,css3,cv-website,dice-throws,drum-kits-game,html-css-javascript,html-projects,html5 | 2023-03-07T16:45:26Z | 2023-10-01T10:04:45Z | null | 1 | 0 | 179 | 0 | 2 | 4 | null | null | HTML |
pratham0709/Portfolio-Pratham | main | null | This is the GitHub repository for my personal portfolio website. The website showcases my skills, projects, and experience as a web developer, and serves as a platform to present my work to potential clients and employers. | css3,html5,javascript | 2023-03-11T08:19:26Z | 2023-08-19T04:43:24Z | null | 1 | 0 | 6 | 0 | 0 | 4 | null | null | CSS |
ArthurTeixeiraS/Tui-doList | main | null | null | html,css,javascript | 2023-03-04T03:20:02Z | 2023-03-04T03:19:23Z | null | 1 | 0 | 1 | 0 | 0 | 4 | null | null | HTML |
StatsugiriLabs/PsReplayDownloader | master | # PS Replay Downloader

PS Replay Downloader is an open-source Chrome Extension for
batch downloading [Pokémon Showdown](https://pokemonshowdown.com/) replays. Currently, it supports text and CSV exports.
Special thanks to [@cookiesamanda](https://twitter.com/cookiesamanda) for designing the logo.
## Installation
You can download the extension at the Chrome Extension store: https://tinyurl.com/PsReplayDownloader
Currently, it is compatible with Chromium-based browsers. There are no plans to migrate to other browsers (eg. Mozilla Firefox).
## Instructions
PS Replay Downloader can be operated in two modes: One-Click or Manual. One-Click mode is capable of downloading all replays. Manual mode can only download the 50 most recent replays, but allows users to selectively choose through the UI.
### Download All Replays (One-Click)
1. Open the Chrome Extension. Enter the username and toggle whether private replays are desired. Click `Download All` to initiate a CSV download of all replays. The download process may take a few seconds. _Please ensure you are logged in to the correct account before downloading private replays._
### Start a Session (Manual)
1. Open the Chrome Extension. Enter the username and toggle whether private replays are desired. Click `Start Session` to open the PS replay search menu.
<img src="./images/readme/readme_1.png">
2. Select the replays to download by toggling the checkbox beside the replay. Toggle the checkbox to select / deselect all replays. _If the checkboxes do not appear, please refresh the webpage or try searching your username again in the extension._
<img src="./images/readme/readme_2.png">
3. Choose the export format from the dropdown menu. Click export when ready.
## FAQ
### Why are the checkboxes not showing in manual session?
There may be issues with how Pokémon Showdown loads DOM changes that are incongruent with the extension. Try refreshing the page or search your username again in the extension pop-up. In particular, navigating from public to private replays has known issues. It's preferred you specify whether you want private replays by toggling the "Private Replays" checkbox before searching.
### Does the Chrome Extension leverage the Pokémon Showdown Web API?
The aforementioned [API](https://github.com/smogon/pokemon-showdown-client/blob/master/WEB-API.md) is capable of retrieving both public and private replays. I opted for two modes of downloading. The manual session allows users to select replays with more granularity (ie. ignoring undesired replays). The one-click method downloads all replays through the API.
### Why is the manual session limited to the 50 most recent replays?
The replay search UI has a "more results" button where it paginates in increments of 50 replays. As it's impossible to determine how many replays the user has, it requires some recursive function to "click" since the button for each page is rendered one page at at time.
### Does the Chrome Extension store any data?
It does not. The only data stored are your replay URLs in your browser's local storage for the manual session, which only you have access to view.
## Feature Requests
Please tweet / message [@Statsugiri](https://twitter.com/Statsugiri) or create an issue for any feature requests.
## Support
If you enjoy the extension, please consider donating to the [Statsugiri Ko-fi](https://ko-fi.com/statsugiri) to support future work on Pokémon data projects.
| Streamlined Pokémon Showdown replay batch downloads | javascript,pokemon,chrome-extension | 2023-03-03T06:32:17Z | 2023-03-18T07:08:52Z | null | 1 | 0 | 24 | 0 | 0 | 4 | null | null | JavaScript |
Anas-Hamo23/Codeforces-Solutions | main | # Codeforces-Solutions
Codeforces Solutions in C++ and Java
### Codeforces account : [Anas Hamo](https://codeforces.com/profile/Anas-Hamo)
| Codeforces Solutions in C++ and Java | cpp,java,c,javascript,python,codeforces,codeforces-solutions,codeforces-solutions-github,problem-solving,programming-contests | 2023-02-25T23:04:50Z | 2023-10-19T13:19:40Z | null | 1 | 0 | 59 | 0 | 0 | 4 | null | null | C++ |
arsendemirci/ag-select | master | ## :star: ag-select
ag-select is a select component, designed to be used in forms of vue3 projects.
\
### :eyes: Overview
This project is actually a part of a vue3 component library project that is under development right now.
ag-select is a custom component that takes advantage of many features of Vue3 and facilitates two way data binding with
**v-model**.
\
### :clapper: Demo
You can check the [AG Select Demo Page](https://arsendemirci-ag-select.netlify.app/) to see the examples in action.
\
### :gun: Getting Started
For ag-select to work correctly basically you need to provide options array and a placeholder. See the code example below:
```
<ag-select
:options="["Ross", "Rachel", "Chandler", "Monica", "Joey", "Phoebe"]"
placeholder="Select a Friend" v-model="friend">
</ag-select>
<div>
Model Value : <span class="value">{{ friend }}</span>
</div>
<script>
export default {
data() {
return { friend:'' };
},
};
</script>
```
\
### :bomb: Features
- Two way data binding with v-model capability
- Works fine with either array of objects or array of strings and numbers
- Polished UX with CSS transitions on all UI events
- Automatically positions option list according to space available above or below the select wrapper
- Optional search capabality
- Clear the state and model :heavy_multiplication_x: button.
\
### :pill: Props
<table border="2">
<thead>
<tr>
<td>Prop</td>
<td>Type</td>
<td>Default</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td>options</td><td>Array</td><td>[]</td><td>(<b>required</b>) Array of options to select from</td>
</tr>
<tr>
<td>read-text</td><td>String</td><td>empty</td><td>(<b>required if only</b> options is array of objects) name of the property from options object array to be considered as option text</td>
</tr>
<tr>
<td>read-value</td><td>String</td><td>empty</td><td>(<b>required if only</b> options is array of objects) name of the property from options object array to be considered as option value</td>
</tr>
<tr>
<td>placeholder</td><td>String</td><td>empty</td><td>(<b>optional</b>) text for the placeholder</td>
</tr>
<tr>
<td>search</td><td>Boolean</td><td>false</td><td>(<b>optional</b>) toggle the search functionality</td>
</tr>
</tbody>
</table>
| vue 3 select component designed by Arsen Demirci | frontend,javascript,scss,select,vue | 2023-03-04T10:42:14Z | 2023-03-08T20:07:30Z | null | 1 | 0 | 7 | 0 | 0 | 4 | null | null | Vue |
fescherer/portifolio | main | <a name="readme-top"></a>
<div align="center">
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
<br />
<a href="https://github.com/fescherer/portifolio">
<img src="https://github.com/Ileriayo/markdown-badges/assets/62115215/2f0522cb-fdea-4a30-bc8a-4a0fa1672284" alt="Logo" width="80" height="80">
</a>
<h3 align="center">Portifolio Style Neobrutalism</h3>
<p align="center">
A portifolio that have information about me and about my projects. Made with NextJS and Tailwind.
<br />
<a href="https://github.com/fescherer/portifolio"><strong>Explore the docs »</strong></a>
<br />
<br />
<a href="#about">About</a>
•
<a href="#stack">Build With</a>
•
<a href="#install">Getting Started</a>
•
<a href="#usage">How to use</a>
•
<a href="#info">Info</a>
•
<a href="#contact">Contact me</a>
•
<a href="#contributors">Contributors</a>
</p>
</div>
<!-- **********************🐲About🐲********************** -->
<a name="about"></a>
## 📕 About 📕
My portifolio was made with NextJS and Tailwind following the principal of maintenance and scalability, using a mix of clean code and good practices. Feel free to explore the code 😄💻📃🚀
This project has full accessibilityy and mobile support.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- **********************🐲Built With🐲********************** -->
<a name="stack"></a>
## 💻 Built With 💻
<div align="center">
[![Next][next]][next-url]
[![React][reactjs]][react-url]
[![HTML 5][html-5]][html-url]
[![CSS 3][css-3]][css-url]
[![Typescript][typescript]][typescript-url]
[![Tailwind][tailwind]][tailwind-url]
</div>
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- **********************🐲Getting Started🐲********************** -->
<a name="install"></a>
## 🚂 Getting Started 🚂
To get this project up and running locally on your pc, follow the steps:
### Pre requisites
- npm
```sh
npm install npm@latest -g
```
### Installation
1. Clone the repo
```sh
git clone https://github.com/fescherer/portifolio.git
```
2. Install NPM packages
```sh
npm install
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- **********************🐲How to use🐲********************** -->
<a name="usage"></a>
## 🙋 How to use 🙋
The project is a web portifolio, so we have a screen for:
Introduction
It's like the name said, it's just a land page to introduce the user to my site.

About me:
It's a screen that have information about my professional and personal life and about my future plans.

Projects:
This page contains all of my projects that are on github.

<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- **********************🐲Info🐲********************** -->
<a name="info"></a>
## 🌎 Info 🌎
Don't forget to leave a star if you like the project ✨
<div align="center">
[![MIT License][license-shield]][license-url]
[![How to contribute][info-contribute-shield]][info-contribute-url]
[![Create an issue][info-issues-shield]][info-issues-url]
</div>
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- **********************🐲Contact Me🐲********************** -->
<a name="contact"></a>
## 💬 Contact me 💬
My name is Felipe Scherer. You can find my socials at [my Github profile](https://github.com/fescherer) 😸
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- **********************🐲Contributors🐲********************** -->
<a name="contributors"></a>
## 🤗 Contributors 🤗
<table>
<tr>
<td align="center">
<a href="https://github.com/fescherer">
<img src="https://github.com/fescherer.png" width="100px;" alt="Felipe Scherer Picture"/><br>
<sub>
<b>Felipe Scherer</b>
</sub>
</a>
</td>
</tr>
</table>
<p align="right">(<a href="#readme-top">back to top</a>)</p>
<!-- Badges and Badges Link -->
[contributors-shield]: https://img.shields.io/github/contributors/fescherer/portifolio.svg?style=for-the-badge
[contributors-url]: https://github.com/fescherer/portifolio/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/fescherer/portifolio.svg?style=for-the-badge
[forks-url]: https://github.com/fescherer/portifolio/network/members
[stars-shield]: https://img.shields.io/github/stars/fescherer/portifolio.svg?style=for-the-badge
[stars-url]: https://github.com/fescherer/portifolio/stargazers
[issues-shield]: https://img.shields.io/github/issues/fescherer/portifolio.svg?style=for-the-badge
[issues-url]: https://github.com/fescherer/portifolio/issues
[license-shield]: https://img.shields.io/github/license/fescherer/portifolio.svg?style=for-the-badge
[license-url]: https://github.com/fescherer/portifolio/blob/master/LICENSE
[info-contribute-shield]: https://img.shields.io/badge/👋-How%20to%20contribute-blue.svg?style=for-the-badge
[info-contribute-url]: https://github.com/fescherer/utils/blob/main/CONTRIBUTING.md
[info-issues-shield]: https://img.shields.io/badge/🐞-How%20to%20create%20an%20issue-blue.svg?style=for-the-badge
[info-issues-url]: https://github.com/fescherer/utils/blob/main/ISSUE.md
<!-- https://github.com/Ileriayo/markdown-badges -->
[reactjs]: https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB
[react-url]: https://reactjs.org/
[html-5]: https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white
[html-url]: https://developer.mozilla.org/en-US/docs/Web/HTML
[css-3]: https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge&logo=css3&logoColor=white
[css-url]: https://developer.mozilla.org/en-US/docs/Web/CSS
[typescript]: https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white
[typescript-url]: https://www.typescriptlang.org
[tailwind]: https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=for-the-badge&logo=tailwind-css&logoColor=white
[tailwind-url]: https://tailwindcss.com
[next]: https://img.shields.io/badge/next.js-000000?style=for-the-badge&logo=nextdotjs&logoColor=white
[next-url]: https://nextjs.org/
| Portifolio | neubrutalism,nextjs,nextjs13,tailwind,tailwindcss,javascript,portifolio,felipescherer,ofelipescherer,portfolio | 2023-02-25T17:04:12Z | 2023-10-08T21:44:10Z | null | 1 | 17 | 164 | 0 | 0 | 4 | null | MIT | TypeScript |
Ido-Barnea/Doctor-Who-API | master | # :large_blue_diamond: Doctor-Who-API
A JSON-based API for retrieving information about the Doctor Who universe.
<img src="https://wallpapercave.com/wp/4CGjOpV.jpg">
<br>
## :hatching_chick: Getting Started
Read the [documentation](https://doctorwhoapi.cyclic.app/documentation) to get started.
## :computer: Website
Feel free to check out our [website](https://doctorwhoapi.cyclic.app).
## :gift: Contribute
We are happy for any and all contributions to the project.
Here is a list of things you can do to help:
- Add / Update information.
- Improve documentation.
| A JSON based API for retrieving information about the Doctor Who universe. | api,doctor-who,doctorwho,express,javascript,opensource,json,rest-api,json-api,television | 2023-03-10T16:32:56Z | 2024-01-05T20:09:55Z | null | 1 | 8 | 75 | 0 | 0 | 4 | null | Apache-2.0 | JavaScript |
nemo256/webdev | master | <div align="center">
# `Web Development`
<h3>
Programme de development web.
</h3>
<!-- Badges -->



<!-- Demo image -->

</div>
<div align="center">
# `HTML`
</div>
## Qu'est-ce que le HTML ?
- HTML signifie Hypertext Markup Language.
- Un fichier HTML est un fichier texte simple, parfaitement lisible, respectant un ensemble de convention d'écriture.
- HTML est le langage de balisage standard pour la création de pages Web.
- HTML décrit la structure d'une page Web.
- HTML se compose d'une série d'éléments.
- Un fichier HTML (Hyper Text Markup Language) n'est pas compilé (ce n'est pas un programme)
## La base
> Lancez un éditeur de texte et écrivez le code suivant et enregistrez-le sous le nom `index.html` :
```html
<!DOCTYPE html>
<html>
<head>
<title>Ma page</title>
</head>
<body>
<h1>Bonjour!</h1>
</body>
</html>
```
### Explication :
- La déclaration `<!DOCTYPE html>` définit que ce document est un document HTML.
- L'élément `<html>` est l'élément racine d'une page HTML.
- L'élément `<head>` contient des méta-informations sur la page HTML.
- L'élément `<title>` spécifie un titre pour la page HTML (qui s'affiche dans la barre de titre du navigateur ou dans l'onglet de la page).
- L'élément `<body>` définit le corps du document et est un conteneur pour tous les contenus visibles, tels que les titres, les paragraphes, les images, les hyperliens, les tableaux, les listes, etc.
- L'élément `<h1>` définit un grand titre.
## Titres
> Les titres HTML sont définis avec les balises `<h1>` à `<h6>`, exemple :
```html
<h1>Titre 1</h1>
<h2>Titre 2</h2>
<h3>Titre 3</h3>
```
## Paragraphes
> Les paragraphes HTML sont définis avec la balise `<p>`, exemple :
```html
<p>Ceci est un paragraphe</p>
```
## Liens
> Les liens HTML sont définis avec la balise `<a>`, exemple :
```html
<a href="https://github.com/nemo256/webdev">Development Web</a>
```
- La destination du lien est spécifiée dans l'attribut `href`.
- Les attributs sont utilisés pour fournir des informations supplémentaires sur les éléments HTML.
## Images
> Les images HTML sont définies avec la balise `<img>`, exemple :
```html
<img src="image.png" alt="www.google.com" width="90" height="40">
```
- Le fichier source `src`, le texte alternatif si l'image n'est pas trouvée `alt`, la largeur et la hauteur sont fournis sous forme d'attributs `width` et `height` respectivement.
## L'attribut `style`
> L'attribut `style` est utilisé pour ajouter des styles à un élément, tels que la couleur, la police, la taille, etc... exemple :
```html
<h2 style="background-color: #993399; border: 4px solid black; border-radius: 8px; text-align: center;">Hello World!</h2>
```

## Éléments de mise en forme
> Les éléments de mise en forme affichent des types de texte particuliers, exemple :
| Balise | Description |
| ---------- | ------------------------------------- |
| `<b>` | Définit le texte en gras |
| `<strong>` | Définit le texte important |
| `<i>` | Définit le texte en italique |
| `<em>` | Définit le texte mis en évidence |
| `<mark>` | Définit le texte marqué |
| `<small>` | Définit un texte plus petit |
| `<del>` | Définit le texte supprimé |
| `<ins>` | Définit le texte inséré |
| `<sub>` | Définit le texte en indice |
| `<sup>` | Définit le texte en exposant |
## Commentaires
> Vous pouvez ajouter des commentaires en utilisant la syntaxe suivante, exemple :
```html
<!-- Ceci est un commentaire -->
```
> Les commentaires peuvent être utilisés pour masquer du contenu :
```html
<!-- <p>Ceci est un paragraphe masqué</p> -->
```
> Vous pouvez également masquer plus d'une ligne :
```html
<!--
<p>Tout ce qui se trouve entre le (<!--) et le (-->) sera caché.</p>
<img src="image.png" alt="Titre de l'image">
-->
```
## Tableaux
> Un tableau en HTML se compose de cellules de tableau à l'intérieur de lignes et de colonnes, exemple :
```html
<table>
<tr>
<th>Module</th>
<th>Coefficient</th>
<th>Moyenne</th>
</tr>
<tr>
<td>Anglais</td>
<td>2</td>
<td>18</td>
</tr>
<tr>
<td>Development Web</td>
<td>3</td>
<td>17</td>
</tr>
</table>
```
| Module | Coefficient | Moyenne |
| --------------- | ------ | ------ |
| Anglais | 2 | 18 |
| Development Web | 3 | 17 |
- Chaque cellule du tableau est définie par une balise `<td>` et une balise `</td>`.
- Tout ce qui se trouve entre `<td>` et `</td>` est le contenu de la cellule du tableau.
- Chaque ligne du tableau commence par une balise `<tr>` et se termine par une balise `</tr>`.
- Parfois, vos cellules sont des cellules d'en-tête. Dans ce cas, utilisez la balise `<th>` au lieu de la balise `<td>`.
## Listes
### Liste non ordonnée
- Une liste non ordonnée commence par la balise `<ul>` (unordered list)
- Chaque élément de la liste commence par la balise `<li>` (list item).
```html
<ul>
<li>Alice</li>
<li>Gabriel</li>
<li>Louis</li>
<li>Mia</li>
</ul>
```
### Liste ordonnée
- Une liste ordonnée commence par la balise `<ol>` (ordered list)
- Chaque élément de la liste commence par la balise `<li>` (list item).
```html
<ol>
<li>A</li>
<li>B</li>
<li>C</li>
<li>D</li>
</ol>
```
## Les balises `class` et `id`
- En HTML, les balises ID et class sont utilisées pour attribuer un identifiant spécifique ou un identifiant de groupe à un élément HTML, vous permettant de les cibler à l'aide de CSS ou de JavaScript.
- La principale différence entre les balises ID et class est qu'un ID doit être unique dans un document HTML, tandis qu'une classe peut être utilisée pour identifier plusieurs éléments.
- Utilisation :
```html
<h1 class="mon_titre">Bonjour (class)</h1>
<h1 id="mon_titre">Bonjour (id)</h1>
```
- Nous pouvons sélectionner l'élément est css en utilisant :
```css
<!-- l'attribut <style> est pour definit un style personnalisé -->
<style>
.mon_titre {
background-color: green;
}
#mon_titre {
background-color: blue;
}
</style>
```
## Formulaires
> Un formulaire HTML est utilisé pour collecter les entrées des utilisateurs. L'entrée utilisateur est envoyée à un serveur pour traitement, Exemple :
```html
<form>
<label for="utilisateur">Utilisateur :</label>
<input type="text" required>
<br>
<label for="password">Mot de passe :</label>
<input type="password" required>
<br>
<input type="submit" value="Connexion">
</form>
```

### L'élément `<input>`
- L'élément HTML `<input>` est l'élément de formulaire le plus utilisé.
- Un élément `<input>` peut être affiché de plusieurs façons, selon l'attribut `type`.
- Voici quelques exemples :
| Type | Description |
| ----------------------- | ------------------------------ |
| `<input type="text">` | Affiche un champ de saisie de texte sur une seule ligne |
| `<input type="email">` | Affiche un champ de saisie d'email |
| `<input type="radio">` | Affiche un bouton radio (pour sélectionner l'un des nombreux choix) |
| `<input type="checkbox">` | Affiche une case à cocher (pour sélectionner zéro ou plusieurs choix) |
| `<input type="submit">` | Affiche un bouton de soumission (pour soumettre le formulaire) |
| `<input type="button">` | Affiche un bouton cliquable |
<div align="center">
# `CSS`
</div>
## Qu'est-ce que le CSS ?
- CSS signifie Cascading Style Sheets.
- CSS est utilisé pour définir les styles de vos pages Web, y compris la conception, la mise en page et les variations d'affichage pour différents appareils et tailles d'écran.
- CSS décrit comment les éléments HTML doivent être affichés à l'écran, sur papier ou sur d'autres supports.
- CSS économise beaucoup de travail. Il peut contrôler la mise en page de plusieurs pages Web à la fois.
- Les feuilles de style externes sont stockées dans des fichiers CSS.
## Démonstration CSS
### Une page login sans CSS :
```html
<!DOCTYPE html>
<html>
<head>
<title>Login Page</title>
</head>
<body>
<div id="login-container">
<h1>Login</h1>
<form>
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
<br>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>
```

### Et maintenant, nous allons ajouter un peu de style, vous pouvez voir la différence :
```html
<!DOCTYPE html>
<html>
<head>
<title>Login Page</title>
<style>
body {
background-color: #f2f2f2;
font-family: Arial, sans-serif;
}
#login-container {
width: 320px;
margin: 0 auto;
background-color: #ffffff;
box-shadow: 0px 0px 10px 8px rgba(0, 0, 0, 0.2);
border-radius: 10px;
padding: 24px;
}
h1 {
text-align: center;
}
label {
display: block;
margin-bottom: 10px;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 8px 0px;
border: 2px solid;
border-radius: 5px;
margin-bottom: 20px;
}
button[type="submit"] {
background-color: #4CAF50;
width: 100%;
color: #ffffff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
button[type="submit"]:hover {
background-color: #3e8e41;
}
</style>
</head>
<body>
<div id="login-container">
<h1>Login</h1>
<form>
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
<br>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>
```

## Syntaxe CSS

> Exemple :
```html
<h1>Bonjour!</h1>
<style>
h1 {
color: blue;
font-style: italic;
}
</style>
```
> Explication de l'exemple :
- `h1` est un sélecteur en CSS (il pointe vers l'élément HTML que vous souhaitez styliser : `<h1>`).
- `color` est une propriété et `blue` est sa valeur.
- `font-style` est une propriété et `italic` est sa valeur.

## Liste des propriétés CSS les plus communes
| Propriété CSS | Exemple | Description |
| --- | --- | --- |
| `color` | `color: red;` | Définit la couleur du texte |
| `font-size` | `font-size: 20px;` | Définit la taille de police |
| `font-family` | `font-family: Arial, sans-serif;` | Définit la police utilisée |
| `text-align` | `text-align: center;` | Définit l'alignement horizontal du texte |
| `background-color` | `background-color: #FFFFFF;` | Définit la couleur d'arrière-plan |
| `border` | `border: 1px solid black;` | Définit une bordure autour d'un élément |
| `padding` | `padding: 10px;` | Définit l'espace intérieur entre le contenu et la bordure |
| `margin` | `margin: 20px;` | Définit l'espace extérieur entre l'élément et les éléments adjacents |
| `display` | `display: block;` | Définit le type d'affichage de l'élément |
| `float` | `float: left;` | Définit le flottement de l'élément |
| `width` | `width: 50%;` | Définit la largeur de l'élément |
| `height` | `height: 200px;` | Définit la hauteur de l'élément |
| `text-decoration` | `text-decoration: underline;` | Définit la décoration du texte (comme souligner) |
| `text-transform` | `text-transform: uppercase;` | Définit la transformation du texte (majuscule, minuscule, capitale, etc.) |
| `line-height` | `line-height: 1.5;` | Définit la hauteur de ligne d'un élément |
| `font-weight` | `font-weight: bold;` | Définit la graisse de la police (gras ou normal) |
| `opacity` | `opacity: 0.5;` | Définit l'opacité d'un élément (entre 0 et 1) |
| `background-image` | `background-image: url("image.jpg");` | Définit l'image d'arrière-plan |
| `background-size` | `background-size: cover;` | Définit la taille de l'image d'arrière-plan |
| `box-shadow` | `box-shadow: 2px 2px 4px #000000;` | Ajoute une ombre à un élément |
| `text-shadow` | `text-shadow: 1px 1px 2px #000000;` | Ajoute une ombre au texte |
| `border-radius` | `border-radius: 10px;` | Définit le rayon des coins d'une bordure |
| `transition` | `transition: all 0.3s ease-in-out;` | Définit la transition entre deux états d'un élément |
| `position` | `position: absolute;` | Définit la position d'un élément par rapport à son conteneur |
| `z-index` | `z-index: 1;` | Définit l'ordre de superposition d'un élément |
| Programme de development web. | web-development,css,html,javascript,markdown | 2023-03-09T11:14:10Z | 2023-04-06T13:05:35Z | null | 1 | 0 | 70 | 0 | 0 | 4 | null | MIT | null |
nickatnight/elonmu.sh | main | <p align="center">
<a href="https://github.com/nickatnight/elonmu.sh/actions">
<img alt="GitHub Actions status" src="https://github.com/nickatnight/elonmu.sh/actions/workflows/main.yml/badge.svg">
</a>
<a href="https://github.com/nickatnight/elonmu.sh/releases"><img alt="Release Status" src="https://img.shields.io/github/v/release/nickatnight/elonmu.sh"></a>
</p>
# elonmu.sh
MaaS is a free public API for fetching random news articles which mention our Lord and Savior...Elon Musk /s
## Usage
```shell
# Retrieve a random article
$ curl --request GET \
--url 'https://elonmu.sh/api' \
--header 'accept: application/json'
```
Example 200 response:
```json
{
"source": "Business Insider",
"title": "Wizards, horses, flip phones and AI: Elon Musk's 10 most colorful quotes from Tesla's investor day",
"description": "Musk joked about charging mishaps, hailed the complexity of the human brain, and voiced his fears about the rise of artificial intelligence.",
"url": "https://markets.businessinsider.com/news/stocks/elon-musk-tesla-investor-day-ai-electric-vehicles-self-driving-2023-3",
"urlImage": "https://i.insider.com/64007dd7ce4a630019955630?width=1200&format=jpeg",
"publishDate": "2023-03-02T11:37:41Z"
}
```
Example 400 response:
```json
{
"error": "There was an error with NewsAPI. Please try again later."
}
```
## Why?
For fun 🤡...and to ramp up on TypeScript/Node/ExpressJS. This API is bascially a thin wrapper around [NewsAPI](https://newsapi.org/), and deployed using DigitalOceans App Platform.
Enjoy
| :robot: MaaS - Musk as a Service | api,expressjs,funny,nodejs,typescript,elonmusk,javascript | 2023-03-11T06:41:18Z | 2024-01-03T21:02:35Z | 2024-01-03T21:02:35Z | 1 | 8 | 19 | 0 | 0 | 4 | null | null | CSS |
Akhi4009/BharatMart | master | # BharatMart - (aquatic-beef-7375)
Indian e-commerce company that provides B2B and customer to customer sales services via its web portal.
# Clone of indiamart.com
<p align="center">
<img src="https://gumlet.assettype.com/barandbench%2F2022-03%2F77dfae18-62d6-42d2-a505-e7fc347384b1%2FINDIAMART.jpg?format=auto" width="100%" title="hover text">
</p>
# Indiamart.com
-Indian e-commerce company that provides B2B and customer to customer sales services via its web portal. project.
# Teammates name:
- [@akhi4009](https://github.com/akhi4009)
- [@kaush101](https://github.com/kaush101)
- [@sachin4147](https://github.com/sachin4147)
## Tech Stack used
- `REACT`
- `REDUX`
- `CHAKRA-UI`
- `JAVA SCRIPT`
- `HTML`
- `CSS`
- `NODE-JS`
- `EXPRESS-JS`
- `MONGODB`
## Deployed Link
<a href="https://candid-babka-0e937f.netlify.app/">Deployed Link</a>
## Pages & Features
- Home Page(Stays)
-Product page
- Login-in and sign-up Page
- Shopping page
- category Product page
- SigleProduct page
- Cart page
- Payment page
# Snap shots
<b> Home Page </b>

| This is the clone of Indiamart website . Indiamart is a Indian e-commerce company that provides B2B and customer to customer sales services via its web portal. This is a collaborative Team Project that we have completed in 4 days. | bcrypt,chakraui,css3,expressjs,html5,javascript,jswebtoken,mongodb-atlas,mongoose,nodejs | 2023-03-02T14:02:27Z | 2023-05-22T11:19:00Z | null | 4 | 12 | 42 | 0 | 2 | 4 | null | null | JavaScript |
fatihbalsoy/material-board | master | <!-- THIS FILE IS AUTO-GENERATED. PLEASE EDIT `.readme/lang/README.base.md` AND RUN `npm run mmg`. -->
# 
The Material Board plugin for WordPress updates the appearance of your site's dashboard to a sleeker, more contemporary design based on [Google's Material Design Guidelines](https://material.io/design). This plugin preserves your existing dashboard layout, avoids making any significant alterations, and doesn't include any branding or promotional content. It's straightforward to use and comes at no cost.

[](https://github.com/fatihbalsoy/material-board/releases/)
[](https://material-dashboard-demo.bal.soy/)
[](https://wordpress.org/plugins/material-board/)
[](https://github.com/fatihbalsoy/material-board/actions/workflows/build.yml)
Read this document in a different language.
[](/README.md)
[](/.readme/lang/README.tr.md)
[](https://crowdin.com/project/material-dashboard)
## Screenshots


## Installation
Material Board is available on the WordPress Plugin Directory [(link)](https://wordpress.org/plugins/material-board/) and can be installed from the plugins page in your admin dashboard.
### Manually
* Download the latest release of Material Board [here](https://github.com/fatihbalsoy/material-board/releases/),
* On your WordPress dashboard go to `Plugins` > `Add New`,
* Click the `Upload Plugin` button near the header,
* Select the downloaded zip archive,
* Finally, activate the Material Board plugin.
## Customization
Head over to `Appearance` > `Material Board` to customize the dashboard colors and looks.
Here are some of the available options:
* Theme (Light, Dark, and System)
* Colors (Primary and Accent colors)
* Toggle Rounded Corners
* Toggle Content Padding
* Font (DM Sans, Roboto, Mona, Hubot, or WordPress)
* Header Font (Serif or sans serif)
* Icons (Material or WordPress)
* Large App Bar (Bar or Menu on top)
## Languages
* English
* French (Français)
* German (Deutsch)
* Turkish (Türkçe)
## Known Issues
* Automatic system theme setting does not take effect until after two page refreshes.
## Setup & Build
Check out the [SETUP.md](SETUP.md) file to get started on setting up the developer environment and building the project.
## Contribution
Feel free to submit a pull request for one of the following:
* New features
* Language translation [(Crowdin Page)](https://crowdin.com/project/material-dashboard)
* Support third-party plugins or themes
* Fixing bugs and security vulnurabilities
## Licenses
Material Board, [AGPL License 3.0](https://github.com/fatihbalsoy/material-board/blob/master/LICENSE).
This project depends on the following third-parties:
* DM Sans Font, [SIL Open Font License 1.1](https://github.com/googlefonts/dm-fonts/blob/main/Serif/LICENSE.txt)
* DM Serif Font, [SIL Open Font License 1.1](https://github.com/googlefonts/dm-fonts/blob/main/Serif/LICENSE.txt)
* Mona Sans Font, [SIL Open Font License 1.1](https://github.com/github/mona-sans/blob/main/LICENSE)
* Hubot Sans Font, [SIL Open Font License 1.1](https://github.com/github/hubot-sans/blob/main/LICENSE)
* Roboto Font, [Apache License 2.0](https://github.com/googlefonts/roboto/blob/master/LICENSE).
* Official Material Design Icons, [Apache License 2.0](https://github.com/google/material-design-icons/blob/master/LICENSE).
* Community Material Design Icons, [SIL Open Font License 1.1](https://github.com/Templarian/MaterialDesign/blob/master/LICENSE).
* TinyColor, [MIT License](https://github.com/bgrins/TinyColor/blob/master/LICENSE).
| The Material Board plugin for WordPress updates the appearance of your site's dashboard to a sleeker, more contemporary design based on Google's Material Design Guidelines. This plugin preserves your existing dashboard layout, avoids making any significant alterations, and doesn't include any branding or promotional content. | css,javascript,material,material-design,php,web,wordpress,wordpress-plugin,wordpress-theme,design | 2023-03-07T21:25:52Z | 2024-04-20T04:49:53Z | null | 1 | 7 | 307 | 6 | 1 | 4 | null | AGPL-3.0 | SCSS |
DobarBREND/e-commerce-website | main | # e-commerce-website
A responsive e-commerce website for selling men's suits.
<br><br>
<a href="https://dobarbrend.github.io/e-commerce-website/" target="_blank">iFASHION 4U</a>
<br><br>
<img src="https://github.com/DobarBREND/e-commerce-website/blob/main/images/e-commerce-website.jpg" alt="iFASHION 4U">
| A responsive e-commerce website for selling men's suits. | css,html,javascript | 2023-03-06T14:06:36Z | 2023-04-15T10:35:36Z | null | 1 | 0 | 7 | 0 | 0 | 4 | null | MIT | HTML |
n2duc/javascript-base | main | ### console.log('Hello world!')
| Học JS vì nó dễ, đại trà, theo phong trào, hết | javascript,javascript-vanilla | 2023-03-09T14:16:15Z | 2024-01-19T16:21:40Z | null | 1 | 0 | 26 | 0 | 0 | 4 | null | null | JavaScript |
ayangweb/bob-plugin-free-calf-translate | master | # 小牛翻译
## 无需秘钥,可以直接在 bob 中进行工作,如果有一天它不工作了,请联系我进行修复!
> src 文件夹主要为 bob 用户开发,bob 是一款 macOS 上的翻译软件,官网地址:[bob](https://bobtranslate.com/)
>
> 插件下载地址:[bob-plugin-free-calf-translate-v0.0.3.bobplugin](https://github.com/bilibili-ayang/bob-plugin-free-calf-translate/releases/download/v0.0.3/bob-plugin-free-calf-translate.bobplugin)
> server 文件夹是 node.js 服务器,可以自行改造后在任意场景下使用!
### bob 插件大合集:
> [chatGPT 插件(免秘钥,免翻)](https://github.com/bilibili-ayang/bob-plugin-free-chatgpt)
> [必应翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-bing-translate)
> [百度翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-baidu-translate)
> [阿里翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-ali-translate)
> [搜狗翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-sougou-translate)
> [爱词霸翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-iciba-translate)
> [计算器插件](https://github.com/bilibili-ayang/bob-plugin-calculator)
> [小牛翻译插件(免秘钥)](https://github.com/bilibili-ayang/bob-plugin-free-calf-translate)
### 使用截图如下:
<img width="500" src="./image/zh-to-en.png" alt="zh-to-en">
<img width="500" src="./image/en-to-zh.png" alt="en-to-zh">
| 小牛翻译,无需秘钥,可以直接在 bob 中进行工作,如果有一天它不工作了,请联系我进行修复! | bobplugin,javascript | 2023-02-25T12:22:06Z | 2023-03-12T15:15:43Z | 2023-03-07T06:55:05Z | 1 | 0 | 13 | 1 | 0 | 4 | null | null | JavaScript |
SabariVig/svelte-resize | master | # Resize Svelte
<p align="center">
<img alt="npm" src="https://img.shields.io/npm/v/svelte-resize?logoColor=red&style=for-the-badge">
<img alt="license" src="https://img.shields.io/badge/License-MIT-black?style=for-the-badge">
<img alt="npm bundle size" src="https://img.shields.io/bundlephobia/minzip/svelte-resize?color=brightgreen&style=for-the-badge">
<img alt="svelte" src="https://img.shields.io/badge/Made-for%20Svelte-red?style=for-the-badge&logo=svelte">
</p>
<br>
<p align="center">
<img src="https://user-images.githubusercontent.com/33371586/221412630-75532820-7067-4a12-be87-ff3fa47aee9d.png" width="200px" />
</p>
## Description
svelte-resize is vanilla without any 3rd party dependencies library made for svelte written in typescript. Super simple API thats easy to integrate.
## Demo

## Installation
With pnpm:
```sh
pnpm install svelte-resize
```
With Yarn:
```sh
yarn add svelte-resize
```
With NPM:
```sh
npm install svelte-resize
```
## Usage
```svelte
<script>
import { resize } from 'svelte-resize'
</script>
<div use:resize />
```
## Props
### Main props
| prop | Description | type | default | required |
| -------- | ---------------------------------------------------------------------------------- | ----------------------------------- | -------- | --------|
| disabled | Disables resize | boolean | false | false|
| minimumSize | Sets the minimum size in px the node is allowed to resize | number | 20 px | false|
| maximumSize | Sets the maxiumum size in px the node is allowed to resize | number | null | false
| handlerSize | Size of the resize handler | number | 10 px | false
| handlers | Specifies the corner that is able to resize | { leftTop, leftBottom, rightTop, rightBottom } | { leftTop: true, leftBottom: true, rightTop: true, rightBottom: true } | false
| borderStyle | Style applied to handler | string | ""2px solid rgba(0, 0, 0, 0.4)" | false
| Mordern Svelte Resize library | svelte,javascript,library,resize,typescript | 2023-02-25T17:51:36Z | 2023-03-16T18:02:33Z | 2023-03-16T18:02:33Z | 2 | 6 | 29 | 1 | 1 | 4 | null | MIT | TypeScript |
Yash22222/MY-TP-PROJECTS | main | # My-TP-Projects On HTML, CSS, JS, Python, Java, C & C++
| I am Uploading My Short simple projects on Python, Java, C++ & C Language in this library. | password-generator,python,python-mini-projects,python-programming,python-projects,python3,wifi-password-viewer,anova,binning,css | 2023-03-07T14:13:20Z | 2024-01-22T14:53:12Z | null | 1 | 0 | 133 | 0 | 0 | 4 | null | null | Jupyter Notebook |
ruhinalio/RTE | main | null | null | html5,javascript,scss | 2023-03-07T07:34:59Z | 2023-03-10T10:36:55Z | null | 1 | 0 | 3 | 0 | 0 | 4 | null | null | HTML |
llegomark/finwise | master | # FinWise
Welcome to our AI-powered financial guidance platform! This platform provides personalized advice to help you achieve your financial goals and improve your overall financial health.
## Features
AI-powered guidance tailored to your unique financial situation
Personalized recommendations for debt reduction, budgeting, and savings
Access to general financial advice related to personal finances in the Philippines
## Generating Financial Guidance using OpenAI API
To generate financial guidance using OpenAI API, the website makes use of a few key files: Generate.ts, Finance.ts, and Middleware.ts.
### Generate.ts
The Generate.ts file contains the code for generating financial guidance using OpenAI API. The code is written in TypeScript.
First, the file defines a list of OpenAI API keys. If additional API keys are needed, they can be added to the list. The code then checks if all API keys are available, and if any are missing, an error is thrown.
```
const API_KEYS: string[] = [
process.env.OPENAI_API_KEY1 as string,
process.env.OPENAI_API_KEY2 as string,
process.env.OPENAI_API_KEY3 as string,
// add more API keys as necessary
];
if (!API_KEYS.every(Boolean)) {
throw new Error("Missing env var(s) from OpenAI");
}
```
Next, the interface for the request body is defined. The request body must contain a prompt string for generating the financial guidance.
```
interface RequestBody {
prompt: string;
}
```
The configuration object for the Next.js API route is defined next. It specifies that the code should run on the "edge" runtime.
```
export const config = {
runtime: "edge",
};
```
The main function in Generate.ts is an async function that handles the Next.js API request. The prompt is obtained from the request body, and if it is not provided, an error response is returned.
```
const handler = async (req: NextRequest): Promise<Response> => {
const { prompt } = (await req.json()) as RequestBody;
if (!prompt) {
return new Response("No prompt in the request", {
status: 400,
statusText: "Bad Request",
});
}
```
The GPT3Tokenizer is used to count the number of tokens in the prompt, and the maximum number of tokens allowed for the prompt is set to 400. If the prompt exceeds the maximum number of tokens, an error response is returned.
```
const tokenizer = new gpt3Tokenizer({ type: 'gpt3' });
const tokens = tokenizer.encode(prompt);
const numTokens = tokens.bpe.length;
const MAX_PROMPT_TOKENS = 400;
if (numTokens > MAX_PROMPT_TOKENS) {
return new Response(`The prompt has ${numTokens} tokens, which exceeds the maximum limit of ${MAX_PROMPT_TOKENS} tokens.`, {
status: 400,
statusText: "Bad Request",
});
}
```
One of the API keys is randomly selected, and the API parameters for the OpenAI text completion request are set. The function then calls the OpenAI API to stream the generated text. If there is an error in the process, an error response is returned.
```
try {
// Call the OpenAI API to stream the generated text
const stream = await OpenAIStream(payload, apiKey);
// Return the response from the OpenAI stream as the response to the API request
return new Response(stream);
} catch (e) {
console.error(e);
// If there is any error in the process, return an error response
return new Response("Failed to fetch stream from OpenAI", {
status: 500,
statusText: "Internal Server Error",
});
}
```
### Finance.ts
The Finance.ts file contains the function OpenAIStream that is called from Generate.ts to handle the streaming of data from the OpenAI API. The function takes in the payload object and an API key, and returns a readable stream that will continuously receive data from the OpenAI API until it returns the "[DONE]" message.
The function first creates a text encoder and decoder, and sets a counter to zero.
```
const encoder = new TextEncoder();
const decoder = new TextDecoder();
let counter = 0;
```
The function then sends a POST request to the OpenAI API with the given payload and API key. If the response is not successful, an error is thrown.
```
const res = await fetch("https://api.openai.com/v1/chat/completions", {
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${apiKey}`,
},
method: "POST",
body: JSON.stringify(payload),
});
// Throw an error if the response is not successful
if (!res.ok) {
throw new Error(`Failed to fetch stream from OpenAI: ${res.statusText}`);
}
```
A ReadableStream object is then created that will continuously receive data from the response.
```
const stream = new ReadableStream({
async start(controller) {
// Define a callback function to handle incoming data
function onParse(event: ParsedEvent | ReconnectInterval) {
if (event.type === "event") {
const data = event.data;
// Close the stream if the OpenAI API returns the "[DONE]" message
if (data === "[DONE]") {
controller.close();
return;
}
//... Continue the rest of the code
}
}
//... Continue the rest of the code
},
async cancel() {
//... Continue the rest of the code
},
});
return stream;
```
The start() method of the ReadableStream is an async function that is called when the stream is started. It defines a callback function onParse to handle incoming data. If the data is the "[DONE]" message, the stream is closed. If the data contains generated text, the text is extracted and enqueued as encoded binary data in the stream.
```
try {
const parsedData = JSON.parse(data) as OpenAIResponse;
if (parsedData.choices && parsedData.choices.length > 0) {
const choice = parsedData.choices[0];
if (choice && choice.delta?.content) {
text = choice.delta.content;
}
}
} catch (e) {
console.error(e);
}
```
The cancel() method of the ReadableStream is an async function that is called when the stream is cancelled. It cancels the response if the stream is closed or an error occurs.
```
async cancel() {
if (res.body && typeof res.body.cancel === "function") {
try {
await res.body.cancel();
} catch (e) {
console.error(e);
}
}
},
```
### Middleware.ts
The Middleware.ts file contains the middleware function that enforces rate limiting for requests to the "/api/generate" path. The function is exported as the default export.
The middleware function takes in the request and event objects, which represent the incoming HTTP request and Next.js fetch event, respectively. It returns a response or undefined.
```
export default async function middleware(
request: NextRequest,
event: NextFetchEvent
): Promise<Response | undefined> {
//... Continue the rest of the code
}
```
The function first gets the user's IP address from the request, defaulting to "127.0.0.1" if not present.
```
const ip = request.ip ?? "127.0.0.1";
```
It then uses the ratelimit library to get information about the user's request limit. If the user has not exceeded the request limit, a NextResponse.next() response is returned. Otherwise, the user is redirected to the "/api/blocked" endpoint.
```
const ratelimitInfo: RatelimitInfo = await ratelimit.limit(`mw_${ip}`);
event.waitUntil(ratelimitInfo.pending);
const response = ratelimitInfo.success
? NextResponse.next()
: NextResponse.redirect(new URL("/api/blocked", request.url), request);
```
The response headers are then set to indicate the rate limit and remaining requests.
```
response.headers.set("X-RateLimit-Limit", ratelimitInfo.limit.toString());
response.headers.set(
"X-RateLimit-Remaining",
ratelimitInfo.remaining.toString()
);
response.headers.set("X-RateLimit-Reset", ratelimitInfo.reset.toString());
```
Finally, the function returns the response.
```
return response;
```
The config object is also exported, specifying that this middleware should be applied to requests matching the "/api/generate" path.
```
export const config = {
matcher: "/api/generate",
};
```
| Are you struggling to manage your debts and financial obligations? Do you feel overwhelmed by the complexities of the financial world? It's time to take charge of your finances and make informed decisions with the help of Artificial Intelligence (AI)-powered guidance. | ai,artificial-intelligence,javascript,machine-learning,machine-learning-algorithms,nextjs,openai,react,reactjs,typescript | 2023-03-03T17:56:47Z | 2023-03-07T09:09:59Z | null | 1 | 2 | 6 | 0 | 0 | 4 | null | MIT | TypeScript |
iSemary/Petitfour | master | # Petitfour
N.B. **This project took me about month or more to finish it, Just because I didn’t have enough time for it, i just gave it 1 hour/day, some days I didn’t open it; cause i work as full time and i also have another side projects for my clients, So it wasn’t on my top priorities.**
**Hope you enjoy it and find it helpful!**
<hr/>
## Features
✅ <b>Dynamic Dashboard</b><br/>
✅ <b>Responsive Design</b><br/>
✅ <b>SEO Friendly</b><br/>
✅ <b>[Skills - Projects - Blogs] Editor</b><br/>
🌟 <b>MidJourney Images</b>
<hr/>
## Postman Collection APIs
<a href="https://www.postman.com/petitfour/workspace/petitfour/collection/26104711-d112244d-f11a-4dd6-9363-0a794feb09ac?action=share&creator=26104711" target="_blank" style="color:#000; background-color:#ef5b25;padding:5px;border-radius:6px;border:1px solid #dddddd">Open with postman</a>
<hr/>
## Technologies Used
### The following technologies were used in the dashboard:
- Intervention
- Bootstrap
- jQuery
- jQueryUI
- Select2
- DataTables
- Tagify
- Image-Uploadify
- ApexCharts
- CKEditor
- FontAwesome
- SweetAlert
- intlTelInput
### The website utilizes the following technologies:
- react-icons [Icons]
- AOS [Animation]
- react-lottie [JSON Animation Canvas Library]
- react-spring [Animation Library]
- react-content-loader [Lazy Loading Components]
- axios [HTTP Requests]
- Redux [State Managment]
- Splide [Carousel]
- node-sass [Importing vars from sass files to react]
## Laravel Commands
First, run the following command only once:
# _First use only_ <br/>
Create a link for storage folder into public to access it
```
php artisan storage:link
```
Migrate the database tables
```
php artisan migrate
```
Setting up server permissions for storage folder
```
chmod -R 775 storage
chmod -R 775 bootstrap/cache
chown -R www-data:www-data storage bootstrap/cache
```
## Cronjobs Commands
```
php artisan generate:sitemap
```
---
<h1>React Commands</h1>
Install required dependencies
```
npm install
```
Start react project on localhost
```
npm start
```
<h1>Gulp Commands</h1>
## Keep watching SASS/SCSS files on changes to be converted to css
```
gulp watch-sass
```
_OR_
```
sass --watch resources/js/src/assets/styles/style.scss:resources/js/src/assets/styles/style.css
```
## Convert SASS/SCSS files to css after long work
```
gulp css
```
_OR_
```
sass resources/js/src/assets/styles/style.scss:resources/js/src/assets/styles/style.css
```
## For Building a new production version all you have to do is :
```
npm install
```
```
npm audit fix -force
```
```
npm run build
```
OR
```
npm run build-linux
```
### And it will do everything :
- Generate a new bundle file
- Convert SCSS files into one css file
- Copy All media and styles to public dircectory
---
## Contact
For any inquiries or support, please email me at [abdelrahmansamirmostafa@gmail.com](mailto:abdelrahmansamirmostafa@gmail.com) or visit my website at [abdelrahman.online](https://www.abdelrahman.online).
| Dynamic portfolio builder, using ReactJS, Laravel, and Jquery, with a high design layout, a Powerful API structure, and a detailed dashboard editor for each section in the portfolio. | dashboard,javascript,jquery,laravel,reactjs,redux,sass | 2023-02-28T15:27:14Z | 2024-02-28T13:38:42Z | null | 1 | 46 | 245 | 0 | 0 | 4 | null | MIT | CSS |
chiragverma11/EatEasy_Food_Ordering_Website | main | null | This is a Food Ordering website made with HTML, CSS & JavaScript as FrontEnd & NodeJS as BackEnd with MongoDB as Database | ejs,javascript,nodejs,web-development,expressjs,food-ordering-system,food-ordering-website,mongodb | 2023-03-11T14:14:39Z | 2023-07-10T02:03:29Z | null | 1 | 0 | 21 | 0 | 1 | 4 | null | MIT | JavaScript |
Choaib-ELMADI/3d-portfolio | master | # 3d-portfolio
3D portfolio implemented using react, vite, threejs, react-three/fiber and react-three/drei.
<h2>I'm having a problem in small devices, the model is not showing.</h2>
<h2>If you think you can help, please don't hesitate to fork this.</h2>
<h1>Thanks a lot</h1>
<img src='demos/large.png' />
<div>
<img src='demos/small.png' width='250' height='460' />
<img src='demos/small-device.jpg' width='250' height='460' />
<div>
<h2>It's showen here because this is just google device bar.</h2>
| 3D portfolio implemented using react, vite, threejs, react-three/fiber and react-three/drei. | 3d,javascript,portfolio,react,threejs,vite | 2023-03-06T12:50:25Z | 2023-03-15T18:15:31Z | null | 1 | 0 | 35 | 0 | 0 | 4 | null | null | JavaScript |
KAMYAVERMA/OIBGRIP | main | # OIBSIP - Oasis Infobyte Intern Program
OASIS INFOBYTE offers a variety of website design and development services. Got the chance for 1 month intern of Web development and design.
There are 3 task given to complete. After completing all tasks, if everything looks fine, the intern will be certified. Glad to be a part of OASIS INFOBYTE intern program.
## Task1 - Landing Page
A Landing Page created under the virtual internship program of Oasis Infobyte. <br>
[Live](https://KAMYAVERMA.github.io/OIBGRIP/Task-01)
## Task2 - Portfolio
A Portfolio page is created under the virtual internship program of Oasis Infobyte. <br>
[Live](https://KAMYAVERMA.github.io/OIBGRIP/Task-02)
## Task3 - Temperature converter Website
A Temperature converter website is created under the virtual internship program of Oasis Infobyte. <br>
[Live](https://KAMYAVERMA.github.io/OIBGRIP/Task-03)
| Created a Landing Page, Portfolio and a Temperature Convertor website using HTML, CSS and JS | begginer-friendly,css,html,javascript,portfolio,webdevelopment | 2023-03-04T21:48:22Z | 2023-03-10T07:48:27Z | null | 1 | 0 | 31 | 0 | 0 | 4 | null | null | HTML |
Kevin-Mena/Leaderboard-project | development | ## Leaderboard App
<a name="readme-top"></a>
<div align="center">
<br/>
</h3>
</div>
<!-- TABLE OF CONTENTS -->
# 📗 Table of Contents
- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [🚀 Visit my website](#)
- [💻 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 (OPTIONAL)](#faq)
- [📝 License](#license)
# 📖 [Leaderboard App <a name="about-project"></a>
\*\*[Leaderboard App] is a leaderboard website that displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.
## 🛠 Built With <a name="built-with"></a>
### Tech Stack <a name="tech-stack"></a>
<details>
<summary>Markup</summary>
<ul>
<li><a href="https://https://developer.mozilla.org">HTML</a></li>
</ul>
</details>
<details>
<summary>Styles</summary>
<ul>
<li><a href="https://https://developer.mozilla.org">CSS</a></li>
</ul>
</details>
<details>
<summary>Javascript</summary>
<ul>
<li><a href="https://https://developer.mozilla.org">CSS</a></li>
</ul>
</details>
### Key Features <a name="key-features"></a>
- **[API]**
- **[Homepage]**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🚀 Live Demo <a name="live-demo" ></a>
- [Live Demo](https://leaderboard-webapp.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.
### Prerequisites
In order to run this project you need:
A text-editor of your own choice.
### Setup
Clone this repository to your desired folder:
Example commands:
```sh
cd <desired folder to contain project>
git clone <https://github.com/Kevin-Mena/Leaderboard-project.git>
```
### Install
Install this project with:
```sh
npm install
```
### Usage
To run the project, execute the following command:
- Open the terminal and execute
```sh
npm start
```
### Run tests
- On the terminal
```sh
npm test
```
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 👥 Authors <a name="authors"></a>
👤 **Kevin Okoth**
- GitHub: [@githubhandle](https://github.com/Kevin-Mena)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/kevin-okoth/)
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🔭 Future Features <a name="future-features"></a>
- [ ] **[Better UI design]**
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🤝 Contributing <a name="contributing"></a>
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/Kevin-Mena/Leaderboard-project/issues).
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## ⭐️ Show your support <a name="support"></a>
If you like this project,give it a ⭐️!
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 🙏 Acknowledgments <a name="acknowledgements"></a>
Thanks to everyone whose idea and codebase was used in this project🙏
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## ❓ FAQ (OPTIONAL) <a name="faq"></a>
N/A
<p align="right">(<a href="#readme-top">back to top</a>)</p>
## 📝 License <a name="license"></a>
This project is [MIT](./MIT.md) licensed.
<p align="right">(<a href="#readme-top">back to top</a>)</p>
| Leaderboard website that displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service. | css,html,linters,webpack,javascript | 2023-03-07T05:14:56Z | 2023-04-12T22:37:29Z | null | 1 | 3 | 15 | 1 | 0 | 4 | null | null | JavaScript |
ProjectPenrose/paradox | main | null | Simple vanilla JavaScript library for beginners | javascript,javascript-library,vanilla-javascript,dom-manipulation,pubsub,state-management | 2023-03-11T21:19:34Z | 2024-01-24T20:04:08Z | null | 2 | 18 | 204 | 0 | 1 | 4 | null | MIT | JavaScript |
shovo123/AL-Quran-project | main | null | Quran Project | api,css,html,javascript | 2023-02-28T20:03:06Z | 2023-02-28T20:08:15Z | null | 1 | 0 | 3 | 0 | 0 | 4 | null | null | JavaScript |
charliegerard/EscPosEncoder.js | main | # EscPosEncoder.js
Browser-based version of the awesome Node.js module [EscPosEncoder](https://github.com/NielsLeenheer/EscPosEncoder) by [@NielsLeenheer](https://github.com/NielsLeenheer)
## Installation
```js
import EscPosEncoder from "https://unpkg.com/escposencoder.js@1.0.1/dist/module.js";
```
## Usage
You should be able to use it the same way as is described in the [original module](https://github.com/NielsLeenheer/EscPosEncoder)
Example:
```js
import EscPosEncoder from "./escposencoder.js";
const posEncoder = new EscPosEncoder();
const encodedImage = posEncoder
.initialize()
.newline()
.text("HELLO WORLD")
.encode();
```
An example working with [Adafruit's Tiny Thermal printer](https://www.adafruit.com/product/2751#:~:text=Tiny%20Thermal%20Receipt%20Printer%20%2D%20TTL,fun%20DIY%20electronics%20and%20kits) can be found in the [example](./example) folder.
| Browser version of EscPosEncoder to send commands to a receipt printer 🖨️ | escpos,escpos-printer,iot,javascript,webusb | 2023-03-10T23:15:43Z | 2023-03-22T20:54:38Z | null | 1 | 0 | 7 | 0 | 0 | 4 | null | MIT | JavaScript |
ayushkavad/aethos-backend | master | null | REST API utilizing Node.js, Express.js, MongoDB and Mongoose (ODM) that helps connect user to instructors in a wide array of subject. | express,javascript,mongodb,mongodb-atlas,mongoose,multer,nodejs | 2023-02-25T11:52:31Z | 2024-01-14T13:59:18Z | null | 1 | 0 | 86 | 0 | 0 | 4 | null | null | JavaScript |
equipedevo/API_1 | main | <br id="topo">
<h1 style="text-align: center"> FATEC Profº Jessen Vidal, SJC - 1º Semestre DSM (2023)</h1>
## :mag_right: Índice
<p style="text-align: center">
<a href="#sobre">Sobre</a> |
<a href="#visão_do_produto">Visão do Produto</a> |
<a href="#sprints">Sprints</a> |
<a href="#tecnologias">Tecnologias</a> |
<a href="#backLog">BackLog</a> |
<a href="#projeto">Projeto</a> |
<a href="#equipe">Equipe</a>
</p>
<span id="sobre">
# :bulb: Sobre o Projeto
Conforme a demanda da 1º API (Aprendizagem por Projetos Integrados) (Abordando as disciplinas: "Design Digital", "Desenvolvimento Web I" e "Engenharia de Software"), foi realizado um aplicação web que demonstra dados do <a href="https://datasus.saude.gov.br/informacoes-de-saude-tabnet/r"> DATASUS TABNET </a>, com o objetivo de exibir algumas consequências ocasionadas pela COVID longa.
> _A API se trata de um projeto submetido à metodologia de ensino em implantação na Fatec São José dos Campos, desde o Segundo Semestre de 2019, do qual os alunos formam equipes baseadas na metodologia SCRUM, tendo um aluno como Scrum Master, um sendo o Product Owner e o restante dos integrates como Dev Team._
<br>
### Vídeo Final
<img src="https://github.com/equipedevo/API_1/blob/main/doc/sprint/Site_final.gif?raw=true">
> **Status do Projeto: Concluído :heavy_check_mark:**
→ [Voltar ao topo](#topo)
<span id="visão_do_produto">
# :eye: Visão do Produto
Para jornalistas que desejam ver os efeitos das sequelas da COVID-19 e encontram dificuldades em achar informações sobre a COVID longa. O CICOVALE (Central Informativa de COVID longa do Vale do Paraíba) é um site que possibilita ver e comparar dados sobre o impacto da COVID longa através de fontes públicas do Sistema Único de Saúde (SUS). Diferentemente de outras pesquisas relacionadas, o nosso produto possibilita a facilidade e interatividade da visão sobre os dados da COVID longa.
→ [Voltar ao topo](#topo)
<span id="sprints">
## :hourglass_flowing_sand: Entregas de Sprints
| Sprint | Entrega | Status | Tag |
| :------------------------------------------------------: | :------: | :----------: | :--: |
| [Sprint 1](./doc/sprint/Sprints%20Anteriores/Sprint1.md) | 02/04/23 | Concluído | V1.0 |
| [Sprint 2](./doc/sprint/Sprints%20Anteriores/Sprint2.md) | 23/04/23 | Concluído | V2.3 |
| [Sprint 3](./doc/sprint/Sprints%20Anteriores/Sprint3.md) | 14/05/23 | Concluído | V3.0 |
| [Sprint 4](./doc/sprint/README_sprint.md) | 04/06/23 | Concluído | V4.2 |
>Após clicar nos links da área Sprint você será redirecionado a página da sprint referente. Nela você encontrará: <br/>
>Sprint 1-3: Sobre a Sprint, Backlog, MVP e Tag. <br/>
>Sprint 1: Wireframe <br/>
>Sprint 2-4: Como Usar
→ [Voltar ao topo](#topo)
<span id="tecnologias">
## 🛠️ Tecnologias
Foram usadas na construção do projeto as seguintes ferramentas e linguagens:
- [Figma](http://www.figma.com): Prototipagem
- [GitHub](https://github.com/): Versionamento e documentação
- [Jira](https://www.atlassian.com/software/jira): Organização de tarefas
- [Python](https://www.python.org): Parte do Back-End, como ler arquivos csv e gerar os gráficos dos mesmos, tal qual realizar a conexão entre o site e o Banco de Dados
- [Flask](https://flask.palletsprojects.com): Utilizado como um servidor web
- [HTML](https://html.spec.whatwg.org): Utilizado para a estruturação das páginas do site
- [CSS](https://www.w3.org/Style/CSS/#specs): Utilizado para a estilização do site
- [SQL](https://www.w3schools.com/sql/): Utilizado para a criação e manutenção do banco de dados, especificamente para guardar o ranking dos filtros mais pesquisados no site
→ [Voltar ao topo](#topo)
<span id="backLog">
## :scroll:Backlog
[Backlog completo do projeto.](./doc/sprint/BacklogCompleto.md)
[Backlog da 4ª Sprint.](./doc/sprint/Backlog_sprint.md)
→ [Voltar ao topo](#topo)
<span id="projeto">
## :computer:Como executar nosso projeto
Para executar nosso projeto, entre no [readme](https://github.com/equipedevo/API_1/tree/main/src) da pasta `src` e siga os passos lá indicados.
→ [Voltar ao topo](#topo)
<span id="equipe">
## :busts_in_silhouette: Equipe
| Foto | Função | Nome | LinkedIn | GitHub |
| :----: | :-----------: | :-----------------------: | :------------------------------------------------------------: | :-----------------------------------------------: |
| <img src="https://avatars.githubusercontent.com/u/79608249?v=4" width="50px" style="border-radius:15px"> | Scrum Master | Bruno Serpa P. Carvalho | https://www.linkedin.com/in/brunoserpa/ | [GitHub](https://github.com/BrunoSerpa) |
| <img src="https://avatars.githubusercontent.com/u/110677265?v=4" width="50px" style="border-radius:15px"> | Product Owner | Caique Péricles Silva | https://www.linkedin.com/in/caiquepastelsilva | [GitHub](https://github.com/PasteldePaodeCoxinha) |
| <img src="https://media.licdn.com/dms/image/C4D03AQGTd4W294Wf3g/profile-displayphoto-shrink_800_800/0/1661381335596?e=2147483647&v=beta&t=xcDaKz9mTYTgF-IgoNCEqbVd5C0mSHiEukTr1cr38ow" width="50px" style="border-radius:15px"> | Dev Team | Diego José da Conceição | https://www.linkedin.com/in/diegando | [GitHub](https://github.com/diegojose94) |
| <img src="https://media.licdn.com/dms/image/D4E03AQGXwcy_4u-TOw/profile-displayphoto-shrink_800_800/0/1680608761312?e=2147483647&v=beta&t=mcMHDDqGD1cO3WMfbaQ9RXAMumrXcvDtsRIm608g_C8" width="50px" style="border-radius:15px"> | Dev Team | João Gabriel Alves Silva | https://www.linkedin.com/in/joaogabriel21 | [GitHub](https://github.com/LuckySky2) |
| <img src="https://avatars.githubusercontent.com/u/112097074?v=4" width="50px" style="border-radius:15px"> | Dev Team | Gabriel Lucena do Rosário | https://www.linkedin.com/in/lucena-gabriel | [GitHub](https://github.com/tGrimR34per) |
| <img src="https://media.licdn.com/dms/image/C4E03AQG3vHYhNcpzIA/profile-displayphoto-shrink_800_800/0/1646336622562?e=2147483647&v=beta&t=405OpQsC16famcsLgG-XXL-W2CGE0h1j8RiVXw3ghzY" width="50px" style="border-radius:15px"> | Dev Team | Nathalia Ellen Domingos | https://www.linkedin.com/in/nathalia-domingos15 | [GitHub](https://github.com/nathalia-domingos) |
| <img src="https://avatars.githubusercontent.com/u/126725401?v=4" width="50px" style="border-radius:15px"> | Dev Team | Pedro Augusto N. Silva | https://www.linkedin.com/in/pedroaugustonogueira | [GitHub](https://github.com/pedroansdev) |
| <img src="https://avatars.githubusercontent.com/u/76886825?v=4" width="50px" style="border-radius:15px"> | Dev Team | Rafael Nunes de F. Silva | https://www.linkedin.com/in/rafael-nunes-silva | [GitHub](https://github.com/Rafael-Nunes-Silva) |
→ [Voltar ao topo](#topo)
| Referente a API do 1º Semestre da FATEC | analise-de-dados,css,flask,graficos,html,javascript,python,aprendizado-por-projeto-integrado | 2023-03-10T18:46:53Z | 2023-09-18T12:56:03Z | null | 10 | 2 | 442 | 0 | 3 | 4 | null | MIT | Python |
zakharb/AIreading | main | <p align="center">
<img src="https://user-images.githubusercontent.com/101948294/224011944-f5d171ef-9c38-4031-ba0a-a76d04900c09.png" alt="Angry Birds Font" />
</p>
<p align="center">
<a href="https://git.io/typing-svg">
<img src="https://readme-typing-svg.herokuapp.com?font=Fira+Code&weight=600&pause=1000&color=E11E7B¢er=true&width=435&lines=Read+fast+with+AI+power.;Learn for fun!" alt="Typing SVG" />
</a>
</p>
<p align="center">
<img src="https://img.shields.io/badge/version-1.0-blue" height="20"/>
<img src="https://img.shields.io/badge/python-3.11-blue" height="20"/>
</p>
<p align="center">
<img src="https://user-images.githubusercontent.com/101948294/224011809-81c79668-eb40-4e7e-b61d-0f99cafd67cb.gif" alt="animated" />
</p>
## :red_square: Getting Started
[AIreading](https://github.com/zakharb/aireading) is the simple tool to work with text using OpenAI like ChatGPT. It helps to find vocabulary in the text, generate short description and main idea for text and suggest to you similar stories.
Online [Demo site](https://aireding-1-x9379886.deta.app/) where you can try it!
### Requirements



### Install and run
Clone the project
```sh
git clone git@github.com:zakharb/aireading.git
cd aireading
```
Create API key on [OpenAI site](https://platform.openai.com/account/api-keys)
Write created API key to `OPENAI_API_KEY` variable into `docker-compose.yml` file
```
services:
aireading:
build: ./aireading
command: uvicorn app.main:app --host 0.0.0.0 --port 8080 --forwarded-allow-ips=* --proxy-headers
volumes:
- ./aireading/:/app/
environment:
- OPENAI_API_KEY=sk-asjhdAWEhw781h2ih2UIHADG@G3792q1u23hiUWHAUWEhiq
```
Start docker-compose
```
docker-compose up -d --build
```
Open site [locally](http://localhost:8080) by address
```
http://localhost:8080
```
## :red_square: Deployment to Deta
Deployment is described in this [gudie](https://deta.space/docs/en/basics/cli)
Install Deta Space CLI
```sh
curl -fsSL https://get.deta.dev/space-cli.sh | sh
```
Generate an access token on [Space dashboard](https://deta.space/)
Login to Deta Space
```sh
space login
```
Go to folder and create project
```sh
cd aireading
space new
```
Push the project
```sh
space push
```
## :red_square: Versioning
Using [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/zakharb/syslogen/tags).
## :red_square: Authors
* **Zakhar Bengart** - *Initial work* - [Ze](https://github.com/zakharb)
See also the list of [contributors](https://github.com/zakharb/syslogen/contributors) who participated in this project.
## :red_square: License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation - see the [LICENSE](LICENSE) file for details
| Easy read text and learn new words with OpenAI | css,javascript,reading,webdesign,chatgpt,fastapi,openai,python3 | 2023-03-07T14:58:30Z | 2023-03-26T10:14:47Z | null | 1 | 11 | 28 | 0 | 0 | 4 | null | GPL-3.0 | CSS |
IvanTymoshchuk/goit-js-hw-09 | main | **Read in other languages: [Українська](README.md), [English](README.en.md).**
# Критерії приймання
- Створено репозиторій `goit-js-hw-09`.
- Домашня робота містить два посилання для кожного проекту: на вихідні файли і
робочу сторінку на `GitHub Pages`.
- В консолі відсутні помилки і попередження під час відкриття живої сторінки
завдання.
- Проект зібраний за допомогою
[parcel-project-template](https://github.com/goitacademy/parcel-project-template).
- Код відформатований за допомогою `Prettier`.
## Стартові файли
У [папці src](./src) знайдеш стартові файли з готовою розміткою, стилями і
підключеними файлами скриптів для кожного завдання. Скопіюй їх собі у проект,
повністю замінивши папку `src` в
[parcel-project-template](https://github.com/goitacademy/parcel-project-template).
Для цього завантаж увесь цей репозиторій як архів або використовуй
[сервіс DownGit](https://downgit.github.io/) для завантаження окремої папки з
репозиторія.
## Завдання 1 - перемикач кольорів
Виконуй це завдання у файлах `01-color-switcher.html` і `01-color-switcher.js`.
Подивися демо-відео роботи перемикача.
https://user-images.githubusercontent.com/17479434/127716753-fabd276f-6a7d-411b-bfa2-01c818f4ea66.mp4
HTML містить кнопки «Start» і «Stop».
```html
<button type="button" data-start>Start</button>
<button type="button" data-stop>Stop</button>
```
Напиши скрипт, який після натискання кнопки «Start», раз на секунду змінює колір
фону `<body>` на випадкове значення, використовуючи інлайн стиль. Натисканням на
кнопку «Stop» зміна кольору фону повинна зупинятися.
> ⚠️ Враховуй, що на кнопку «Start» можна натиснути нескінченну кількість разів.
> Зроби так, щоб доки зміна теми запущена, кнопка «Start» була неактивною
> (disabled).
Для генерування випадкового кольору використовуй функцію `getRandomHexColor`.
```js
function getRandomHexColor() {
return `#${Math.floor(Math.random() * 16777215).toString(16)}`;
}
```
## Завдання 2 - таймер зворотного відліку
Виконуй це завдання у файлах `02-timer.html` і `02-timer.js`. Напиши скрипт
таймера, який здійснює зворотний відлік до певної дати. Такий таймер може
використовуватися у блогах та інтернет-магазинах, сторінках реєстрації подій,
під час технічного обслуговування тощо. Подивися демо-відео роботи таймера.
https://user-images.githubusercontent.com/17479434/127672390-2a51efe1-06fb-41dd-86dd-8542393d3043.mp4
### Елементи інтефрейсу
HTML містить готову розмітку таймера, поля вибору кінцевої дати і кнопку, по
кліку на яку, таймер повинен запускатися. Додай мінімальне оформлення елементів
інтерфейсу.
```html
<input type="text" id="datetime-picker" />
<button type="button" data-start>Start</button>
<div class="timer">
<div class="field">
<span class="value" data-days>00</span>
<span class="label">Days</span>
</div>
<div class="field">
<span class="value" data-hours>00</span>
<span class="label">Hours</span>
</div>
<div class="field">
<span class="value" data-minutes>00</span>
<span class="label">Minutes</span>
</div>
<div class="field">
<span class="value" data-seconds>00</span>
<span class="label">Seconds</span>
</div>
</div>
```
### Бібліотека `flatpickr`
Використовуй бібліотеку [flatpickr](https://flatpickr.js.org/) для того, щоб
дозволити користувачеві кросбраузерно вибрати кінцеву дату і час в одному
елементі інтерфейсу. Для того щоб підключити CSS код бібліотеки в проект,
необхідно додати ще один імпорт, крім того, що описаний в документації.
```js
// Описаний в документації
import flatpickr from 'flatpickr';
// Додатковий імпорт стилів
import 'flatpickr/dist/flatpickr.min.css';
```
Бібліотека очікує, що її ініціалізують на елементі `input[type="text"]`, тому ми
додали до HTML документу поле `input#datetime-picker`.
```html
<input type="text" id="datetime-picker" />
```
Другим аргументом функції `flatpickr(selector, options)` можна передати
необов'язковий об'єкт параметрів. Ми підготували для тебе об'єкт, який потрібен
для виконання завдання. Розберися, за що відповідає кожна властивість в
[документації «Options»](https://flatpickr.js.org/options/), і використовуй його
у своєму коді.
```js
const options = {
enableTime: true,
time_24hr: true,
defaultDate: new Date(),
minuteIncrement: 1,
onClose(selectedDates) {
console.log(selectedDates[0]);
},
};
```
### Вибір дати
Метод `onClose()` з об'єкта параметрів викликається щоразу під час закриття
елемента інтерфейсу, який створює `flatpickr`. Саме у ньому варто обробляти
дату, обрану користувачем. Параметр `selectedDates` - це масив обраних дат, тому
ми беремо перший елемент.
- Якщо користувач вибрав дату в минулому, покажи `window.alert()` з текстом
`"Please choose a date in the future"`.
- Якщо користувач вибрав валідну дату (в майбутньому), кнопка «Start» стає
активною.
- Кнопка «Start» повинна бути неактивною доти, доки користувач не вибрав дату в
майбутньому.
- Натисканням на кнопку «Start» починається відлік часу до обраної дати з
моменту натискання.
### Відлік часу
Натисканням на кнопку «Start» скрипт повинен обчислювати раз на секунду, скільки
часу залишилось до вказаної дати, і оновлювати інтерфейс таймера, показуючи
чотири цифри: дні, години, хвилини і секунди у форматі `xx:xx:xx:xx`.
- Кількість днів може складатися з більше, ніж двох цифр.
- Таймер повинен зупинятися, коли дійшов до кінцевої дати, тобто `00:00:00:00`.
> 💡 Не будемо ускладнювати. Якщо таймер запущений, для того щоб вибрати нову
> дату і перезапустити його - необхідно перезавантажити сторінку.
Для підрахунку значень використовуй готову функцію `convertMs`, де `ms` -
різниця між кінцевою і поточною датою в мілісекундах.
```js
function convertMs(ms) {
// Number of milliseconds per unit of time
const second = 1000;
const minute = second * 60;
const hour = minute * 60;
const day = hour * 24;
// Remaining days
const days = Math.floor(ms / day);
// Remaining hours
const hours = Math.floor((ms % day) / hour);
// Remaining minutes
const minutes = Math.floor(((ms % day) % hour) / minute);
// Remaining seconds
const seconds = Math.floor((((ms % day) % hour) % minute) / second);
return { days, hours, minutes, seconds };
}
console.log(convertMs(2000)); // {days: 0, hours: 0, minutes: 0, seconds: 2}
console.log(convertMs(140000)); // {days: 0, hours: 0, minutes: 2, seconds: 20}
console.log(convertMs(24140000)); // {days: 0, hours: 6 minutes: 42, seconds: 20}
```
### Форматування часу
Функція `convertMs()` повертає об'єкт з розрахованим часом, що залишився до
кінцевої дати. Зверни увагу, що вона не форматує результат. Тобто, якщо
залишилося 4 хвилини або будь-якої іншої складової часу, то функція поверне `4`,
а не `04`. В інтерфейсі таймера необхідно додавати `0`, якщо в числі менше двох
символів. Напиши функцію `addLeadingZero(value)`, яка використовує метод
`padStart()` і перед рендерингом інтефрейсу форматує значення.
### Бібліотека повідомлень
> ⚠️ Наступний функціонал не обов'язковий для здавання завдання, але буде
> хорошою додатковою практикою.
ДДля відображення повідомлень користувачеві, замість `window.alert()`,
використовуй бібліотеку [notiflix](https://github.com/notiflix/Notiflix#readme).
## Завдання 3 - генератор промісів
Виконуй це завдання у файлах `03-promises.html` і `03-promises.js`. Подивися
демо-відео роботи генератора промісів.
https://user-images.githubusercontent.com/17479434/127932183-42232f26-4db2-4614-86bc-6bec54b1d6a4.mp4
HTML містить розмітку форми, в поля якої користувач буде вводити першу затримку
в мілісекундах, крок збільшення затримки для кожного промісу після першого і
кількість промісів, яку необхідно створити.
```html
<form class="form">
<label>
First delay (ms)
<input type="number" name="delay" required />
</label>
<label>
Delay step (ms)
<input type="number" name="step" required />
</label>
<label>
Amount
<input type="number" name="amount" required />
</label>
<button type="submit">Create promises</button>
</form>
```
Напиши скрипт, який на момент сабміту форми викликає функцію
`createPromise(position, delay)` стільки разів, скільки ввели в поле `amount`.
Під час кожного виклику передай їй номер промісу (`position`), що створюється, і
затримку, враховуючи першу затримку (`delay`), введену користувачем, і крок
(`step`).
```js
function createPromise(position, delay) {
const shouldResolve = Math.random() > 0.3;
if (shouldResolve) {
// Fulfill
} else {
// Reject
}
}
```
Доповни код функції `createPromise` таким чином, щоб вона повертала **один
проміс**, який виконується або відхиляється через `delay` часу. Значенням
промісу повинен бути об'єкт, в якому будуть властивості `position` і `delay` зі
значеннями однойменних параметрів. Використовуй початковий код функції для
вибору того, що потрібно зробити з промісом - виконати або відхилити.
```js
createPromise(2, 1500)
.then(({ position, delay }) => {
console.log(`✅ Fulfilled promise ${position} in ${delay}ms`);
})
.catch(({ position, delay }) => {
console.log(`❌ Rejected promise ${position} in ${delay}ms`);
});
```
### Бібліотека повідомлень
> ⚠️ Наступний функціонал не обов'язковий для здавання завдання, але буде
> хорошою додатковою практикою.
Для відображення повідомлень користувачеві, замість `console.log()`,
використовуй бібліотеку [notiflix](https://github.com/notiflix/Notiflix#readme).
---
# Parcel template
Этот проект был создан при помощи Parcel. Для знакомства и настройки
дополнительных возможностей [обратись к документации](https://parceljs.org/).
## Подготовка нового проекта
1. Убедись что на компьютере установлена LTS-версия Node.js.
[Скачай и установи](https://nodejs.org/en/) её если необходимо.
2. Склонируй этот репозиторий.
3. Измени имя папки с `parcel-project-template` на имя своего проекта.
4. Создай новый пустой репозиторий на GitHub.
5. Открой проект в VSCode, запусти терминал и свяжи проект с GitHub-репозиторием
[по инструкции](https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories#changing-a-remote-repositorys-url).
6. Установи зависимости проекта в терминале командой `npm install` .
7. Запусти режим разработки, выполнив команду `npm start`.
8. Перейди в браузере по адресу [http://localhost:1234](http://localhost:1234).
Эта страница будет автоматически перезагружаться после сохранения изменений в
файлах проекта.
## Файлы и папки
- Все паршалы файлов стилей должны лежать в папке `src/sass` и импортироваться в
файлы стилей страниц. Например, для `index.html` файл стилей называется
`index.scss`.
- Изображения добавляй в папку `src/images`. Сборщик оптимизирует их, но только
при деплое продакшн версии проекта. Все это происходит в облаке, чтобы не
нагружать твой компьютер, так как на слабых машинах это может занять много
времени.
## Деплой
Для настройки деплоя проекта необходимо выполнить несколько дополнительных шагов
по настройке твоего репозитория. Зайди во вкладку `Settings` и в подсекции
`Actions` выбери выбери пункт `General`.

Пролистай страницу до последней секции, в которой убедись что выбраны опции как
на следующем изображении и нажми `Save`. Без этих настроек у сборки будет
недостаточно прав для автоматизации процесса деплоя.

Продакшн версия проекта будет автоматически собираться и деплоиться на GitHub
Pages, в ветку `gh-pages`, каждый раз когда обновляется ветка `main`. Например,
после прямого пуша или принятого пул-реквеста. Для этого необходимо в файле
`package.json` отредактировать поле `homepage` и скрипт `build`, заменив
`your_username` и `your_repo_name` на свои, и отправить изменения на GitHub.
```json
"homepage": "https://your_username.github.io/your_repo_name/",
"scripts": {
"build": "parcel build src/*.html --public-url /your_repo_name/"
},
```
Далее необходимо зайти в настройки GitHub-репозитория (`Settings` > `Pages`) и
выставить раздачу продакшн версии файлов из папки `/root` ветки `gh-pages`, если
это небыло сделано автоматически.

### Статус деплоя
Статус деплоя крайнего коммита отображается иконкой возле его идентификатора.
- **Желтый цвет** - выполняется сборка и деплой проекта.
- **Зеленый цвет** - деплой завершился успешно.
- **Красный цвет** - во время линтинга, сборки или деплоя произошла ошибка.
Более детальную информацию о статусе можно посмотреть кликнув по иконке, и в
выпадающем окне перейти по ссылке `Details`.

### Живая страница
Через какое-то время, обычно пару минут, живую страницу можно будет посмотреть
по адресу указанному в отредактированном свойстве `homepage`. Например, вот
ссылка на живую версию для этого репозитория
[https://goitacademy.github.io/parcel-project-template](https://goitacademy.github.io/parcel-project-template).
Если открывается пустая страница, убедись что во вкладке `Console` нет ошибок
связанных с неправильными путями к CSS и JS файлам проекта (**404**). Скорее
всего у тебя неправильное значение свойства `homepage` или скрипта `build` в
файле `package.json`.
## Как это работает

1. После каждого пуша в ветку `main` GitHub-репозитория, запускается специальный
скрипт (GitHub Action) из файла `.github/workflows/deploy.yml`.
2. Все файлы репозитория копируются на сервер, где проект инициализируется и
проходит сборку перед деплоем.
3. Если все шаги прошли успешно, собранная продакшн версия файлов проекта
отправляется в ветку `gh-pages`. В противном случае, в логе выполнения
скрипта будет указано в чем проблема.
| Homework. Teaching 📚 | css,goit-js-hw-09,html-css-javascript,html5,javascript,js,practice-javascript,practice-programming | 2023-03-07T18:19:16Z | 2023-03-22T16:49:54Z | null | 3 | 0 | 92 | 0 | 0 | 4 | null | null | JavaScript |
llegomark/betterlegal | master | # AI-Powered Legal Guidance
Welcome to AI-Powered Legal Guidance, a platform that provides general legal information and guidance related to Philippine law using artificial intelligence.
## About the Project
This project aims to assist individuals who have legal questions and concerns related to Philippine law. With the use of artificial intelligence, we provide general legal information and guidance related to various areas of law, including Employment Law, Property Law, and more.
## Getting Started
To use the platform, simply input your legal question and select the specific area of law that your question pertains to from the dropdown menu. You will then receive general legal information and guidance related to your legal issue.
Please note that the legal information we provide is not a substitute for legal advice from a licensed attorney. If you require legal advice, we can assist you in finding a licensed attorney who can provide you with the legal advice you need.
## Contributing
If you would like to contribute to the development of this project, please contact us at markllego@gmail.com to discuss how you can get involved.
## Generating Legal Guidance using OpenAI API
To generate legal guidance using OpenAI API, the website makes use of a few key files: Generate.ts, BetterLegal.ts, and Middleware.ts.
### Generate.ts
The Generate.ts file contains the code for generating legal guidance using OpenAI API. The code is written in TypeScript.
First, the file defines a list of OpenAI API keys. If additional API keys are needed, they can be added to the list. The code then checks if all API keys are available, and if any are missing, an error is thrown.
```
const API_KEYS: string[] = [
process.env.OPENAI_API_KEY1 as string,
process.env.OPENAI_API_KEY2 as string,
process.env.OPENAI_API_KEY3 as string,
// add more API keys as necessary
];
if (!API_KEYS.every(Boolean)) {
throw new Error("Missing env var(s) from OpenAI");
}
```
Next, the interface for the request body is defined. The request body must contain a prompt string for generating the legal guidance.
```
interface RequestBody {
prompt: string;
}
```
The configuration object for the Next.js API route is defined next. It specifies that the code should run on the "edge" runtime.
```
export const config = {
runtime: "edge",
};
```
The main function in Generate.ts is an async function that handles the Next.js API request. The prompt is obtained from the request body, and if it is not provided, an error response is returned.
```
const handler = async (req: NextRequest): Promise<Response> => {
const { prompt } = (await req.json()) as RequestBody;
if (!prompt) {
return new Response("No prompt in the request", {
status: 400,
statusText: "Bad Request",
});
}
```
The GPT3Tokenizer is used to count the number of tokens in the prompt, and the maximum number of tokens allowed for the prompt is set to 400. If the prompt exceeds the maximum number of tokens, an error response is returned.
```
const tokenizer = new gpt3Tokenizer({ type: 'gpt3' });
const tokens = tokenizer.encode(prompt);
const numTokens = tokens.bpe.length;
const MAX_PROMPT_TOKENS = 400;
if (numTokens > MAX_PROMPT_TOKENS) {
return new Response(`The prompt has ${numTokens} tokens, which exceeds the maximum limit of ${MAX_PROMPT_TOKENS} tokens.`, {
status: 400,
statusText: "Bad Request",
});
}
```
One of the API keys is randomly selected, and the API parameters for the OpenAI text completion request are set. The function then calls the OpenAI API to stream the generated text. If there is an error in the process, an error response is returned.
```
try {
// Call the OpenAI API to stream the generated text
const stream = await OpenAIStream(payload, apiKey);
// Return the response from the OpenAI stream as the response to the API request
return new Response(stream);
} catch (e) {
console.error(e);
// If there is any error in the process, return an error response
return new Response("Failed to fetch stream from OpenAI", {
status: 500,
statusText: "Internal Server Error",
});
}
```
### BetterLegal.ts
The BetterLegal.ts file contains the function OpenAIStream that is called from Generate.ts to handle the streaming of data from the OpenAI API. The function takes in the payload object and an API key, and returns a readable stream that will continuously receive data from the OpenAI API until it returns the "[DONE]" message.
The function first creates a text encoder and decoder, and sets a counter to zero.
```
const encoder = new TextEncoder();
const decoder = new TextDecoder();
let counter = 0;
```
The function then sends a POST request to the OpenAI API with the given payload and API key. If the response is not successful, an error is thrown.
```
const res = await fetch("https://api.openai.com/v1/chat/completions", {
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${apiKey}`,
},
method: "POST",
body: JSON.stringify(payload),
});
// Throw an error if the response is not successful
if (!res.ok) {
throw new Error(`Failed to fetch stream from OpenAI: ${res.statusText}`);
}
```
A ReadableStream object is then created that will continuously receive data from the response.
```
const stream = new ReadableStream({
async start(controller) {
// Define a callback function to handle incoming data
function onParse(event: ParsedEvent | ReconnectInterval) {
if (event.type === "event") {
const data = event.data;
// Close the stream if the OpenAI API returns the "[DONE]" message
if (data === "[DONE]") {
controller.close();
return;
}
//... Continue the rest of the code
}
}
//... Continue the rest of the code
},
async cancel() {
//... Continue the rest of the code
},
});
return stream;
```
The start() method of the ReadableStream is an async function that is called when the stream is started. It defines a callback function onParse to handle incoming data. If the data is the "[DONE]" message, the stream is closed. If the data contains generated text, the text is extracted and enqueued as encoded binary data in the stream.
```
try {
const parsedData = JSON.parse(data) as OpenAIResponse;
if (parsedData.choices && parsedData.choices.length > 0) {
const choice = parsedData.choices[0];
if (choice && choice.delta?.content) {
text = choice.delta.content;
}
}
} catch (e) {
console.error(e);
}
```
The cancel() method of the ReadableStream is an async function that is called when the stream is cancelled. It cancels the response if the stream is closed or an error occurs.
```
async cancel() {
if (res.body && typeof res.body.cancel === "function") {
try {
await res.body.cancel();
} catch (e) {
console.error(e);
}
}
},
```
### Middleware.ts
The Middleware.ts file contains the middleware function that enforces rate limiting for requests to the "/api/generate" path. The function is exported as the default export.
The middleware function takes in the request and event objects, which represent the incoming HTTP request and Next.js fetch event, respectively. It returns a response or undefined.
```
export default async function middleware(
request: NextRequest,
event: NextFetchEvent
): Promise<Response | undefined> {
//... Continue the rest of the code
}
```
The function first gets the user's IP address from the request, defaulting to "127.0.0.1" if not present.
```
const ip = request.ip ?? "127.0.0.1";
```
It then uses the ratelimit library to get information about the user's request limit. If the user has not exceeded the request limit, a NextResponse.next() response is returned. Otherwise, the user is redirected to the "/api/blocked" endpoint.
```
const ratelimitInfo: RatelimitInfo = await ratelimit.limit(`mw_${ip}`);
event.waitUntil(ratelimitInfo.pending);
const response = ratelimitInfo.success
? NextResponse.next()
: NextResponse.redirect(new URL("/api/blocked", request.url), request);
```
The response headers are then set to indicate the rate limit and remaining requests.
```
response.headers.set("X-RateLimit-Limit", ratelimitInfo.limit.toString());
response.headers.set(
"X-RateLimit-Remaining",
ratelimitInfo.remaining.toString()
);
response.headers.set("X-RateLimit-Reset", ratelimitInfo.reset.toString());
```
Finally, the function returns the response.
```
return response;
```
The config object is also exported, specifying that this middleware should be applied to requests matching the "/api/generate" path.
```
export const config = {
matcher: "/api/generate",
};
```
| Get reliable legal information and guidance related to Philippine law from our AI-powered platform. We provide general legal information on various areas of law, including Employment Law, Property Law, and more. Contact us today for assistance with your legal questions. | ai,artificial-intelligence,openai,laws,lawyer,machine-learning,machine-learning-algorithms,philippines,javascript,nextjs | 2023-02-26T06:24:37Z | 2023-03-03T06:53:06Z | null | 1 | 2 | 9 | 0 | 1 | 4 | null | MIT | TypeScript |
postlight/seasons | main | # Astronomical Seasons
This package calculates the astronomical season for a given date or year.
Astronomical seasons are based around natural rotation of the Earth around the sun. Each season begins with either a solstice or an equinox, and which season those represent depends on which side of the equator you're on. Learn more about astronomical and meteorological (month-based) seasons [here](https://www.ncei.noaa.gov/news/meteorological-versus-astronomical-seasons).
**Features**
- Get the current season of a date
- Get the date and time of the solstice/equinox in a month, which marks the beginning of a season
- As a UTC datetime
- As a Julian Day
- Get a list of all the solstices and equinoxes in a given year, which mark the beginning of a new season
## Installation
```bash
yarn add @postlight/seasons
# or
npm install @postlight/seasons
```
## Usage
The package can be called using import or required, and has been built for both CommonJS and ECMAScript module formats.
Below example demonstrates how to get the current season of a date.
```javascript
import { getCurrentSeason } from "@postlight/seasons";
const currentSeason = getCurrentSeason(new Date());
console.log(currentSeason);
```
## Functions
`getCurrentSeason(date, isNorthernHemisphere?)`
Gets the name of the current season for the date. Since season names are different in each hemisphere, "isNorthernHemisphere" is an optional argument and defaults to true. The season is determined on the local timezone, since the UTC date must be converted to a timezone since some solstices and equinoxes are different dates (ex: December 2023).
This function returns "spring", "summer", "winter", or "fall"
`getSeasonStart(monthIndex, year)`
Gets the next upcoming equinox or solstice, which is the start of the astronomical season. This returns the date and time in UTC, and it needs to be converted to the local datetime to get the correct season start date.
Example usage to get the December solstice in 2023 for EST timezone:
```javascript
// Get start of winter in northern hemisphere for EST timezone
seasons.getSeasonStart(11, 2023).toLocaleString("en-US", {
timeZone: "America/New_York",
});
// Should output: 12/21/2023, 10:28:45 PM
```
```javascript
const utcSeasonStart = seasons.getSeasonStart(11, 2023); // result: 2023-12-22T03:28:45.400Z
// Convert UTC season start date to local season start date
const localStart = new Date(
utcSeasonStart.getFullYear(),
utcSeasonStart.getMonth(),
utcSeasonStart.getDate()
);
// If local is EST timezone, should output: 2023-12-21T05:00:00.000Z
```
`getSeasons(year)`
Returns a list of all the seasons in a year as UTC dates. These dates will need to be converted to the local datetime to get the correct season start date.
Result format: [march-equinox, june-solstice, september-equinox, december-solstice]
`getSeasonStartJulianDay(monthIndex, year)`
Returns the upcoming solstice or equinox for a month and year as a Julian Day.
`getDateFromJulianDay(julianDay: number)`
Converts a Julian day into a UTC date.
## Sources
Below are sources that were used to create this astronomical season calculator.
- Astronomical Algorithms by Jean Meeus, 2nd edition
- [US Navy Julian Date Converter](https://aa.usno.navy.mil/calculated/calendardate?ID=AA&jd=2437837.39245&submit=Get+Date)
## License
Licensed under either of the below, at your preference:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
---
🔬 A Labs project from your friends at [Postlight](https://postlight.com). Happy coding!
| :moon: Calculates the astronomical season for a given date or year | labs,astronomical-algorithms,javascript,seasons,typescript | 2023-03-07T21:57:03Z | 2023-03-22T15:28:34Z | 2023-03-22T15:28:34Z | 5 | 0 | 19 | 1 | 0 | 4 | null | MIT | TypeScript |
dkrupali56/60-Days-Code | main | Hii there, Myself Krupali Desai. I'm currently working on frontend development.
# 60-Days-Code
To improve my skills with projects I made "60-Days-Code". This is challenging for me as a begginer still I complete this 60 days challenge. "60-days-code" is a grand challenge as a repository where I add daily frontend projects for 60 consicutive days using 3 web languages (HTML, CSS, JavaScript). As a coder, It is important to constantly practice and work with projects. For 2 months, I uploaded a new project to this repository, This gives me an opportunity to explore different patterns of syntax andd logics.
At the end of 60 days, I have not only completed 60 unique projects, But also improved my frontend skills and through this projects I learnt to solve various types of errors and I gained valueable experience working on variety of different projects.
# List Of My 60 Projects
I made this 60 projects during this challenge. Let's see what I create in just 60 days!
1. 3D Boxes Background
2. Accordion
3. Animated Header
4. Animation Effect
5. Auto-Text-Effect
6. Back Shadow
7. Bookmark Landing Page
8. CSS Grid Lauouts
9. Calorie Counter
10. Carousel
11. Circular Page Loader
12. Color Flipper
13. Color Theme Switcher
14. Contact Management System
15. Countdown Timer
16. CurrencyConverter
17. Daily Quotes
18. Digital Clock
19. Drag And Drop
20. Dropdown Menu
21. Event Keycodes
22. Experience Project
23. FAQ Section
24. Feedback UI Designs
25. Flip Card
26. Form Input Wave
27. Front Fusion
28. Front Gradiation
29. Front Shiner
30. GitHub User Search
31. Hover Effects
32. Interactive Pricing Component
33. Like Button
34. Music Player
35. Notes
36. Parallax Scrolling
37. Password Generator
38. Password Strength Checker
39. pixelate
40. Pomodoro Timer
41. Process Bar
42. Quiz App
43. Radio Button
44. Random Color Generator
45. Random Number Generator
46. Rock Paper Scisors Game
47. Sign Up Page
48. Simple Drawing Tools
49. Social Media Icons
50. Sortable List
51. Star Rating
52. Stop Watch
53. Temperature Converter
54. Testimonials Grid Section
55. Text Effects
56. Toggle Switch
57. Transition Effect
58. Vertical Slider
59. Weather App
60. Web Page
| Embark on a 60-day journey of frontend development mastery with '60-Days-Code'. Explore a plethora of projects ranging from CSS animations to interactive UI components, honing your skills in HTML, CSS, and JavaScript along the way. | css,html,javascript | 2023-03-11T16:06:22Z | 2023-06-22T11:50:07Z | null | 2 | 1 | 86 | 0 | 0 | 4 | null | null | CSS |
mhamzashaikh/React-Native-Patient-Tracker-App | main | 
# Patient Tracker App
**Patient Tracker App** is a mobile application built on React Native Expo and Firebase RealTime DB to help doctors manage their patients' records more efficiently. The app allows doctors to enter, save, and view patient details, search for patients by name or appointment date, and view patient history when needed.
## Features
- **Patient entry:** Doctor may enter details of any patient with related data.
- **Entry saving:** The system saves this entry in its mobile database for later viewing.
- **History viewing:** The system allows the doctor to view patient history as and when needed.
- **Search by name:** The application allows the doctor to search for any patient by name.
- **Search by date:** The application allows the doctor to search for patients by appointment date.
## Technology Stack
- React Native Expo
- Firebase RealTime DB
## Getting Started
To get started with the app, follow these steps:
1. Clone this repo to your local machine using `https://github.com/mhamzashaikh/React-Native-Patient-Tracker-App.git`
2. Install all dependencies by running `npm install`
3. Create a Firebase RealTime DB project and configure it in `firebaseConfig.js`
4. Start the app with `expo start`
5. Use an emulator or scan the QR code to launch the app on your device.
## Try It Out
You can try out the Patient Tracker App by following these steps:
1. Install the Expo Go app on your mobile device.
2. Open the Expo Go app and scan the QR code from this link: https://expo.dev/@hamzashaikh456/patient-tracker-app
| Patient Tracker App is a mobile application built on React Native Expo and Firebase RealTime DB to help doctors manage their patients' records more efficiently. The app allows doctors to enter, save, and view patient details, search for patients by name or appointment date, and view patient history when needed. | expo,firebase,react-native,hybrid-apps,javascript,management-system,patient-tracking | 2023-03-06T08:55:01Z | 2023-05-03T09:32:35Z | null | 1 | 0 | 11 | 0 | 2 | 4 | null | null | JavaScript |
ahkamboh/Portfolio | main | # Portfolio Repository
Welcome to the GitHub repository for ALI HAMZA Kamboh's portfolio. This repository showcases the work, projects, and accomplishments of Ali Hamza Kamboh in a sleek and organized manner. The portfolio is designed to provide insights into ahk's skills, experience, and areas of expertise.
---
This repository demonstrates Ali Hamza Kamboh's dedication to his craft and his eagerness to take on new challenges. It stands as a testament to his achievements and offers a glimpse into the value he brings to the world of technology and innovation. For a more comprehensive view, visit the [live portfolio](https://alihamzakamboh.com).
| Clone it from @codewithsadee, Personal Portfolio for preview click on the link mentioned below ↓ | ahkamboh,alihamzakamboh,css,frontend,html,javascript,personal-website,portfolio,portfolio-page,portfolio-site | 2023-03-02T19:00:20Z | 2024-02-28T09:29:37Z | null | 1 | 0 | 231 | 0 | 2 | 4 | null | MIT | HTML |
alaminniyaz/portfolio-demo | main |
# Portfolio Website
**A Simple & Clean Website for Developers 🚀**

## Sections 🎯
- **Home**
- **About**
- **Skills**
- **Work**
- **Contact**
## Features 🎉
- **Multi Page 💎**
- **Easy to Use 💻**
- **Fully Responsive 🚀**
- **Free to Use ( OpenSource ) 🥳**
- **Super Fast and Optimized for SEO ⚡**
- **Great Audits Score 🎖️**
## Technologies used 🛠️
- **HTML**
- **CSS**
- **Javascript**
## Links 🔗
[](https://ialamin.netlify.app/)
[](https://twitter.com/ialamin69)
| Simple & Clean Website for Developers 💻🚀 | css,html,html-css-javascript,javascript,portfolio,portfolio-project,portfolio-site,portfolio-website,responsive,ui-design | 2023-02-26T04:35:46Z | 2023-03-01T13:37:04Z | null | 1 | 0 | 5 | 0 | 0 | 4 | null | null | HTML |
Dhanush-Saji/happy-cart | main | <h1 align="center">Happy Cart</h1>
<h3 align="center">An e-commerce platform</h3>
<br />
<h2 align="center">🖥️ Tech Stacks</h2>
<h4 align="center">Frontend:</h4>
<p align="center">
<img src="https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB" alt="reactjs" />
<img src="https://img.shields.io/badge/Chakra%20UI-3bc7bd?style=for-the-badge&logo=chakraui&logoColor=white" alt="chakra-ui" />
<img src="https://img.shields.io/badge/JavaScript-323330?style=for-the-badge&logo=javascript&logoColor=F7DF1E" alt="javascript" />
<img src="https://img.shields.io/badge/SASS-hotpink.svg?style=for-the-badge&logo=SASS&logoColor=white" alt="sass" />
<img src="https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white" alt="html5" />
<img src="https://img.shields.io/badge/redux-%23593d88.svg?style=for-the-badge&logo=redux&logoColor=white" alt="redux" />
<img src="https://img.shields.io/badge/threejs-black?style=for-the-badge&logo=three.js&logoColor=white" alt="threejs" />
<img src="https://img.shields.io/badge/Stripe-626CD9?style=for-the-badge&logo=Stripe&logoColor=white" alt="stripe" />
</p>
<h4 align="center">Backend:</h4>
<p align="center">
<img src="https://img.shields.io/badge/Node.js-339933?style=for-the-badge&logo=nodedotjs&logoColor=white" alt="nodejs" />
<img src="https://img.shields.io/badge/Express.js-000000?style=for-the-badge&logo=express&logoColor=white" alt="expressjs" />
</p>
<h4 align="center">Deployed On:</h4>
<p align="center">
<img src="https://img.shields.io/badge/Netlify-00C7B7?style=for-the-badge&logo=netlify&logoColor=white" alt="vercel" />
<img src="https://img.shields.io/badge/Cyclic-430098?style=for-the-badge&logo=cyclic&logoColor=white" alt="cyclic" />
</p>
<h3 align="center"><a href="https://happycart-official.netlify.app/"><strong>Want to see live preview »</strong></a></h3>
<h3 align="center"><a href="https://www.linkedin.com/feed/update/urn:li:activity:7042094659233341440/"><strong>Demo Video »</strong></a></h3>
<br />
<p align="center">
<br />✧
<a href="#The-Little-AI">Getting Started</a> ✧
<a href="#Contact">Author</a> ✧
</p>
Happy Cart is a web-based application that allows users to browse, search, and purchase products online. The platform has a user-friendly interface that makes it easy for customers to find the products they are looking for, add them to their cart, and complete the checkout process. The platform also has a secure payment gateway that ensures that customer information and transactions are protected. Additionally, the platform has a back-end administration panel that allows site administrators to manage products, orders, and customers.
<br />
## Screens
- Homepage / Landing Page
- Products Page
- Single product Page
- Cart
- Checkout Page
- Order Page
- Payment success page
- Payment failure page
- 404 page
<br />
## 🚀 Features
- User authentication: users can sign up and log in to the platform
- Product browsing: customers can browse and search for products based on category and price
- Product details: customers can view detailed information about each product, including images, descriptions
- Shopping cart: customers can add products to their shopping cart and proceed to checkout
- Payment integration: the platform supports payment integration
- Order tracking: customers can track the status of their orders
- Admin dashboard: admins can manage the platform, view analytics, and moderate user-generated content.
- Register || Login
- Fully responsive
<br />
## Screenshots :
<table>
<tr>
<td><img src="https://github.com/Dhanush-Saji/happy-cart/blob/main/Images/1.jpg" alt="home" /></td>
<td><img src="https://github.com/Dhanush-Saji/happy-cart/blob/main/Images/2.jpg" alt="products" /></td>
</tr>
<tr>
<td><img src="https://github.com/Dhanush-Saji/happy-cart/blob/main/Images/3.jpg" alt="single product" /></td>
<td><img src="https://github.com/Dhanush-Saji/happy-cart/blob/main/Images/4.jpg" alt="payment" /></td>
</tr>
</table>
## Contact
If you want to contact me, you can reach me through below handles. <br />
[](https://www.linkedin.com/in/dhanush-saji/)
[](https://github.com/Dhanush-Saji)
© 2023 Dhanush Saji
## Show your support
Give a ⭐️ if you like this project!
| Happy Cart is a user-friendly e-commerce platform for browsing, searching, and purchasing products online. Customers can easily find the products they are looking for, add them to their cart. The platform has a secure payment gateway to protect customer transactions and information. | chakra-ui,html,javascript,reactjs,redux-toolkit,scss,threejs,stripe | 2023-02-27T16:23:02Z | 2023-03-16T11:50:18Z | null | 1 | 13 | 39 | 0 | 1 | 4 | null | null | JavaScript |
Jayabrata18/mlh_diversion2k23_hackathon | main | <h1>Doctor Booking and Video Consulting App</h1>
<hr><p>This is a website where anyone can signup and apply for available doctor's appointment & start video call</p><ul>
<li>It solves doctors problem in rural areas</li>
</ul><h2>Technologies Used</h2>
<hr><ul>
<li>HTML</li>
</ul><ul>
<li>CSS</li>
</ul><ul>
<li>JavaScript</li>
</ul><ul>
<li>React</li>
</ul><ul>
<li>NodeJS</li>
</ul><ul>
<li>MongoDB</li>
</ul><ul>
<li>Socket.io</li>
</ul><h2>Project Status</h2>
<hr><p>in progress</p><h2>Improvements</h2>
<hr><ul>
<li>video call improvement</li>
</ul><ul>
<li>websites UI/UX</li>
</ul><h2>Contact</h2>
<hr><p><span style="margin-right: 30px;"></span><a href="https://www.linkedin.com/in/jayabrata-pramanik/"><img target="_blank" src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/linkedin/linkedin-original.svg" style="width: 10%;"></a><span style="margin-right: 30px;"></span><a href="https://github.com/Jayabrata18"><img target="_blank" src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/github/github-original.svg" style="width: 10%;"></a></p>
| this is a docktor booking website | mongodb,nodejs,reactjs,full-stack,javascript | 2023-02-26T06:03:26Z | 2023-04-05T20:47:52Z | null | 3 | 0 | 4 | 0 | 1 | 4 | null | null | JavaScript |
sonatipek/hospital_appointment | main | # Hospital Appointment System
# Tech Stack
## Front-end

## Back-end


## DBMS

## Template Engine
- EJS
## Hosting
 | null | ejs,ejs-express,ejs-templates,express,express-framework,express-js,javascript,js,node,nodejs | 2023-03-08T18:47:54Z | 2023-06-08T07:09:50Z | null | 1 | 0 | 27 | 0 | 0 | 4 | null | MIT | EJS |
Summi51/Summi51.github.io | gh-pages |
# Welcome to My Portfolio 👋
I'm [Samreen Inayat], a passionate MERN (MongoDB, Express.js, React, Node.js) Stack Developer. This repository serves as a showcase of my projects and skills in web development.
🚀 **[View My Portfolio](https://summi51.github.io/)**
## About Me
I'm a dedicated developer who strongly focuses on creating responsive and interactive web applications. My passion for coding drives me to stay updated with the latest technologies, and I thrive on turning ideas into elegant, functional, and user-friendly websites.
## What You'll Find
- A collection of my projects, ranging from full-stack web applications to front-end and back-end projects.
- Detailed READMEs and live demos for each project.
- Technologies I work with HTML, CSS, JavaScript, React, Redux, Node.js, Express.js, MongoDB, and more.
Reach out at [My Linkedin](https://www.linkedin.com/in/samreen-inayat-5863001b8/).
Happy coding! 🌟
| Explore my portfolio as a MERN Stack Developer, showcasing my expertise in building dynamic web applications. | chakra-ui,html,javascript,react | 2023-03-10T13:07:07Z | 2023-09-25T23:08:17Z | null | 1 | 0 | 20 | 0 | 0 | 3 | null | null | HTML |
chingu-voyages/v43-tier2-team-22 | main | # Description
This is a chat application built using React, Tailwind, Express, and Socket.IO. It allows users to chat in real-time with each other, and supports multiple rooms for users to join.
## Mission Statement
At our core, we believe that developers are more productive and successful when they can easily collaborate and share knowledge with their peers. TechChat provides a seamless and intuitive platform for developers to connect with each other, discuss ideas, share code snippets, and solve problems together in real-time.
We strive to create a community of passionate and skilled developers who can work together, learn from each other, and ultimately build better software.
## Features
- Real-time messaging using Socket.IO
- Multiple rooms for users to join
- Responsive design using Tailwind CSS
## Technologies Used
TechChat was built using the following technologies:
- React: A JavaScript library for building user interfaces
- Tailwind CSS: A utility-first CSS framework
- Express: A web application framework for Node.js
- Socket.IO: A library for real-time, bidirectional and event-based communication between the browser and the server
# Getting Started
To get started with the application, follow these steps:
1. Clone the repository to your local machine
2. Change directory to the `client`directory by running `cd client`
3. Install client dependencies by running `npm install`
4. Start the client by running `npm start` in the client directory
5. Change directory to the `server` directory by running `cd ../server`
6. Install server dependencies by running `npm install`
6. Start the server by running `npm start`
The server will start running on `http://localhost:3000`, and the client will start running on `http://localhost:5000`. Open the client URL in your web browser to start using the chat application.
## Project Structure
The project is organized into two main directories:
- `client`: Contains the React client application
- `server`: Contains the Express server application
# Acknowledgments
## Authors
- [Hector Agudelo](https://github.com/HectorAgudelo)
- [Shijie Zhou](https://github.com/shijiezhou1)
- [Alex O’Reilly](https://github.com/alekzandriia)
## References
- [React Documentation](https://react.dev/)
- [Tailwind Documentation](https://tailwindcss.com/)
- [Express.js Documentation](https://expressjs.com/)
- [Node.js HTTP Module Documentation](https://nodejs.org/api/http.html)
- [Socket.IO Documentation](https://socket.io/docs/v4/)
# Contributing
Contributions to the chat application are welcome. To contribute, please follow these steps:
1. Fork the repository
2. Create a new branch for your changes
3. Make your changes and commit them
4. Push your changes to your fork
5. Submit a pull request to the main repository
# License
This chat application is licensed under the MIT License. See the LICENSE file for details.
| This is a chat application built using React, Tailwind, Express, and Socket.IO. It allows users to chat in real-time with each other, and supports multiple rooms for users to join. | Voyage-43 | https://chingu.io/ | Twitter: https://twitter.com/ChinguCollabs | chat,chingu,express,javascript,nodejs,react,socket-io,tailwind,websockets | 2023-03-06T03:02:48Z | 2023-05-20T17:17:19Z | null | 60 | 29 | 71 | 7 | 1 | 3 | null | MIT | JavaScript |
gaurav62472744/ultra-magic-8688 | main | <h1 align="center" id="title">Masai Warz</h1>
<p id="description"><br>"Masai Warz" is a space battle 2D game where the players can choose between 3 difficulty levels and can collect points by destroying the extra-terrestrial objects coming towards them using keyboard controls, and when the player's health reaches 0 the game will be over automatically and a player can see their score leaderboard section as well.<br><br><b># This is a collaborative project of 4 members</b><br><br>- Gaurav Singh <br>- Sourav Kumar <br>- Himanku Gogoi <br>- Ganesh Bahire </p>
<h2>🌐See Live</h2>
Frontend Deployed Link : https://masai-warz.vercel.app/
<br>
Backend Deployed Link : https://glorious-gray-haddock.cyclic.app/
<h2>Project Screenshots:</h2>
## Home Page

## How to Play Page

## Signup Page

## Login Page

## Game Play

## Game-Over Page

<h2>🛠️ Installation Steps:</h2>
<p>1. Clone the repo</p>
```
git clone https://github.com/gaurav62472744/ultra-magic-8688.git
```
<p>2. Install NPM packages</p>
```
npm install
```
<p>3. View on browser at localhost:3000</p>
```
npm start
```
<h2>💻 Tech Stack</h2>
Technologies used in the project:
* TypeScript
* React Js
* CSS
* JavaScript
* Canvas
* Socket.io
* Node
* Express
* MongoDB
<h2>Special Thanks 😊</h2>
<p>Thanks Masai School for giving us this opportunity to show and deploy our skills to explore ideas and learn new things about project-making </p>
| "Masai Warz" is a space battle 2D game where the players can choose between 3 difficulty levels and can collect points by destroying the extra-terrestrial objects coming towards them using keyboard controls, and when the player's health reaches 0 the game will be over automatically and a player can see their score leaderboard section as well. | canvas,css,expressjs,javascript,mongodb,nodejs,reactjs,socket-io,typescript | 2023-03-02T12:00:54Z | 2023-03-04T18:49:58Z | null | 4 | 7 | 32 | 0 | 0 | 3 | null | null | TypeScript |
ViktorSvertoka/goit-js-hw-02 | main | # Критерії прийому
- Створено репозиторій `goit-js-hw-02`
- При здачі домашньої роботи є посилання на вихідні файли в репозиторії
- Кожне завдання виконано в окремому файлі з ім'ям `task-номер_завдання.js`.
Використовуй `<script type="module">` щоб закрити код завдання в окремій
області видимості і уникнути конфліктів імен ідентифікаторів.
- Імена змінних зрозумілі, описові
- Код відформатований за допомогою Prettier
# Завдання 1
Напиши функцію `logItems(array)`, яка отримує масив і використовує цикл `for`,
який для кожного елемента масиву буде виводити в консоль повідомлення в форматі
`[номер елемента] - [значення елемента]`.
Нумерація повинна починатися з `1`. Наприклад, для першого елемента масиву
`['Mango', 'Poly', 'Ajax']` з індексом `0` буде виведено `'1 - Mango'`, а для
індексу `2` виведе `'3 - Ajax'`.
```js
const logItems = function (array) {
// твій код
};
/*
* Виклич функції для перевірки працездатності твоєї реалізації.
*/
logItems(["Mango", "Poly", "Ajax", "Lux", "Jay", "Kong"]);
logItems([5, 10, 15, 20, 25, 30, 35, 40, 45, 50]);
```
# Завдання 2
Напиши скрипт підрахунку вартості гравіювання прикрас. Для цього створи функцію
`calculateEngravingPrice(message, pricePerWord)` приймаючу рядок (в рядку будуть
тільки слова і прогалини) і ціну гравіювання одного слова, і повертає ціну
гравіювання всіх слів в рядку.
```js
const calculateEngravingPrice = function (message, pricePerWord) {
// твій код
};
/*
* Виклич функції для перевірки працездатності твоєї реалізації.
*/
console.log(
calculateEngravingPrice(
"Proin sociis natoque et magnis parturient montes mus",
10
)
); // 80
console.log(
calculateEngravingPrice(
"Proin sociis natoque et magnis parturient montes mus",
20
)
); // 160
console.log(
calculateEngravingPrice("Donec orci lectus aliquam est magnis", 40)
); // 240
console.log(
calculateEngravingPrice("Donec orci lectus aliquam est magnis", 20)
); // 120
```
# Завдання 3
Напиши функцію `findLongestWord(string)`, яка приймає параметром довільний рядок
(в рядку будуть тільки слова і прогалини) і повертає найдовше слово в цьому
рядку.
```js
const findLongestWord = function (string) {
// твій код
};
/*
* Виклич функції для перевірки працездатності твоєї реалізації.
*/
console.log(findLongestWord("The quick brown fox jumped over the lazy dog")); // 'jumped'
console.log(findLongestWord("Google do a roll")); // 'Google'
console.log(findLongestWord("May the force be with you")); // 'force'
```
# Завдання 4
Напиши функцію `formatString(string)` яка приймає рядок і форматує його якщо
необхідно.
- Якщо довжина рядка не перевищує `40 символів`, функція повертає її в
початковому вигляді.
- Якщо довжина більше `40 символів`, то функція обрізає рядок до 40-ка символів
і додає в кінець рядка три крапки `'...'`, після чого повертає укорочену
версію.
```js
const formatString = function (string) {
// твій код
};
/*
* Виклич функції для перевірки працездатності твоєї реалізації.
*/
console.log(formatString("Curabitur ligula sapien, tincidunt non."));
// повернеться оригінальний рядок
console.log(formatString("Vestibulum facilisis, purus nec pulvinar iaculis."));
// повернеться форматований рядок
console.log(formatString("Curabitur ligula sapien."));
// повернеться оригінальний рядок
console.log(
formatString(
"Nunc sed turpis. Curabitur a felis in nunc fringilla tristique."
)
);
// повернеться форматований рядок
```
# Завдання 5
Напиши функцію `checkForSpam(message)`, приймаючу 1 параметр `message` - рядок.
Функція перевіряє її на вміст слів `spam` і `sale`. Якщо знайшли заборонене
слово, то функція повертає `true`, якщо заборонених слів немає функція повертає
`false`. Слова в рядку можуть бути в довільному регістрі.
```js
const checkForSpam = function (message) {
// твій код
};
/*
* Викличи функції для перевірки працездатності твоєї реалізації.
*/
console.log(checkForSpam("Latest technology news")); // false
console.log(checkForSpam("JavaScript weekly newsletter")); // false
console.log(checkForSpam("Get best sale offers now!")); // true
console.log(checkForSpam("[SPAM] How to earn fast money?")); // true
```
# Завдання 6
Напиши скрипт з наступним функціоналом:
- При завантаженні сторінки користувачеві пропонується в `prompt` ввести число.
Введення зберігається в змінну `input` і додається в масив чисел `numbers`.
- Операція введення числа користувачем і збереження в масив триває до тих пор,
пір, поки користувач не натисне `Cancel` в `prompt`.
- Після того як користувач припинив введення натиснувши `Cancel`, якщо масив не
порожній, необхідно порахувати суму всіх елементів масиву і записати її в
змінну `total`. Використовуй цикл `for` або `for...of`. Після чого в консоль
виведи рядок `'Загальна сума чисел дорівнює [сума]'`.
🔔 Робити перевірку того, що користувач ввів саме число, а не довільний набір
символів, не обов'язково. Якщо хочеш, в разі некоректного введення, показуй
`alert` з текстом `'Було введено не число, попробуйте ще раз'`, при цьому
результат `prompt` записувати в масив чисел не потрібно, після чого знову
користувачеві пропонується ввести число в `prompt`.
```js
let input;
const numbers = [];
let total = 0;
```
# Завдання 7 - додаткове, виконувати не обов'язково
Є масив `logins` з логінами користувачів. Напиши скрипт додавання логіна в масив
`logins`. Логін, який додається повинен:
- проходити перевірку на довжину від 4 до 16-ти символів включно
- бути унікальним, тобто бути відсутнім в масиві `logins`
Розбий завдання на підзадачі за допомогою функцій.
Напиши функцію `isLoginValid(login)`, в якій перевір кількість символів
параметра `login` і поверни `true` або `false` в залежності від того, чи
потрапляє довжина параметра в заданий діапазон від 4-х до 16-ти символів
включно.
Напиши функцію `isLoginUnique(allLogins, login)`, яка приймає список всіх
логінів і логін, який додається, як параметри і перевіряє наявність `login` в
массиве `allLogins`, повертає `true` якщо такого логіна ще немає і `false` якщо
логін вже використовується.
Напиши функцію `addLogin(allLogins, login)` яка:
- Приймає новий логін і масив всіх логінів як параметри
- Перевіряє валідність логіна використовуючи допоміжну функцію `isLoginValid`
- Якщо логін не валідний, припинити виконання функції `addLogin` і повернути
радок `'Помилка! Логін повинен бути від 4 до 16 символів'`
- Якщо логін валідний, функція `addLogin` перевіряє унікальність логіна за
допомогою функції `isLoginUnique`
- Якщо `isLoginUnique` поверне `false`, тоді `addLogin` Не додає логін в массив
масив і повертає рядок `'Такий логін уже використовується!'`
- Якщо `isLoginUnique` поверне `true`, `addLogin` додає новий логін в `logins` і
повертає рядок `'Логін успішно доданий!'`
🔔 **Принцип єдиної відповідальності функції** - кожна функція робить щось одне.
Це дозволяє перевикористати код і змінювати логіку роботи функції тільки в
одному місці, не зачіпаючи роботу програми в цілому.
Предикатні функції повертають тільки `true` або `false`. Такі функції прийнято
називати починаючи з `is`: `isLoginUnique` і `isLoginValid` в нашому випадку.
- `isLoginUnique` тільки перевіряє чи є такий логін в масиві і повертає `true`
або `false`.
- `isLoginValid` тільки перевіряє чи валідний логін і повертає `true` або
`false`.
- `addLogin` додають чи не додають логін в масив. При цьому для перевірок
умови додавання використовує результати викликів інших функцій -
`isLoginUnique` і `isLoginValid`.
```js
const logins = ["Mango", "robotGoogles", "Poly", "Aj4x1sBozz", "qwerty123"];
const isLoginValid = function (login) {
// твій код
};
const isLoginUnique = function (allLogins, login) {
// твій код
};
const addLogin = function (allLogins, login) {
// твій код
};
/*
* Виклич функції для перевірки працездатності твоєї реалізації.
*/
console.log(addLogin(logins, "Ajax")); // 'Логін успішно доданий!'
console.log(addLogin(logins, "robotGoogles")); // 'Такий логін вже використовується!'
console.log(addLogin(logins, "Zod")); // 'Помилка! Логін повинен бути від 4 до 16 символів'
console.log(addLogin(logins, "jqueryisextremelyfast")); // 'Помилка! Логін повинен бути від 4 до 16 символів'
```
| Home task for JavaScript course📒 | css,html,javascript,goit,goit-js-hw-02,learning,practice,ukraine | 2023-03-01T10:50:49Z | 2023-03-01T22:09:21Z | null | 1 | 13 | 30 | 0 | 0 | 3 | null | null | HTML |
Lakshya-GG/Web-Development-Toolkit | main |
<h1> Web Development Toolkit </h1>
This is a collection of tools and resources for web development. If you're a beginner developer, you'll find resources useful here to help you improve your skills and streamline your workflow. However if you are an experienced developer then <a href="https://github.com/Lakshya-GG" target="_blank"> check out this repository </a> [under development].
## Table of Contents
<ul>
<li> Getting Started </li>
<li> Tools </li>
<li> Resources </li>
</ul>
## Getting Started
If you're new to web development, here are some resources to help you get started:
<ul>
<li> <a href = "https://www.youtube.com/@codecademy"> Codecademy - Interactive coding lessons for beginners </a> </li>
<li> <a href="https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web" target="_top"> MDN Web Docs - In-depth tutorials and reference material </a></li>
<li> <a href="https://www.w3schools.com/whatis/" target="_top"> W3Schools - Simple tutorials and examples for HTML, CSS, and JavaScript </a> </li>
</ul>
## Tools
Here are some tools that can help you streamline your web development workflow:
<ul>
<li>Visual Studio Code - A powerful and customizable code editor</li>
<li>Chrome DevTools - A set of developer tools built into the Chrome browser for debugging and optimizing web pages</li>
<li>Git - A version control system for tracking changes in your code</li>
</ul>
## Resources
Here are some additional resources for web development:
<ul>
<li>Stack Overflow - A community-driven Q&A site for programming questions</li>
<li>CSS-Tricks - Tutorials and examples for CSS</li>
<li>Smashing Magazine - Articles and tutorials for web design and development</li>
</ul>
## Contributing
If you have any suggestions or would like to contribute to this project, please feel free to open an issue or submit a pull request.
## License
This project is licensed under the MIT License - see the LICENSE.md file for details.
| Contains Projects to get started with the domain of WEB DEVELOPMENT. | css3,html,javascript,svg | 2023-02-25T18:29:28Z | 2023-05-04T06:59:02Z | null | 1 | 2 | 112 | 0 | 0 | 3 | null | MIT | CSS |
oshadaera68/Custom_Captcha_By_Html_css_js | master | # Custom_Captcha_By_Html_css_js
A custom captcha made by html css and js.
## Technologies
- Html
- Css
- Js
## Screenshots

| A custom captcha made by html css and js. | css,html,javascript | 2023-03-11T17:08:48Z | 2023-03-11T17:13:22Z | null | 1 | 0 | 3 | 0 | 0 | 3 | null | MIT | CSS |
brwnalima/AgendaSUS | main |
<h1 align="center">Agenda SUS 🏥 </h1>
<p> Projeto final em grupo da Resilia, a proposta que nos foi passada consiste em uma empresa o qual decidiu realizar o lançamento de um MVP (Produto Mínimo Viável) através de um site.
Baseado no que nos foi proposto nós desenvolvemos um site com o tema voltado para a área de saúde, a Agenda SUS, onde o paciente poderá agendar sua consulta online. </p>
<hr>
<p align="center">
<img src="https://media.discordapp.net/attachments/1029175137368547336/1081050002907987998/image.png?width=960&height=435"alt="image" width="100%">
</p>
<h3> Requisitos para a construção do site: </h3>
<p> ➫ Página inicial; ✔️</p>
<p> ➫ Funcionalidades (com conteúdo cadastrável e editável); ✔️</p>
<p> ➫ Tela de contato; ✔️</p>
<p> ➫ Utilizar Node, Express e SQLite ou Mysql na construção do back-end; ✔️</p>
<hr>
<h3> Dependências: </h3>
<h4>FRONT-END:</h4>
```bash
cd consultorio
npm install
npm i styled-components axios
npm i react-awesome-reveal
npm i react-bootstrap bootstrap
npm run dev
```
<h4>BACK-END:</h4>
```bash
cd backend
npm i
npm init -y
npm i express cors mysql
npm i nodemon -g
npm start
```
<div align="center">
<h3> Tecnologias utilizadas: </h3>
<div style="display: inline_block">
<a href="https://en.wikipedia.org/wiki/HTML5" target="_blank"><img style="margin: 15px" src="https://profilinator.rishav.dev/skills-assets/html5-original-wordmark.svg" alt="HTML5" height="70" /></a>
<a href="https://www.w3schools.com/css/" target="_blank"><img style="margin: 15px" src="https://profilinator.rishav.dev/skills-assets/css3-original-wordmark.svg" alt="CSS3" height="70" /></a>
<a href="https://reactjs.org/" target="_blank"><img style="margin: 15px" src="https://profilinator.rishav.dev/skills-assets/react-original-wordmark.svg" alt="React" height="70" /></a>
<a href="https://nodejs.org/" target="_blank"><img style="margin_inline: 15px" src="https://profilinator.rishav.dev/skills-assets/nodejs-original-wordmark.svg" alt="Node.js" height="80" /></a>
<a href="https://getbootstrap.com/docs/3.4/javascript/" target="_blank"><img style="margin: 15px" src="https://profilinator.rishav.dev/skills-assets/bootstrap-plain.svg" alt="Bootstrap" height="70" /></a>
<a href="https://www.mysql.com/" target="_blank"><img style="margin: 10px" src="https://profilinator.rishav.dev/skills-assets/mysql-original-wordmark.svg" alt="MySQL" height="80" /></a>
<a href="https://www.javascript.com/" target="_blank"><img style="margin: 15px" src="https://profilinator.rishav.dev/skills-assets/javascript-original.svg" alt="JavaScript" height="70" /></a>
</div>
<hr>
<div align="center">
<h2>Feito com ❤️ pelos Desenvolvedores ⬇️</h2>
<table>
<tr>
<td align="center"><a href="https://github.com/maiconbre"><img style="border-radius: 50%;"src="https://avatars.githubusercontent.com/u/112555118?s=400&u=29f6b5dd0e203807a101ee8d70f6a026cf8fabbc&v=4"width="150px;" alt="" /><br /><sub><b>Maicon Brendon</b></sub></a><br /><a href="https://github.com/maiconbre" title="Maicon Brendon"></a></td>
<td align="center"><a href="https://github.com/Tamiresporto"><img style="border-radius: 50%;"
src="https://avatars.githubusercontent.com/u/112409145?v=4" width="150px;"
alt="" /><br /><sub><b>Tamires Porto</b></sub></a><br /><a
href="https://github.com/Tamiresporto" title="Tamires Porto"></a></td>
<td align="center"><a href="https://github.com/brwnalima"><img style="border-radius: 50%;"
src="https://avatars.githubusercontent.com/u/112510971?v=4" width="150px;"
alt="" /><br /><sub><b>Bruna Lima</b></sub></a><br /><a href="https://github.com/brwnalima"
title="Bruna Lima"></a></td>
<td align="center"><a href="https://github.com/TaisC468"><img style="border-radius: 50%;"
src="https://avatars.githubusercontent.com/u/112699437?v=4" width="150px;"
alt="" /><br /><sub><b>Tais Campos</b></sub></a><br /><a href="https://github.com/TaisC468"
title="Tais Campos"></a></td>
<td align="center"><a href="https://github.com/suannyrodrigues"><img style="border-radius: 50%;"
src="https://avatars.githubusercontent.com/u/112557354?v=4" width="150px;"
alt="" /><br /><sub><b>Suanny Rodrigues</b></sub></a><br /><a
href="https://github.com/suannyrodrigues" title="Suanny Rodrigues"></a></td>
</tr>
</table>
</div>
| Projeto que traz a praticidade e rapidez para o agendamento de sua consulta. Estamos prontos para atendê-los! | api,backend,bootstrap,database,frontend,javascript,mysql,react | 2023-02-27T22:49:54Z | 2023-03-03T11:59:55Z | null | 5 | 14 | 81 | 0 | 3 | 3 | null | MIT | JavaScript |
ViktorSvertoka/goit-js-hw-03 | main | # Критерії прийому
- Створено репозиторій `goit-js-hw-03`
- При здачі домашньої роботи є посилання на вихідні файли в репозиторії
- Кожне завдання виконано в окремому файлі з ім'ям `task-номер_завдання.js`.
Використовуй `<script type="module">` щоб закрити код завдання в окремій
області видимості і уникнути конфліктів імен ідентифікаторів.
- Імена змінних зрозумілі, описові
- Код відформатований за допомогою Prettier
# Завдання 1
Напиши скрипт, який, для об'єкта `user`, послідовно:
- додає поле `mood` зі значенням `'happy'`
- замінює значення `hobby` на `'skydiving'`
- замінює значення `premium` на `false`
- виводить вміст об'єкта `user` в форматі `ключ:значення` використовуючи
`Object.keys()` і `for...of`
```js
const user = {
name: "Mango",
age: 20,
hobby: "html",
premium: true,
};
```
# Завдання 2
Напиши функцію `countProps(obj)`, яка рахує кількість властивостей в об'єкті.
Функція повертає число - кількість властивостей.
```js
const countProps = function (obj) {
// твій код
};
/*
* Викличи функції для перевірки працездатності твоєї реалізації.
*/
console.log(countProps({})); // 0
console.log(countProps({ name: "Mango", age: 2 })); // 2
console.log(countProps({ mail: "poly@mail.com", isOnline: true, score: 500 })); // 3
```
# Завдання 3
Напиши функцію `findBestEmployee(employees)`, яка приймає об'єкт співробітників
і повертає ім'я найпродуктивнішого (який виконав більше всіх задач).
Співробітники і кількість виконаних завдань містяться як властивості об'єкта в
форматі `"ім'я":"кількість задач"`.
```js
const findBestEmployee = function (employees) {
// твій код
};
/*
* Викличи функції для перевірки працездатності твоєї реалізації.
*/
console.log(
findBestEmployee({
ann: 29,
david: 35,
helen: 1,
lorence: 99,
})
); // lorence
console.log(
findBestEmployee({
poly: 12,
mango: 17,
ajax: 4,
})
); // mango
console.log(
findBestEmployee({
lux: 147,
david: 21,
kiwi: 19,
chelsy: 38,
})
); // lux
```
# Завдання 4
Напиши функцію `countTotalSalary(employees)` приймаючу об'єкт зарплат. Функція
рахує загальну суму зарплати працівників і повертає її. Кожне поле об'єкта,
переданого в функцію, має вигляд `"ім'я":"зарплата"`.
```js
const countTotalSalary = function (employees) {
// твій код
};
/*
* Викличи функції для перевірки працездатності твоєї реалізації.
*/
console.log(countTotalSalary({})); // 0
console.log(
countTotalSalary({
mango: 100,
poly: 150,
alfred: 80,
})
); // 330
console.log(
countTotalSalary({
kiwi: 200,
lux: 50,
chelsy: 150,
})
); // 400
```
# Завдання 5
Напиши функцію `getAllPropValues(arr, prop)`, яка отримує масив об'єктів і ім'я
властивості. Повертає масив значень певної властивості `prop` з кожного об'єкта
в масиві.
```js
const products = [
{ name: "Радар", price: 1300, quantity: 4 },
{ name: "Сканер", price: 2700, quantity: 3 },
{ name: "Дроїд", price: 400, quantity: 7 },
{ name: "Захоплення", price: 1200, quantity: 2 },
];
const getAllPropValues = function (arr, prop) {
// твій код
};
/*
* Викличи функції для перевірки працездатності твоєї реалізації.
*/
console.log(getAllPropValues(products, "name")); // ['Радар', 'Сканер', 'Дроїд', 'Захоплення']
console.log(getAllPropValues(products, "quantity")); // [4, 3, 7, 2]
console.log(getAllPropValues(products, "category")); // []
```
# Завдання 6
Напиши функцію `calculateTotalPrice(allProdcuts, productName)`, яка отримує
масив об'єктів та ім'я продукту (значення властивості `name`). Повертає загальну
вартість продукту (ціна \* кількість).
Викличи функції для перевірки працездатності твоєї реалізації.
```js
const products = [
{ name: "Радар", price: 1300, quantity: 4 },
{ name: "Сканер", price: 2700, quantity: 3 },
{ name: "Дроїд", price: 400, quantity: 7 },
{ name: "Захоплення", price: 1200, quantity: 2 },
];
const calculateTotalPrice = function (allProdcuts, productName) {
// твій код
};
/*
* Викличи функції для перевірки працездатності твоєї реалізації.
*/
console.log(calculateTotalPrice(products, "Радар")); // 5200
console.log(calculateTotalPrice(products, "Дроїд")); // 2800
```
# Завдання 7 - додаткове, виконувати не обов'язково
Напиши сценарій керування особистим кабінетом інтернет-банку. Є об'єкт `account`
в якому необхідно реалізувати методи для роботи з балансом та історією
транзакцій.
```js
/*
* Типів транзацкій всього два.
* Можна покласти або зняти гроші з рахунку.
*/
const Transaction = {
DEPOSIT: "deposit",
WITHDRAW: "withdraw",
};
/*
* Кожна транзакція - це об'єкт з властивостями: id, type і amount
*/
const account = {
// Поточний баланс рахунку
balance: 0,
// Історія транзакцій
transactions: [],
/*
* Метод створює і повертає об'єкт транзакції.
* Приймає суму і тип транзакції.
*/
createTransaction(amount, type) {},
/*
* Метод відповідає за додавання суми до балансу.
* Приймає суму танзакції.
* Викликає createTransaction для створення об'єкта транзакції
* після чого додає його в історію транзакцій
*/
deposit(amount) {},
/*
* Метод відповідає за зняття суми з балансу.
* Приймає суму танзакції.
* Викликає createTransaction для створення об'єкта транзакції
* після чого додає його в історію транзакцій.
*
* Якщо amount більше, ніж поточний баланс, виводь повідомлення
* про те, що зняття такої суми не можливо, недостатньо коштів.
*/
withdraw(amount) {},
/*
* Метод повертає поточний баланс
*/
getBalance() {},
/*
* Метод шукає і повертає об'єкт транзакції по id
*/
getTransactionDetails(id) {},
/*
* Метод повертає кількість коштів
* певного типу транзакції з усієї історії транзакцій
*/
getTransactionTotal(type) {},
};
```
| Home task for JavaScript course📒 | css,favicon,goit,goit-js-hw-03,html,image,javascript,learning,practice,ukraine | 2023-03-01T14:00:22Z | 2023-03-02T00:00:09Z | null | 1 | 20 | 43 | 0 | 0 | 3 | null | null | HTML |
CobbyElsonfx/Brightfield-Website-Fullstack | main | # Brightfield-Website-Fullstack
## My sincere gratitude goes out to Mr. Oliver (DevRel at @digitalocean), who motivated me to do this project in order to demonstrate my expertise in full-stack web development.
<ins>### Project Link : https://btnfullstackweb.onrender.com <ins>
### Gallery of various views
Screenshot 2023-05-23 at 5.38.12 PM
Screenshot 2023-05-23 at 5.38.21 PM
### Video

## Introduction
I developed the Brightfield Tech Academy Website to showcase my expertise in full-stack development and simplify the application process for learners interested in enrolling at Brightfield Tech Academy. The website allows learners to apply online without visiting the Brightfield Center in person. Additionally, it provides an admin panel to create posts and update learners on the latest happenings.
Tech Stack Overview
### The Brightfield Tech Academy Website utilizes the following tech stack:
* Front-end: JavaScript, Handlebars templating, HTML, CSS, and Bootstrap.
* Back-end: Node.js with Express.js framework.
* Database: MongoDB for data storage.
## Architecture Overview
* The root directory of the project contains several directories and files, each serving a specific purpose:
Controllers: Handles the logic of the website, determining which views to present to the user and managing user authentication.
DB: Contains a function used in app.js to establish a connection to the MongoDB database using the connection string stored in the .env file.
Middleware: Contains the requireAuth file, which includes functions to protect certain routes from unauthorized access.
Models: Includes three files:
Auth: Represents the model for user authentication.
Blog: Represents the model for the website's newsfeed section, allowing the admin to create and delete posts.
Forms: Represents the model for student admission forms.
Public: Stores static files such as images, CSS, and client-side JavaScript.
Routes: Defines various endpoints, including /, /users, /about, /contact, /learn, /programs, /mentorship, /newsfeed, /user/signup, /user/login, /user/logout, and more. Each route corresponds to a specific functionality of the website and communicates with the controllers.
Views: Contains the views for different sections of the website, such as home, about, blog, and more. Handlebars templating is used to generate dynamic content and render the views.
Other files: The root directory also includes files such as .env (containing environmental variables like connection string, port, API keys, and JWT secret), app.js (the entry point of the website, handling server creation, endpoint registration, and database connections), package-lock.json, package.json, README, and .gitignore.
## Data Flow and Interaction
* When a user interacts with the Brightfield Tech Academy Website, the data flow follows these steps:
User requests are handled by specific endpoints defined in app.js.
These endpoints correspond to routes defined in the routes directory.
The routes communicate with the controllers, which contain the necessary logic to process the user's request and determine the appropriate view to present.
The controllers interact with the models to perform actions such as user authentication, post creation/deletion, or student admission form handling.
The controllers then render the appropriate view from the views directory, generating dynamic content using Handlebars templating.
The rendered view is sent back as a response to the user.
### Key Functionalities and Integrations
* The Brightfield Tech Academy Website includes several key functionalities and integrations:
Newsfeed Section: The website displays current news using the News API. The Axios library is used to fetch news data, which is then displayed in the UI. Handlebars helpers are utilized to loop through the data and present it to users.
Email Functionality: Users can apply for admission and receive confirmation emails. This functionality is integrated using SendGrid, a cloud-based SMTP provider that eliminates the need for maintaining an email server.
User Authentication: JWT (JSON Web Token) is employed for user authentication. Upon successful login, a token is generated and stored in the user's local storage as a cookie. This token is used for future authorization. User passwords are securely hashed using the bcrypt library in JavaScript.
Lessons Learned and Future Considerations
During the development of the Brightfield Tech Academy Website, I gained valuable insights and knowledge, including:
Improved organization and naming conventions for enhanced project presentation and readability.
Implementation of JWT for user authentication.
Integration of external APIs like the News API and SendGrid for extended functionality.
In the future, I plan to enhance the website's capabilities by implementing features such as course uploads, assignments, the admin's ability to create posts, and a discussion forum for learners.
By building the Brightfield Tech Academy Website, I not only demonstrated my full-stack development skills but also developed a platform that simplifies the admission process and keeps learners informed about Brightfield Tech Academy.
| My sincere gratitude goes out to Mr. Oliver (DevRel at @digitalocean), who motivated me to do this project in order to demonstrate my expertise in full-stack web development. | expressjs,javascript,jquery,mongodb,nodejs | 2023-02-28T23:39:02Z | 2023-05-23T17:59:19Z | null | 1 | 12 | 95 | 0 | 0 | 3 | null | null | Handlebars |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.