-
DevOps project for the course.
-
NodeJs Server code for the Falshfood bot.
-
This server interacts with the Facebook developer APIs to receive and send messages. It also interacts with the python server to store the user's information, restaurant's information and the user's orders.
-
This is a platform where any verified restaurant can come to sell food items. We provide them with our customer base and push offers to customers present in that area that time. Also, a user can come and ask for currently live offers.
-
To run the server use the following command -
node Flasbot.js
. There's a dockerfile available for building the image. -
Need to add appropriate facebook page token in
notify.js
,git.js
. -
app.js
contains sample menu and sample orders to test the storing and fetching information from the database. To start the sample tests inapp.js
runapptest.js
file using the following command -node apptest.js
. -
The modules required by the node server are mentioned in the
package-lock.json
file and installed in thenode_modules
locally i.e., present in the node server. -
Jenkinsfile
is also present in the root of the repository to start the pipeline in Jenkins if any to ensure CI/CD. The code will be pulled frok git into Jenkins and the pipeline starts to test the server and deploy it using rundeck instance.
forked from Alakazam03/Flashfood
-
Notifications
You must be signed in to change notification settings - Fork 0
ayruslore/Flashfood
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
DevOps project . This repository contains the node server code for the Flashfood chatbot. It interacts with Facebook Developer APIs send and receive messages on messenger.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 74.1%
- Python 25.6%
- Dockerfile 0.3%