Open shashi9 opened 2 years ago
There are missing files in the server side.
You have to set up the SQL db by running the commands in FDMS.sql file also change the credentials for the connection in config/default.json
curl --location --request POST 'http://localhost:3000/login' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_id":"userid1",
"user_pass":"pass1"
}'
curl --location --request GET 'http://localhost:3000/dishes'
And try running these commands
Please find below server response