A simple lottery application for Meetup.com.
Meetup.com is a popular website to organize local community events. Sometimes it would be fun if there is a lucky draw for attendees at the end of the meetup. So I developed this tool to set a lucky draw.
It is supposed that you have Node.js
and Angular
CLI installed on your laptop. For more information about Angular
, please visit https://angular.io, or open this link.
Install Node.js
from https://nodejs.org/en/. After installing Node.js
, you can use npm
to install Angular CLI
by running this command:
npm install -g @angular/cli
First, get the attendees' data from meetup.com. Download the attendees' data as an Excel file. Copy the name column and use ChatGPT to generate a JSON file like this:
{
"data": [
{ "name": "User 1" },
{ "name": "User 2" },
{ "name": "User 3" }
]
}
Copy the content and save it as a JSON file called attendees.json
in the assets
folder.
Clone the project and navigate to the tiny-lottery
folder. Run the following command to install the packages:
npm install --force
Then use the command below to run it:
ng serve --open
That's it!
yan_xiaodi{at}hotmail.com