Skip to content

AntonioErdeljac/JobScheduler

Repository files navigation

JobScheduler

Simple Agenda Job Scheduler app with Slack integration created using React.js, Node.js & Agenda.js

Prerequisites

Make sure you have these installed on your machine

  • Node.js
  • MongoDB
  • npm This comes with Node.js, but make sure you check if you have it anyway

Installing packages

Install backend packages

cd backend/
sudo npm install --save

Install frontend packages

cd frontend/
sudo npm install --save

Running the app

To run the app (dev. mode)

cd backend
sudo SLACK_BOT_TOKEN=your_bot_token_here node app.js

cd frontend
sudo npm start

Slack commands

Make sure you have created a Slack Bot first & have added it to #general in your room

Available commands:

Delete job

jobby izbriši job_slug

Other Slack functions:

Automatic message on new job

*Novi posao:* Posao #1, *Vrjieme*: in 30 seconds, *Autor*: erda *Slug*: Posao-1-a5xgq7

Automatic message on job completion:

*Posao dovršen:* Posao #1, *Vrjieme*: Sat Nov 04 2017 16:29:41 GMT+0100 (CET), *Autor*: erda *Slug*: Posao-1-a5xgq7

Automatic message on job deletion:

*Posao izbrisan:* Posao #1, *Vrjieme*: 4:37:37 PM, *Izbrisao*: erda *Slug*: Posao-1-a5xgq7

Built With

Authors

License

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

Acknowledgments

  • This was an assigment for a part time job offer

About

Repository for a job scheduler assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published