A WEB APP FOR MANAGING our regular CANTEEN PARTY'S AT -R land in revolutionary way named as
CLONE THE REPO
CONNECTING TO DATABASE:
1.crete a sqldatabase named "tray" using mysql or phpmyadmin
2.cd tray/nodeapp/database/tray.sql and copy paste the file to "tray" database just created as mysql script
3.cd tray/nodeapp/database/connect.js and change the password section , you see as 'XXXXXX' to your mysql password
INSTALLING DEPENDENCIES:
4. cd reactapp/
5.npm install
6.cd ../nodeapp
7. npm install
8. nodemon index.js { for starting server}
9. open other window of terminal and navigate to tray/reactapp
10. npm start { for starting react app}
HOW TO USE IT
First Register and then Login IT WILL REDIRECT YOU TO HOMEPAGE
EITHER CHOOSE [CREATE GROUP] OR [JOIN GROUP]
Choosing [CREATE GROUP] will make you ADMIN and you will get a UNIQUE GROUP CODE after you select CANTEEN and ORDER NAME
register another User at [ http://localhost:3000/ ] in another Browser or in incognito mode at of same browser and this time SELECT [JOIN GROUP] option
and put the GROUP CODE you get from earlier process and yo! you are now part of that group
now in LHS of screen you get items to select and submit you ORDER
if you are admin you can see all the orders placed by all the members joined in that GROUP
NOW you know the whole order and also
so the problem is solved and now you can sum up the order and submit it to CANTEEN OwNER
:SELECT CANTEEN :
:ADMIN MODE:
this project has been made by
1.DIVYANSHU RAJ
2.DEVASHISH YADAV
our portfolio link
https://divyanshuraj.co ==> DIVYANSHU RAJ
https://devashish1099.github.io/Portfolio/ ==> DEVASHISH
our github username
endurance21 ===>DIVYANSHU RAJ
devashish1099 ===>DEVASHISH YADAV