Open the main.html file in your browser to view the output.
- Everything is written in the main.go file.
- To run the main.go file run command 'go run main.go' in your terminal.
- The local host server at 8081 port, change it accordingly.
- To make a get request run 'curl -i http://localhost:8081/articles' in terminal.
- To make a post request run 'curl -XPOST http://localhost:8081/articles -d ' { JSON_request_body } '
- To make a specific article id GET request run 'curl -i http://localhost:8081/articles/{id} in terminal.
- To make a word search request run 'curl -i http://localhost:8081/articles/search?q={param1}&..' in terminal
- I have not added the pagination and unit_testing as i failed to understand it. I may add it later.