- This project was started to communicate with telegram based on what photos you send to it
- You take pictures of the kilometers of your vehicle, followed by the caption saying how many kilometers was done
- Once photo is sent on Telegram it runs some logic then sends a response back
- JavaScript
- Express
- MongoDB (for database, at time of testing this was only done locally)
- Github (for version control)
- yarn (this is my package manager instead of npm)
- Mongoose (for communicating with my db)
- Intellij IDE
- Heroku (this is still to come)
- Webhooks (this will come once deployed on Heroku)
- server.js - this is the main entry point into the project
- src - this is where all directories and files will sit stands for source
- controllers - this is for the main function sit here sending data to other helper functions
- services - this is where all helper functions sit for the controllers
- lib - this is used for all important files like a file that handles environment variables
- models - all schemas sit here
- public - all other content that I don't have a directory for like screenshots
- utils - this is used for all files that i use often like getting data from a db
The service works at a range of 300 below and 300 above the next service
- This project needs to be made live on Heroku
- Once live setup Webhooks
- Test it with taken photos of vehicle KM (this can only be done when I obtain a vehicle)
- If the step above can be completed, then test to see if numbers can be grabbed from photos