https://github.com/gtpshax/emilkoi
Platform e-voting MILKOI yang aman, efisien, dan mudah digunakan.
https://github.com/gtpshax/emilkoi
education nextjs reactjs sqlite3 tailwindcss voting-application
Last synced: about 2 months ago
JSON representation
Platform e-voting MILKOI yang aman, efisien, dan mudah digunakan.
- Host: GitHub
- URL: https://github.com/gtpshax/emilkoi
- Owner: GTPSHAX
- License: mit
- Created: 2025-10-06T14:51:50.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-10-06T17:14:38.000Z (9 months ago)
- Last Synced: 2025-10-06T18:22:45.531Z (9 months ago)
- Topics: education, nextjs, reactjs, sqlite3, tailwindcss, voting-application
- Language: TypeScript
- Homepage:
- Size: 386 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eMILKOI
> eMILKOI is a modern voting web application built with Next.js 15, TypeScript, and Tailwind CSS v4. Designed for seamless user experience with internationalization support (Indonesian/English), it provides a secure and intuitive platform for digital voting processes.
> [!NOTE]
> This application is not yet fully secure and working as it should, so we currently do not recommend deploying it for production.
[🇮🇩 Versi Indonesia](./README.md)
## Table of Contents
- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
## Requirements
- [Node.js](https://nodejs.org) v22+ or higher.
## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/GTPSHAX/eMILKOI.git
cd eMILKOI
```
2. **Install dependencies:**
```bash
npm install
```
3. **Run the development server:**
```bash
npm run dev
```
4. **Open your browser:**
Visit [http://localhost:3000](http://localhost:3000) to see the application.
## Usage
### Development Commands
```bash
# Run development server with Turbopack
npm run dev
# Build for production
npm run build
# Run production server
npm run start
# Lint code
npm run lint
# Auto-fix lint issues
npm run lint:fix
```
### Project Structure
```
src/
├── app/
│ ├── [lang]/
│ │ ├── layout.tsx # Language-specific layout with metadata
│ │ └── page.tsx # Main page with i18n support
│ ├── layout.tsx # Root layout with theme provider
│ └── page.tsx # Root redirect to default language
├── lib/
│ └── dictionaries/
│ ├── index.ts # Dictionary loader functions
│ ├── id.json # Indonesian translations
│ └── en.json # English translations
├── components/
│ └── language-switcher.tsx # Language toggle component
└── middleware.ts # URL rewriting and locale detection
```
## Contributing
We greatly appreciate all contributions from you. If you are interested in contributing, please:
1. Fork this repository
2. Create a branch for your feature/fix
3. Commit changes with clear messages
4. Push to your branch (Before pushing, make sure you have run `npm run lint` or `npm run lint:fix`)
5. Create a Pull Request
## License
This project is licensed under the [MIT License](LICENSE).