RestFul API build in NodeJS
Steps to learn create Rest API and add crud functionalities. Develop restful api using Basic authentication. Before running this code install node and mongodb
Step to run code
1 git clone 2 cd store/ and run command node install 3 start server using node server 4 check url eg http://localhost:3000/api/ Should see messagae "Cannot GET /api/" 5 check api using postman or any other tools used for rest api.
Right now only basic authentication method are used.
Coming soon with other method like authorization, token creation and with some more strategy provided by passport package.