Skip to content

shridam1207/Appointy_Intern_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Appointy_Intern_task

Front end task is to create an UI web clone of Inshorts App


Open the main.html file in your browser to view the output.

Backend task is to create an API for the Inshorts App


Procedure to test the API


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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors