RestFull token based api
Run node app.js
to start the server. URL will be to http://localhost:4222/
.
Run npm test
to execute the unit tests via [mocha]
before execute the application configure mysql connection in "./configuration/dbConfig.js" file
locate file "mysql-query.sql" to execute the mysql queries
get - http://localhost:4222/user -> to get all the users
post - http://localhost:4222/user -> to post user JSON body: { "fName": "string", "lName": "string", "email": "string/email", "gender": "[Male/Female]" }