An open API service indexing awesome lists of open source software.

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.

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).