Skip to content

danuseta/urbanaid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌆 UrbanAID

🏧 Platform pelaporan dan sosialisasi infrastruktur modern

UrbanAID adalah aplikasi web yang memungkinkan pengguna untuk melaporkan masalah infrastruktur dan mengakses konten edukasi tentang infrastruktur perkotaan.

✨ Fitur Utama

👤 Fitur Pengguna

  • 🔐 Otentikasi pengguna (login/registrasi)
  • 🖍️ Sistem pelaporan infrastruktur
  • 🔍 Pelacakan laporan aktif
  • 📊 Riwayat laporan
  • 👤 Profil pengguna
  • 📚 Artikel edukasi
  • 🎓 Sumber belajar tentang infrastruktur

👨‍💼 Fitur Admin

  • 📢 Mengelola laporan masuk
  • ✅ Menangani ulasan laporan
  • 👥 Manajemen pengguna
  • 🔑 Manajemen admin (super admin)
  • 📊 Dashboard statistik

🛠️ Tech Stack

🎨 Frontend

  • ⚡ JavaScript (Vanilla)
  • 💅 Tailwind CSS
  • 📦 Webpack
  • 📱 PWA Support
  • 🧪 Jest for testing

⚙️ Backend

  • 🔷 Node.js
  • 🚀 Hapi.js
  • 🐘 PostgreSQL
  • 🔒 JWT Authentication
  • 🧪 Jest for testing

📚 API Documentation

📖 API Documentation

✨ Setup Instructions

🎨 Frontend Setup

  1. Masuk ke direktori client:
cd client
  1. Install dependencies:
npm install
  1. Jalankan development server:
npm run start-dev
  1. Build untuk production:
npm run build

⚙️ Backend Setup

  1. Masuk ke direktori server:
cd server
  1. Install dependencies:
npm install
  1. Setup environment variables:
cp .env.example .env
  1. Buat database dan jalankan migrations:
# Buat database PostgreSQL Anda dan update file .env
npm run migrate
  1. Buat super admin (opsional):
npm run create-superadmin
  1. Jalankan development server:
npm run dev

🧪 Testing

Frontend Tests

cd client
npm test

Backend Tests

cd server
npm test

🖍️ Catatan Tambahan

  • Pastikan PostgreSQL sudah terinstal di sistem Anda.
  • Gunakan Postman atau aplikasi serupa untuk menguji API secara manual.
  • Untuk menjalankan production server, sesuaikan konfigurasi environment sesuai kebutuhan.

📝 License

ISC License

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages