- Clone this repository.
- Install npm packages using
./getPacks.sh
(if this doesn't work, usechmod +x getPacks.sh
and then./getPacks.sh
) - Run the server.
npm run devStart
- Server starts running at port: 5000 and React page on port: 3000
- Go to Browser and run
localhost:5000
. You will see the usage of API and Help on your browser.
- Enter the name of the event
- Enter the name of the ambassador running the event
- Enter the participants names (seperated by commas)
- Check the certificates folder for your certificates
- GET '/' : This is a Help Route
- POST '/sendData' : One and only Route for Certificate Generation. Below is the description of what you should send as Raw JSON with this POST Request.
- {
event_name:"Name of The Event",
ambassador_name: "Name of the Ambassador",
participants:["Person 1","Person 2","Person 3","Person 4"]
} - After Successful generation of certificates you will receive response as Success and all certificates will be in folder named certificates
- {