https://github.com/rezairfanwijaya/sharing-vision-indonesia
https://github.com/rezairfanwijaya/sharing-vision-indonesia
api-rest backend frontend fullstack gin-gonic go gorm-orm javascript mysql-database reactjs
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rezairfanwijaya/sharing-vision-indonesia
- Owner: rezairfanwijaya
- Created: 2023-07-11T09:41:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-15T07:49:07.000Z (almost 2 years ago)
- Last Synced: 2025-02-14T18:17:58.468Z (3 months ago)
- Topics: api-rest, backend, frontend, fullstack, gin-gonic, go, gorm-orm, javascript, mysql-database, reactjs
- Language: CSS
- Homepage:
- Size: 9.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Simple Article Management
Simple article management merupakan website sederhana yang digunakan untuk mengatur artikel dengan sangat mudah. Pengguna bisa membuat arikel, mengedit dan juga melihat list artikel dengan status artikel `Publish` atau `Draft` ataupun `Trash`. Berikut merupakan persayaratan untuk menjalankan aplikasi di dalam environtment lokal anda.
## Requirements
- [Golang ^1.18](https://go.dev/dl/)
- [Nodejs ^18.12.0](https://nodejs.org/en)
- [XAMPP 8.0.28](https://www.apachefriends.org/download.html)Berikut merupakan teknologi yang dipakai dalam aplikasi ini
## What's inside?
- [GIN v1.9.1](https://github.com/gin-gonic/gin)
- [GORM v1.25.2 ](https://gorm.io)
- [Testify v1.8.4](https://github.com/stretchr/testify)
- [Godotenv v1.5.1](https://github.com/joho/godotenv)
- [React Router v1.5.1](https://reactrouter.com/en/main)
- [React Router ^6.14.1](https://reactrouter.com/en/main)
- [Sweet Alert ^11.7.16](https://sweetalert2.github.io)
- [Prime React ^9.6.0](https://primereact.org)
- [Flowbite ^1.7.0](https://flowbite.com)
- [Tailwind](https://tailwindcss.com)Untuk dapat menjalankan program ini dapat mengikuti intsruksi berikut
## Run Locally For Setup Server (Backend)
#### Clone the project
```bash
git clone https://github.com/rezairfanwijaya/sharing-vision-indonesia.git
```#### Go to the project directory
```bash
cd sharing-vision-indonesia/backend
```#### Get Dependenvy
```bash
go mod tidy
```#### Setup ENV
##### Rename .env.example file menjadi .env dan sesuaikan dengan database yang dipilih
##### contoh :
```bash
DATABASE_USERNAME = "root"
DATABASE_PASSWORD = ""
DATABASE_HOST = "127.0.0.1"
DATABASE_PORT = "3306"
DATABASE_NAME = "article"
```#### Run application
##### Terdapat executable file bernama `main.exe` dan jalankan file tersebut sehingga terbuka terminal. Jangan menutup terminal selama program dijalankan.
Ketika server berhasil dijalankan maka akan dibuatkan tabel artikel secara otomatis di database dengan sample sejumlah tiga artikel.
## Run Locally For Setup Client (Frontend)
#### Go to the project directory```bash
cd sharing-vision-indonesia/frontend
```#### Get Dependency
```bash
npm install
```#### Serve Application
```bash
npm start
```


## API DOCUMENTATION
#### [POSTMAN](https://documenter.getpostman.com/view/11940636/2s946cfuJE)