preview.mp4
This is a Next.js project bootstrapped with create-next-app
.
Getting Started
First, run the development server:
git clone https://github.com/ozakione/react-ex-1
cd react-ex-1
touch .env.local
# add the line below in .env.local
# NEWS_API_KEY=yourapikey
npm i
npm run dev
Open http://localhost:3000 with your browser to see the result.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
Project info
- You need to design a news application with two tabs
- Home : will contain a list with infinity scroll of all news displayed in list form, with cells composed of an image, a title and the source (if information available).
- A sub-navigation to a detail view of a news item containing all the information you deem useful
- A bookmark system on the home page or in the detail view making news available offline news (images and content of the detail view).
- A redirection system to the full article page.
- A search system by various elements (title, source, language, etc...)
- Favorites: which will list the news items you have bookmarked and allow you to delete them
Technical stack :
- React
- Axios
- LocalStorage
- EasyPeasy (state handling)
- Tailwind
- NextJS
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.