Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
b2b10f5
feat: use typescript
agung-adhinata Jun 30, 2024
6a84abc
feat: cleanup
agung-adhinata Jun 30, 2024
d93b939
feat: cleanup UI
agung-adhinata Jun 30, 2024
709a6ed
feat: put websocket into context provider
agung-adhinata Jul 4, 2024
7a8ac4b
feat: update code
agung-adhinata Jul 4, 2024
0831f94
Merge branch 'main' of github.com:Kitastack/bye-cheating into dev
agung-adhinata Jul 4, 2024
befd3ca
fix: rename CMD to ENTRYPOINT to fix entrypoint not found
agung-adhinata Jul 5, 2024
6a170d5
feat: update context
agung-adhinata Jul 6, 2024
310510c
fix: router error due to incorrect context order
agung-adhinata Jul 13, 2024
a5378f2
feat: modify eslint configuration to fix eslint and TS confict on editor
agung-adhinata Jul 13, 2024
71c36ca
feat: re-expose context using custom hook
agung-adhinata Jul 13, 2024
673a61b
feat: cleanup deps and linter
agung-adhinata Jul 14, 2024
53caad4
feat: fix import, remove unused inspector props
agung-adhinata Jul 14, 2024
33e94ca
feat: migrate to local fonts, fix missing assets
agung-adhinata Jul 14, 2024
cb7f1c0
feat: convert to mantine ui
agung-adhinata Jul 23, 2024
5238da7
update report ui and overrall fonts
agung-adhinata Jul 24, 2024
e8d9da9
feat: update layout
agung-adhinata Jul 28, 2024
945f4e1
feat: add table view into main dashboard
agung-adhinata Jul 30, 2024
0764dc2
feat: refactor page name, fix bug
agung-adhinata Jul 30, 2024
52646cd
feat: decouple into separated component
agung-adhinata Jul 30, 2024
423c9ae
feat: add dark mode, improve UI
agung-adhinata Jul 31, 2024
74fb7d0
feat: reducte tailwind usage
agung-adhinata Aug 1, 2024
c667928
feat: move inspector to main layout
agung-adhinata Aug 1, 2024
cbf8b89
feat: add minimal layout for login and register page
agung-adhinata Aug 1, 2024
5a4b010
feat: replace react icon with tabler icon to reduce npm size
agung-adhinata Aug 1, 2024
1cc8ee7
Merge pull request #4 from Kitastack/new-ui-mantine
agung-adhinata Aug 1, 2024
6e4f37b
feat: add notification and motals manager
agung-adhinata Aug 4, 2024
60b2c4a
feat: add "add camera" button
agung-adhinata Aug 6, 2024
e18c8d0
feat: update login and header design
agung-adhinata Aug 6, 2024
e09a78e
Merge branch 'dev' of github.com:Kitastack/bye-cheating into dev
agung-adhinata Aug 9, 2024
5039afb
feat: update register UI, setup localization just in case we need it
agung-adhinata Aug 16, 2024
ff4d5be
feat: add error screen and addd account card
agung-adhinata Aug 19, 2024
8e67501
GitButler Integration Commit
gitbutler-client Sep 3, 2024
76b1c6f
feat: add cam toggle between raw & ML view
agung-adhinata Sep 3, 2024
c4c0eab
feat: add "add camera" button
agung-adhinata Sep 3, 2024
e9088d3
feat: add user page
agung-adhinata Sep 3, 2024
3a76307
feat: update auth context
agung-adhinata Sep 3, 2024
021b539
feat: setup constant
agung-adhinata Sep 3, 2024
d294b11
refactor
agung-adhinata Sep 3, 2024
f9b4ef8
feat: setup GrpcContext
agung-adhinata Sep 3, 2024
108c0fc
feat: rename all routes
agung-adhinata Sep 3, 2024
b3117a2
feat: migrate from react-router to tanstack-router
agung-adhinata Sep 3, 2024
e2ec64f
feat" rename icon to headericon
agung-adhinata Sep 5, 2024
cb6760f
feat: add profile page
agung-adhinata Sep 5, 2024
9a1d261
refactor
agung-adhinata Sep 5, 2024
3655a93
feat: make aside inspector swappable in based on page
agung-adhinata Sep 5, 2024
69bc7d3
feat: setup interface
agung-adhinata Sep 5, 2024
f34ac8a
feat: update ui
agung-adhinata Sep 29, 2024
0b58dd6
feat: move ui
agung-adhinata Sep 29, 2024
6ac66a9
cleanup
agung-adhinata Sep 29, 2024
71f3909
remove register
agung-adhinata Sep 29, 2024
67d1185
remove register
agung-adhinata Sep 29, 2024
df0b409
Merge branch 'dev' of github.com:Kitastack/bye-cheating into dev
agung-adhinata Sep 29, 2024
24f25fe
Merge branch 'dev' of github.com:Kitastack/bye-cheating into dev
agung-adhinata Sep 29, 2024
47e5d1d
Merge branch 'dev' of github.com:Kitastack/bye-cheating into dev
agung-adhinata Sep 29, 2024
ae9798a
feat: create user form
agung-adhinata Sep 29, 2024
c11be2b
temp: remove ws implementation
agung-adhinata Sep 29, 2024
2226770
feat: change GRPC to ImageStreamContext
agung-adhinata Oct 4, 2024
4fdbf67
feat: add camera list extension
agung-adhinata Oct 8, 2024
9231b60
feat: create separation at camera list feature
agung-adhinata Oct 10, 2024
9f9fd58
feat: refactor
agung-adhinata Oct 10, 2024
155053e
test
agung-adhinata Oct 10, 2024
532436f
feat: refactor layout component
agung-adhinata Oct 10, 2024
a74f293
Merge branch 'fix-missing' into dev
agung-adhinata Oct 10, 2024
77c4fb5
feat: restore removed feature
agung-adhinata Oct 10, 2024
10c3ae7
feat
agung-adhinata Oct 14, 2024
5efdc2b
feat: integrate with backend application
agung-adhinata Oct 14, 2024
ce848c5
feat: cleanup
agung-adhinata Oct 14, 2024
678fb1d
feat: remove auth from imagestream
agung-adhinata Oct 14, 2024
b7c9d28
merge changes from github.com/agung-adhinata/bye-cheating-frontend
agung-adhinata Jun 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/services/report/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN npm install
COPY . .
# setup port
# EXPOSE 8091
CMD [ "npm", "run", "start" ]
ENTRYPOINT [ "npm", "run", "start" ]
1 change: 1 addition & 0 deletions frontend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BACKEND_HOST=http://localhost:8080
21 changes: 0 additions & 21 deletions frontend/.eslintrc.cjs

This file was deleted.

21 changes: 21 additions & 0 deletions frontend/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 KitaStack

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
47 changes: 47 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Bye-Cheating

Sebuah aplikasi mendeteksi kecurangan ujian melalui sistem pendeteksi CCTV menggunakan Algoritma YOLOv7 Terintegrasi dengan website

## Preview

![Preview aplikasi](images/preview.jpeg)

> Lihat demo aplikasi

- [Youtube](https://youtu.be/Jt4vekrCvrE)
- [Website](https://by-cheating.web.app/)

## Prasyarat

### Hardware

| Component | Minimum | Recommended\* | Maximum |
| -------------------------- | --------------------------------------------------- | ----------------------------------------------- | --------- |
| CPU socket | 1.3 GHz (64-bit processor) or faster for multi-core | 3.1 GHz (64-bit processor) or faster multi-core | 2 sockets |
| Memory (RAM) | 8 GB | 16 GB | 64 GB |
| Hard disks dan penyimpanan | 10 GB hard disk with a 60 GB system partition | | No limit |

### Software

- `node 18` atau terbaru
- `python 3.12`
- `ffmpeg`, dapat diunduh di [situs resmi](https://www.ffmpeg.org/download.html)
- `ultralytics`, lihat dokumentasi lengkap di [situs resmi](https://docs.ultralytics.com/models/yolov7/)
- `fastapi`, lihat dokumentasi lengkap di [situs resmi](https://fastapi.tiangolo.com/)
- `nginx`, lihat dokumentasi lengkap di [situs resmi](https://www.docker.com/)
- `redis`, lihat dokumentasi lengkap di [situs resmi](https://redis.io/)
- `docker & docker compose`, lihat dokumentasi lengkap di [situs resmi](https://www.docker.com/)
- `react.js`, lihat dokumentasi lengkap di [situs resmi](https://react.dev/)
- `vite`, lihat dokumentasi lengkap di [situs resmi](https://vitejs.dev/)

## Instalasi

1. Jalankan backend
- dengan menggunakan terminal, masuk ke folder `backend/service`. di folder ini terdapat 2 buah file backend, yaitu:
- model
- report
- lakukan instalasi menggunakan dokumentasi pada [folder backend](./backend/)
2. Jalankan frontend
- menggunakan program console yang lain, masuk ke folder `frontend`
- Jalankan perintah `npm i` untuk mengunduh dan mempersiapkan dependensi yang diperlukan
- jalankan `npm run dev` di console, dan buka link frontend yang muncul pada console
1,078 changes: 1,078 additions & 0 deletions frontend/bun.lock

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions frontend/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js";

export default [
{ files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"] },
{ languageOptions: { parserOptions: { ecmaFeatures: { jsx: true } } } },
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginReactConfig,
{
rules: {
"react/react-in-jsx-scope" : "off"
}
}
];
4 changes: 2 additions & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/LogoBgWhite.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bye-Cheating</title>
<title>Bye Cheating</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading