This is a Technical Test for InApps. The codebase is in Typescript, if you prefer realize it in Javascript, consider this test instead.
This project has been built with Vue.js 3. It uses Vuex for state management and Vue Router for routing. We also added Font Awesome icons.
You have to clone this repo localy and set remote url origin to a new repo from your account.
git clone git@github.com:360medics/inapp-technical-test-typescript.git
then create a new repo from your github account
then set new url origin
git remote set-url origin git@github.com:<user_account>/<repo_name>.git
and finally push master
git push
Run the following command in your terminal:
npm install
npm run serve
npm run lint
You are free to use any workflow you like. We recommend using Git for version control and VSCode for code editing.
The application is designed to be run on mobile devices. It is not designed to be run on a desktop.
There are two main features to implement and a bonus feature.
As a user, I want to be able to read blog articles. I want to access the blog articles list page from the home page. I want to see a short preview of each articles.
Articles can be fetched from an API or whatever source you want. Here is an example of a blog article:
{
"id": "1",
"title": "Article 1",
"content": "This is the content of the article 1",
"author": "John Doe",
"imageUrl": "https://via.placeholder.com/150",
"date": "2018-01-01"
}
Note: We do not ask you to create an API from the ground up (but you can!). You can use an API that already exists. For example:
- https://jsonplaceholder.typicode.com/posts, for content
- https://jsonplaceholder.typicode.com/photos, for article image preview (you could map
post.id
tophoto.albumId
)
As a user, I want to access the article details page from the blog articles list page and be able to read the full article content.
I should be able to navigate back to the blog articles list page from the article details page.
As a user, I want to be able to mark an article as liked. I want to be able to see a list of liked articles from the home page only if there are liked articles.
You can ask for help in cases you are stuck or have a question. You can join 360 tech team here