Both PUT and DELETE forms had the same id "testForm2", and DELETE form didn't work because of that; I changed it to "testForm3", now everything works like it's supposed to. |
||
|---|---|---|
| public | ||
| routes | ||
| tests | ||
| views | ||
| .bashrc | ||
| .gitconfig | ||
| .hyperdev-assets | ||
| .profile | ||
| assertion-analyser.js | ||
| package.json | ||
| README.md | ||
| server.js | ||
| test-runner.js | ||
FreeCodeCamp- Information Security and Quality Assurance
Project Issue Tracker
- SET NODE_ENV to
testwithout quotes and set DB to your mongo connection string in .env file - Complete the project in
routes/api.jsor by creating a handler/controller - You will add any security features to
server.js - You will create all of the functional tests in
tests/2_functional-tests.js