RUSH-LIST
DEVINE-SE-22
Our Project aims to simplify the task of tracking the commodities needed to be carries/bought by the students when they arrive at the hostel for the first time.
The admin can add items that are to be displayed in the list. Seniors/Freshers can do the following: Fresher: After logging in, they can see the list of all commodities displayed, and whether they are available in the campus,with the seniors or if they need to be carried from their homes. Senior: After logging in, they can add an item that they are willing to sell along with a suitable price and remove the existing deal once the product has been sold.
Working:
1)Run the commands given sql queries.txt in sql command line one by one
2)Start two terminals,one for client and one for server. enter node.js in server terminals and then execute npm start in the client terminal. You will be prompted to a login page. please confirm the password for sql in index.js file in the server folder.
3)You can create as many ids you want as freshers or seniors and then use them to login. There is also an admin id given to you with user id as 1000 and password as "password"