This is a simple Next.js application for showing posts that demonstrates the use of various features such as API calls, light and dark mode functionality, and styling with Tailwind CSS.
- Home page
- Post page
- Fetches posts using Axios
- Responsive design with Tailwind CSS
- Light and dark mode functionality
- Pagination with
react-paginate
- Next.js: A React framework for building server-rendered applications.
- React: A JavaScript library for building user interfaces.
- Tailwind CSS: A utility-first CSS framework for styling.
- Axios: A promise-based HTTP client for making API requests.
- TypeScript: A typed superset of JavaScript that compiles to plain JavaScript.
To get started, clone this repository and install the dependencies:
git clone <your-repo-url>
npm install