No description
Find a file
Jonny_Bro (Nikita) f998a40ed8 better readme
2025-01-05 14:46:02 +05:00
components update source link 2024-08-29 11:22:31 +05:00
data fix 2024-08-29 12:00:05 +05:00
public first commit 2024-08-29 09:48:27 +05:00
routes feat: add a simple list of courses that user made 2024-12-13 22:38:52 +05:00
tailwind-files first commit 2024-08-29 09:48:27 +05:00
utils first commit 2024-08-29 09:48:27 +05:00
views feat: add a simple list of courses that user made 2024-12-13 22:38:52 +05:00
.ejsbrc.json first commit 2024-08-29 09:48:27 +05:00
.gitignore undockerize 2024-12-06 18:08:27 +05:00
.prettierrc first commit 2024-08-29 09:48:27 +05:00
config.example.js undockerize 2024-12-06 18:08:27 +05:00
index.js fix steam login 2024-12-06 18:29:09 +05:00
LICENSE first commit 2024-08-29 09:48:27 +05:00
package.json feat: add a simple list of courses that user made 2024-12-13 22:38:52 +05:00
pnpm-lock.yaml feat: add a simple list of courses that user made 2024-12-13 22:38:52 +05:00
README.md better readme 2025-01-05 14:46:02 +05:00
tailwind.config.js first commit 2024-08-29 09:48:27 +05:00

Beatrun Courses Database Server

Beatrun courses database written in JavaScript using Node.js.
This project is a rewrite of this fork from PHP to JavaScript. The original project was made by relaxtakenotes.

Features

  • Courses management.
  • User authentication using Steam API.
  • Admin dashboard.
  • API for external integrations.

Installation

To install the dependencies and start the server, run the following commands:

pnpm i
pnpm start

Usage

Routes

  • /admin - Admin dashboard
  • /api - API endpoints
  • /auth - Authentication routes
  • / - Main application routes
  • /key - Keys management
  • /stats - Statistics
  • /upload - Courses uploads

Views

  • admin.ejs - Admin dashboard view
  • error.ejs - Error page view
  • index.ejs - Main page view
  • key.ejs - Keys management view
  • stats.ejs - Statistics view

Configuration

Copy config.example.js to config.js and update the configuration as needed.

Database

The main database file is located at main_db.json. An example database file is provided at main_db.example.json.

Logging

Logs are stored in logs.log.

Contributing

Feel free to submit issues and pull requests. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

TODO

  • Add something else?