Skip to content

Commit e35023d

Browse files
authored
Merge pull request #38 from khyrulAlam/migrate-to-18
Migrate to 18
2 parents ed9d38c + 42a5dbb commit e35023d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+7903
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Chat Application using React.JS + Firebase real-time Database + Firebase Gmail Authentication
2+
=====================================
3+
4+
I build this app for learning purpose. you can check the live 💁‍♂️ [demo](https://chatroom-67e21.web.app/)
5+
6+
![](https://firebasestorage.googleapis.com/v0/b/chatroom-67e21.appspot.com/o/chat-chat.png?alt=media&token=3ad066ef-e277-4113-a496-e8fa6c110832)
7+
8+
Quick Start:
9+
------------
10+
11+
- ``` git clone ```
12+
- ``` cd react-firebase-chat ```
13+
- create a firebase `config.ts` file on /src folder
14+
- ``` npm install ```
15+
- ``` npm run dev ```
16+
- ``` npm run build ```

eslint.config.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import js from '@eslint/js'
2+
import globals from 'globals'
3+
import reactHooks from 'eslint-plugin-react-hooks'
4+
import reactRefresh from 'eslint-plugin-react-refresh'
5+
import tseslint from 'typescript-eslint'
6+
7+
export default tseslint.config(
8+
{ ignores: ['dist'] },
9+
{
10+
extends: [js.configs.recommended, ...tseslint.configs.recommended],
11+
files: ['**/*.{ts,tsx}'],
12+
languageOptions: {
13+
ecmaVersion: 2020,
14+
globals: globals.browser,
15+
},
16+
plugins: {
17+
'react-hooks': reactHooks,
18+
'react-refresh': reactRefresh,
19+
},
20+
rules: {
21+
...reactHooks.configs.recommended.rules,
22+
'react-refresh/only-export-components': [
23+
'warn',
24+
{ allowConstantExport: true },
25+
],
26+
},
27+
},
28+
)

index.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!--
2+
3+
Hello there! It looks like you've opened the console to check out my code. Welcome to the world of programming!
4+
5+
First off, I want to let you know that I'm still learning and not a professional developer yet. Please bear with any mistakes you might find.
6+
7+
Feel free to check out my other projects on GitHub: http://github.com/khyrulAlam. If you have any questions or feedback, you can reach me at khyrulalam69@gmail.com.
8+
9+
#### About Me ####
10+
11+
I'm passionate about learning new technologies, enjoying coffee, watching movies, playing FIFA, traveling, and listening to music.
12+
13+
-->
14+
<!doctype html>
15+
<html lang="en">
16+
17+
<head>
18+
<meta charset="UTF-8" />
19+
<link rel="icon" type="type/png" href="/cat.png" />
20+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
21+
<title>Cat-Chat { build with react & firebase || This is a learning project }</title>
22+
</head>
23+
24+
<body>
25+
<div id="root"></div>
26+
<script type="module" src="/src/main.tsx"></script>
27+
</body>
28+
29+
</html>

0 commit comments

Comments
 (0)