Giter VIP home page Giter VIP logo

kalkulusta-bot's Introduction

Kalkulusták MMP Discord bot

About Kalkulusták MMP

Kalkulusták MMP is a community driven Discord server which provides an anonym way to rate the teachers of University of Szeged. It was created to partially replace the Mark My Professor website, because it isn't maintaned anymore.

Join Kalkulusták MMP

https://discord.gg/ecyurHj

Technologies

  • Node.js, TypeScript
  • discord.js, discordx npm packages
  • Prisma ORM
  • MySQL
  • Docker

Contributions are welcomed! Quick start for development

Install dependencies:

npm install
# or
yarn install

Create a new file called .env and add the following environment variables:

DATABASE_URL=mysql://kalkulusta:<MYSQL_PASSWORD>@localhost:3306/kalkulusta
DISCORD_TOKEN=
GUILD=
SEXY_EMOJI=
REPORT_EMOJI=
UP_EMOJI=
DOWN_EMOJI=
LOG_CHANNEL=

Generate prisma client:

npx prisma generate
# or
yarn prisma generate

Run the development server:

npm run dev
# or
yarn dev

Run the production server:

npm run build && npm run start
# or
yarn build && yarn start

Deployment with docker

Create a new files called .env.mysql and add the following environmnet variables:

MYSQL_DATABASE=kalkulusta
MYSQL_USER=kalkulusta
MYSQL_PASSWORD=
MYSQL_ROOT_PASSWORD=

Run command:

docker-compose up -d --build

kalkulusta-bot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

0xandrewblack

kalkulusta-bot's Issues

Bad link in the README

The Mark My Professor link is wrong. When I clicked on it, it throw me on https://github.com/Devidxyz/kalkulusta-bot/blob/main/www.markmyprofessor.com. You need to prefix it with https:// or http://.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.