Skip to content
This repository was archived by the owner on Jul 27, 2025. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 1.7 KB

File metadata and controls

32 lines (24 loc) · 1.7 KB

Simple Lottery Tool Backend

🌍 中文 | English

This tool has been fully updated and archived. A remastered version has now been developed with richer features, including backend management, multi-event configuration, and more: https://github.com/buduan/Lottery-Tool-Backend

Built with Node.js + MongoDB, it supports running on Tencent Cloud's Serverless service.
We pulled an all-nighter the day before we needed it, so the admin API doesn't have authentication yet, but we'll add it later.
Please give us a Star~✨

Related Projects

Frontend Github Project:
The frontend is recommended to be built as an app using Electron or downloaded to devices using PWA, no deployment needed.
Frontend Github Project👉https://github.com/buduan/CPU-Lottery-Tool-FrontEnd/
Admin Frontend Github Project👉https://github.com/CompPsyUnion/GiftDrewAdminFE/
The admin frontend can be deployed to services like Tencent Cloud's static website hosting.

Installation Instructions

First, you need to prepare a Node.js environment and MongoDB database management software on your server.

Then, create a new project directory and clone this repository into your project directory.

Modify the database connection settings (address, port, username, password) in app.js.

Run the following command in the terminal:

node app.js

We will package it into an executable file and adapt it for Cloudflare Workers in the future.

API Documentation

Please visit👉ApiFox to view the API documentation.