Skip to content

NilsNathorst/FakeNews

Repository files navigation

FakeNews

Our first awesome PHP-project! (first year web-dev @ Yrgo)

  • The assignment was to build a "fake-news" site including authors, articles, publish dates etc.. i chose to get real articles using an API, link below!

Motivation

At first i wanted to build this using PDO/Sqlite3 but i turned out to be in over my head. But i still wanted to make it more interesting than just arrays of articles i would've written myself.

Tech/framework used

Built in Atom with

Installation

If you want to use this you will have to get your own API-key head over to: Getting started with newsAPI

API Reference

  • newsapi.org
    A simple API which gives you JSON-data with a bunch of cool articles based on search criteria.

How to use?

For intended usage toggle device toolbar to iPhone X or similar.
Only use "-" (dashes) in place of spaces in your searches! Otherwise it crashes

Credits

Thanks to:

Also special thanks to Vincent for being a great teacher / built the like function.

=======

  • Special thanks to Vincent for being a great teacher / built the like function.

712cf04b41ff6cc89e64f53df2eaec019c16473a

License

MIT © Nattfrost

About

School assignment in PHP. Create a mock-news website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published