Skip to content

Commit aeefc87

Browse files
authored
Merge pull request #152 from RecyThing/develop
prod(v1.0.0): release to production
2 parents a867d4a + 211020d commit aeefc87

File tree

337 files changed

+29890
-6546
lines changed

Some content is hidden

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

337 files changed

+29890
-6546
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
settings: { react: { version: '18.2' } },
1313
plugins: ['react-refresh'],
1414
rules: {
15+
'react/prop-types': 'off',
1516
'react-refresh/only-export-components': [
1617
'warn',
1718
{ allowConstantExport: true },

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ dist-ssr
2222
*.njsproj
2323
*.sln
2424
*.sw?
25+
*.env

README.md

Lines changed: 80 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,78 @@
11
# RecyThing - Website (Admin)
22

3-
### Table of Contents
3+
![RecyThing](./public/readme-thumbnail.png)
4+
5+
## Table of Contents
46

57
- [RecyThing - Website (Admin)](#recything---website-admin)
8+
69
- [Table of Contents](#table-of-contents)
10+
- [Folder Structure](#folder-structure)
11+
- [Tech Stack](#tech-stack)
12+
- [Contributors](#contributors)
713
- [How To Export Your Modules (Re-exporting)](#how-to-export-your-modules-re-exporting)
814
- [Naming Conventions](#naming-conventions)
915
- [Project Documents](#project-documents)
1016
- [References](#references)
1117

18+
## Folder Structure
19+
20+
Before diving into the code, it's important to understand the project's folder structure. The structure is organized to enhance readability and maintainability of the code. Here's a high-level overview of the directory layout:
21+
22+
```bash
23+
src
24+
├───apis # Objects and methods for API calls
25+
├───assets # Static assets (images, etc.)
26+
├───components # Reusable components (buttons, sections, etc.)
27+
├───configs # Configuration files (Axios, Chakra UI Theme, etc.)
28+
├───hooks # Custom React hooks
29+
├───layout # Page layouts
30+
├───pages # Feature pages
31+
├───routes # Route definitions and routing logic
32+
├───services # Services (authentication, etc.)
33+
├───store # Redux store and reducers
34+
├───utils # Utility functions
35+
├───App.jsx # Main App file to render pages and routes
36+
├───index.css # Global styles
37+
└───main.jsx # Entry point of the app, providers are set up here
38+
```
39+
40+
## Tech Stack
41+
42+
This project uses the following technologies:
43+
44+
[![Axios](https://img.shields.io/badge/Axios-5A2D9C?style=for-the-badge&logo=axios&logoColor=white)](https://axios-http.com/)
45+
[![Chakra UI](https://img.shields.io/badge/Chakra%20UI-319795?style=for-the-badge&logo=chakra-ui&logoColor=white)](https://chakra-ui.com/)
46+
[![Chart.js](https://img.shields.io/badge/Chart.js-FF6384?style=for-the-badge&logo=chartdotjs&logoColor=white)](https://www.chartjs.org/)
47+
[![CKEditor](https://img.shields.io/badge/CKEditor-%23494E52.svg?style=for-the-badge&logoColor=white)](https://ckeditor.com/)
48+
[![Framer Motion](https://img.shields.io/badge/Framer%20Motion-0055FF?style=for-the-badge&logo=framer&logoColor=white)](https://www.framer.com/api/motion/)
49+
[![React Hook Form](https://img.shields.io/badge/React%20Hook%20Form-275EA3?style=for-the-badge&logo=react-hook-form&logoColor=white)](https://react-hook-form.com/)
50+
[![React Router](https://img.shields.io/badge/React%20Router-CA4245?style=for-the-badge&logo=react-router&logoColor=white)](https://reactrouter.com/)
51+
[![React](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)](https://reactjs.org/)
52+
[![Redux Toolkit](https://img.shields.io/badge/Redux%20Toolkit-764ABC?style=for-the-badge&logo=redux&logoColor=white)](https://redux-toolkit.js.org/)
53+
[![Tailwind CSS](https://img.shields.io/badge/Tailwind%20CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white)](https://tailwindcss.com/)
54+
[![Vercel](https://img.shields.io/badge/Vercel-000000?style=for-the-badge&logo=vercel&logoColor=white)](https://vercel.com/)
55+
[![Vite](https://img.shields.io/badge/Vite-646CFF?style=for-the-badge&logo=vite&logoColor=white)](https://vitejs.dev/)
56+
[![Yup](https://img.shields.io/badge/Yup-EE4C2C?style=for-the-badge&logo=yup&logoColor=white)](https://github.com/jquense/yup)
57+
58+
> For more information about the tech stack, please refer to the [package.json](https://github.com/RecyThing/RecyThing-Web/blob/develop/package.json)
59+
60+
## Contributors
61+
62+
This project wouldn't be possible without the hard work and dedication of our team. Here are the contributors who brought this project to life:
63+
64+
| No | Name | Role | Github Profile Link |
65+
| :-- | :-------------- | ----------- | ------------------------------------------------------------------------ |
66+
| 1. | Taksa Wibawa | Team Leader | [https://github.com/TaksaWibawa](https://github.com/TaksaWibawa) |
67+
| 2. | Putri Ramadhani | Member | [https://github.com/Putri-R](https://github.com/Putri-R) |
68+
| 3. | Felicio Angga | Member | [https://github.com/FelicioAngga](https://github.com/FelicioAngga) |
69+
| 4. | Dady Bima | Member | [https://github.com/WorkerHarder171](https://github.com/WorkerHarder171) |
70+
| 5. | Leonardy Wijaya | Member | [https://github.com/Leonardiwijaya](https://github.com/Leonardiwijaya) |
71+
| 6. | Indra Kurniawan | Member | [https://github.com/indrakurr](https://github.com/indrakurr) |
72+
| 7. | Irfan Maulana | Member | [https://github.com/IrfanM66](https://github.com/IrfanM66) |
73+
| 8. | Rivaldo | Member | [https://github.com/badebess](https://github.com/badebess) |
74+
| 9. | Naufal Darma | Member | [https://github.com/naufalpratam4](https://github.com/naufalpratam4) |
75+
1276
## How To Export Your Modules (Re-exporting)
1377

1478
_Why do we need to re-export our modules?_
@@ -28,7 +92,7 @@ _How to re-export our modules?_
2892
import React from "react";
2993

3094
export function YourButton() {
31-
return <button>Your Button</button>;
95+
return <button>Your Button</button>;
3296
}
3397
```
3498

@@ -58,7 +122,7 @@ _How to re-export our modules?_
58122
import { YourButton } from "../components";
59123

60124
export function Page() {
61-
return <YourButton />;
125+
return <YourButton />;
62126
}
63127
```
64128

@@ -91,5 +155,16 @@ _How to re-export our modules?_
91155

92156
## References
93157

94-
- [Chakra UI](https://chakra-ui.com/)
95-
- [Tailwind CSS](https://tailwindcss.com/)
158+
- [React](https://reactjs.org/): JavaScript library for building user interfaces
159+
- [Vite](https://vitejs.dev/): Development environment and bundler
160+
- [Chakra UI](https://chakra-ui.com/): UI component library
161+
- [Tailwind CSS](https://tailwindcss.com/): Utility-first CSS framework
162+
- [CKEditor](https://ckeditor.com/): Rich text editor
163+
- [Redux Toolkit](https://redux-toolkit.js.org/): Global state management
164+
- [React Router](https://reactrouter.com/): Declarative routing for React
165+
- [React Hook Form](https://react-hook-form.com/): Efficient, flexible, and extensible forms
166+
- [Yup](https://github.com/jquense/yup): Form validation
167+
- [Axios](https://axios-http.com/): Promise-based HTTP client
168+
- [Chart.js](https://www.chartjs.org/): Simple yet flexible JavaScript charting
169+
- [Framer Motion](https://www.framer.com/api/motion/): Animation library for React
170+
- [Vercel](https://vercel.com/): Deployment platform

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite + React</title>
7+
<title>RecyThing Web</title>
88
</head>
99
<body>
1010
<div id="root"></div>

jsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"jsx": "react",
34
"baseUrl": ".",
45
"paths": {
56
"@/*": ["src/*"]

netlify.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[[redirects]]
2+
from = "/*"
3+
to = "/index.html"
4+
status = 200

0 commit comments

Comments
 (0)