https://github.com/mobilerast/nodejs-raffle
Node.js Raffle is a simple yet effective web application designed by Rast Mobile, perfect for conducting New Year raffle events. The app ensures a fair and random selection process, providing each participant with a unique chance to be drawn.
https://github.com/mobilerast/nodejs-raffle
express-session javascript nodejs raffle raffles
Last synced: 3 months ago
JSON representation
Node.js Raffle is a simple yet effective web application designed by Rast Mobile, perfect for conducting New Year raffle events. The app ensures a fair and random selection process, providing each participant with a unique chance to be drawn.
- Host: GitHub
- URL: https://github.com/mobilerast/nodejs-raffle
- Owner: mobilerast
- License: mit
- Created: 2023-12-27T08:33:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-27T08:45:28.000Z (over 1 year ago)
- Last Synced: 2025-01-08T17:21:59.780Z (4 months ago)
- Topics: express-session, javascript, nodejs, raffle, raffles
- Language: HTML
- Homepage: https://rastmobile.com/en/
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node.js Raffle App
## About
Node.js Raffle is a simple yet effective web application designed by Rast Mobile, perfect for conducting New Year raffle events. The app ensures a fair and random selection process, providing each participant with a unique chance to be drawn. Built with Node.js and Express, this application offers an easy-to-use interface for both event organizers and attendees.## Features
- **Random Name Selection**: Each session randomly picks a name from the participant list.
- **Session-Based Access**: Ensures each participant can draw only once, maintaining fairness.
- **User-Friendly Interface**: Simple and intuitive UI for an enjoyable user experience.## Getting Started
### Prerequisites
- Node.js
- npm (Node Package Manager)### Installation
1. Clone the repository:
```bash
git clone https://github.com/mobilerast/nodejs-raffle.git
```
2. Navigate to the project directory:
```bash
cd nodejs-raffle
```
3. Install dependencies:
```bash
npm install
```### Running the App
1. Start the server:
```bash
npm start
```
2. Access the application via a web browser at `http://localhost:3001`.## Usage
- **Draw a Name**: Visit the main page and click the button to draw a name. Each visitor can draw once.
- **Reset for New Event**: To reuse the app for another event, simply restart the server or repopulate the names list.## Support
For support, issues, or suggestions, please visit [GitHub Issues](https://github.com/mobilerast/nodejs-raffle/issues).## Contributing
Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.## License
This project is licensed under the terms of the ISC license.## Contact
Rast Mobile - [email protected]
[Website](https://rastmobile.com)