Skip to content

Commit 2aa5809

Browse files
author
rocket-new[bot]
committed
Latest code updated
1 parent d62cef8 commit 2aa5809

Some content is hidden

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

74 files changed

+8021
-2
lines changed

.env

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# REPLACE THE VALUES BELOW WITH YOUR ACTUAL KEYS IF NOT AUTOMATICALLY SET
2+
3+
VITE_SUPABASE_URL=https://dummy.supabase.co
4+
VITE_SUPABASE_ANON_KEY=dummykey.updateyourkkey.here
5+
VITE_OPENAI_API_KEY=your-openai-api-key-here
6+
VITE_GEMINI_API_KEY=your-gemini-api-key-here
7+
VITE_ANTHROPIC_API_KEY=your-anthropic-api-key-here
8+
VITE_GOOGLE_ANALYTICS_ID=your-google-analytics-id-here
9+
VITE_ADSENSE_ID=your-adsense-id-here
10+
VITE_PERPLEXITY_API_KEY=your-perplexity-api-key-here
11+
VITE_STRIPE_PUBLISHABLE_KEY=your-stripe-publishable-key-here

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_Store
2+
node_modules
3+
.idea
4+
package-lock.json
5+
/build
6+
.vscode/
7+
.idea/
8+
vite.config.*s.*

README.md

Lines changed: 107 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,107 @@
1-
# Rocket Generated Repository
2-
This repository contains the code generated using Rocket.
1+
# React
2+
3+
A modern React-based project utilizing the latest frontend technologies and tools for building responsive web applications.
4+
5+
## 🚀 Features
6+
7+
- **React 18** - React version with improved rendering and concurrent features
8+
- **Vite** - Lightning-fast build tool and development server
9+
- **Redux Toolkit** - State management with simplified Redux setup
10+
- **TailwindCSS** - Utility-first CSS framework with extensive customization
11+
- **React Router v6** - Declarative routing for React applications
12+
- **Data Visualization** - Integrated D3.js and Recharts for powerful data visualization
13+
- **Form Management** - React Hook Form for efficient form handling
14+
- **Animation** - Framer Motion for smooth UI animations
15+
- **Testing** - Jest and React Testing Library setup
16+
17+
## 📋 Prerequisites
18+
19+
- Node.js (v14.x or higher)
20+
- npm or yarn
21+
22+
## 🛠️ Installation
23+
24+
1. Install dependencies:
25+
```bash
26+
npm install
27+
# or
28+
yarn install
29+
```
30+
31+
2. Start the development server:
32+
```bash
33+
npm start
34+
# or
35+
yarn start
36+
```
37+
38+
## 📁 Project Structure
39+
40+
```
41+
react_app/
42+
├── public/ # Static assets
43+
├── src/
44+
│ ├── components/ # Reusable UI components
45+
│ ├── pages/ # Page components
46+
│ ├── styles/ # Global styles and Tailwind configuration
47+
│ ├── App.jsx # Main application component
48+
│ ├── Routes.jsx # Application routes
49+
│ └── index.jsx # Application entry point
50+
├── .env # Environment variables
51+
├── index.html # HTML template
52+
├── package.json # Project dependencies and scripts
53+
├── tailwind.config.js # Tailwind CSS configuration
54+
└── vite.config.js # Vite configuration
55+
```
56+
57+
## 🧩 Adding Routes
58+
59+
To add new routes to the application, update the `Routes.jsx` file:
60+
61+
```jsx
62+
import { useRoutes } from "react-router-dom";
63+
import HomePage from "pages/HomePage";
64+
import AboutPage from "pages/AboutPage";
65+
66+
const ProjectRoutes = () => {
67+
let element = useRoutes([
68+
{ path: "/", element: <HomePage /> },
69+
{ path: "/about", element: <AboutPage /> },
70+
// Add more routes as needed
71+
]);
72+
73+
return element;
74+
};
75+
```
76+
77+
## 🎨 Styling
78+
79+
This project uses Tailwind CSS for styling. The configuration includes:
80+
81+
- Forms plugin for form styling
82+
- Typography plugin for text styling
83+
- Aspect ratio plugin for responsive elements
84+
- Container queries for component-specific responsive design
85+
- Fluid typography for responsive text
86+
- Animation utilities
87+
88+
## 📱 Responsive Design
89+
90+
The app is built with responsive design using Tailwind CSS breakpoints.
91+
92+
93+
## 📦 Deployment
94+
95+
Build the application for production:
96+
97+
```bash
98+
npm run build
99+
```
100+
101+
## 🙏 Acknowledgments
102+
103+
- Built with [Rocket.new](https://rocket.new)
104+
- Powered by React and Vite
105+
- Styled with Tailwind CSS
106+
107+
Built with ❤️ on Rocket.new

favicon.ico

4.06 KB
Binary file not shown.

index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!doctype html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8" />
6+
<title>brocode</title>
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8+
<meta name="theme-color" content="#000000" />
9+
<meta name="description" content="Web site created using create-react-app" />
10+
<link rel="icon" href="/favicon.ico" />
11+
<link rel="manifest" href="/manifest.json" />
12+
<script type="module" src="https://static.rocket.new/rocket-web.js?_cfg=https%3A%2F%2Fbrocode1201back.builtwithrocket.new&_be=https%3A%2F%2Fapplication.rocket.new&_v=0.1.5"></script>
13+
</head>
14+
15+
<body>
16+
<noscript>You need to enable JavaScript to run this app.</noscript>
17+
<div class="dhiwise-code" id="root"></div>
18+
<script type="module" src="/src/index.jsx"></script>
19+
</body>
20+
21+
</html>

jsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": "./src"
4+
}
5+
}

package.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"name": "brocode",
3+
"version": "0.1.0",
4+
"private": true,
5+
"dependencies": {
6+
"@dhiwise/component-tagger": "^1.0.10",
7+
"@radix-ui/react-slot": "^1.2.3",
8+
"@reduxjs/toolkit": "^2.6.1",
9+
"@tailwindcss/forms": "^0.5.7",
10+
"@testing-library/jest-dom": "^5.15.1",
11+
"@testing-library/react": "^11.2.7",
12+
"@testing-library/user-event": "^12.8.3",
13+
"axios": "^1.8.4",
14+
"class-variance-authority": "^0.7.1",
15+
"clsx": "^2.1.1",
16+
"d3": "^7.9.0",
17+
"date-fns": "^4.1.0",
18+
"dotenv": "^16.0.1",
19+
"framer-motion": "^10.16.4",
20+
"lucide-react": "^0.484.0",
21+
"react": "^18.2.0",
22+
"react-dom": "^18.2.0",
23+
"react-helmet": "^6.1.0",
24+
"react-hook-form": "^7.55.0",
25+
"react-router-dom": "6.0.2",
26+
"react-router-hash-link": "^2.4.3",
27+
"recharts": "^2.15.2",
28+
"redux": "^5.0.1",
29+
"tailwind-merge": "^3.3.1",
30+
"tailwindcss-animate": "^1.0.7",
31+
"tailwindcss-elevation": "^2.0.0",
32+
"tailwindcss-fluid-type": "^2.0.7"
33+
},
34+
"scripts": {
35+
"start": "vite",
36+
"build": "vite build --sourcemap",
37+
"serve": "vite preview"
38+
},
39+
"eslintConfig": {
40+
"extends": [
41+
"react-app",
42+
"react-app/jest"
43+
]
44+
},
45+
"browserslist": {
46+
"production": [
47+
">0.2%",
48+
"not dead",
49+
"not op_mini all"
50+
],
51+
"development": [
52+
"last 1 chrome version",
53+
"last 1 firefox version",
54+
"last 1 safari version"
55+
]
56+
},
57+
"devDependencies": {
58+
"@tailwindcss/aspect-ratio": "^0.4.2",
59+
"@tailwindcss/container-queries": "^0.1.1",
60+
"@tailwindcss/line-clamp": "^0.1.0",
61+
"@tailwindcss/typography": "^0.5.16",
62+
"@vitejs/plugin-react": "4.3.4",
63+
"autoprefixer": "10.4.2",
64+
"postcss": "8.4.8",
65+
"tailwindcss": "3.4.6",
66+
"vite": "5.0.0",
67+
"vite-tsconfig-paths": "3.6.0"
68+
}
69+
}

postcss.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
plugins: {
3+
"tailwindcss/nesting": {},
4+
tailwindcss: {},
5+
autoprefixer: {},
6+
},
7+
};

public/_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* /index.html 200

public/assets/images/no_image.png

285 KB
Loading

0 commit comments

Comments
 (0)