Phase 1 : Create story endpoint
Closed this issue · 0 comments
You will start by creating an endpoint which will let users to create new stories. Your story should have three fields for now - Title, Titleand Published Date. For example, here is a news story that your application users will be able to create.
Title: Comet robot Philae phones home again
Body: Europe’s comet lander has again been in touch with Earth. The Philae probe made three short contacts of about 10 seconds each at roughly 2130 GMT on Sunday. Controllers at the European Space Agency said the contacts were briefer than they had hoped, but proved the little robot was in encouragingly good health after its seven-month slumber. Philae landed on Comet 67P in November and worked for 60 hours before its battery ran flat.
Published Date: 05 July 2018
Please persist the stories in a database. You can use any database of your choice