strapi / community-content

Contribute and collaborate on educational content for the Strapi Community
https://strapi.io/write-for-the-community
572 stars 404 forks source link

Build a Weather App using Next.js, Typescript, Strapi and Tailwind CSS #1471

Closed userJeremiah closed 1 month ago

userJeremiah commented 2 months ago

What is your article idea?

In this tutorial, readers will learn to develop a modern weather application using Next.js, Tailwind CSS, and Typescript. The article will guide readers through setting up their development environment, designing the user interface, fetching weather data from APIs, and implementing search functionality. It will also cover testing methodologies to ensure the app's functionality and usability. The target audience includes web developers interested in building robust and responsive web applications. The article will be structured as a step-by-step tutorial, providing clear explanations and code snippets for each stage of development.

What are the objectives of your article?

I. Introduction Aim: Introduce the project and its objectives. Purpose: Set the context for the Weather App project and outline the technologies to be used.

II. Prerequisites Aim: Outline the prerequisites needed before starting the project. Purpose: Ensure that the reader has all the necessary tools and knowledge to proceed with the project.

III. Setting up the Development Environment Aim: Configure the development environment. Purpose: Guide the reader through setting up Node.js, Next.js, Tailwind CSS, and Typescript for the project.

IV. Building the App Aim: Detail the process of building the Weather App. Purpose: Provide a step-by-step guide on how to develop each aspect of the Weather App, focusing on Next.js, Tailwind CSS, and Typescript.

V. Testing the App Aim: Test the Weather App for functionality and usability. Purpose: Ensure that the Weather App works as expected and meets the requirements.

VI. Conclusion Aim: Summarize the project and its outcomes. Purpose: Provide a summary of the project, reflect on the experience, and suggest possible future improvements or enhancements.

What is your expertise as a developer or writer?

Intermediate

What type of post is this?

Tutorial

Terms & Conditions

Theodore-Kelechukwu-Onyejiaku commented 2 months ago

Hi @userJeremiah ,

Thanks for your proposal. Could you please you please list out the features and technologies you will be using for the weather app?

Thank you.

userJeremiah commented 2 months ago

Here are some of the Technologies that will be implemented in this article; Next.js: Framework for server-rendered React applications, offering features like static and dynamic generation. Tailwind CSS: Utility-first CSS framework for building custom designs quickly. Typescript: Superset of JavaScript providing type safety and enhanced developer experience. OpenWeatherMap API: External API for fetching weather data. *Axios: Promise-based HTTP client for making API requests.

Features; Current Weather Display: Show current weather conditions (temperature, humidity, wind speed, etc.). Current Location Weather Display Responsiveness: The app will be responsive through several Screens (including mobile view etc.) Weather Forecast: Provide a multi-day weather forecast. Location Search: Implement search functionality with autocomplete for various locations. Weather Icons: Use weather icons to visually represent different weather conditions. *Loading States: Implement loading indicators while fetching weather data.

Thank you.

Theodore-Kelechukwu-Onyejiaku commented 2 months ago

Hi @userJeremiah ,

Thank you! You mentioned "Location Search", are you planning on using OpenWeatherMap API for that?

Please let me know.

userJeremiah commented 2 months ago

Yes @Theodore-Kelechukwu-Onyejiaku I plan on making use of OpenWeatherMap API , sorry I didn't mention that earlier

Theodore-Kelechukwu-Onyejiaku commented 1 month ago

Hi @userJeremiah , thanks!

I was wondering if it has API for locations.

Please would you mind adding Strapi to this project for historical data and some content management? Is that possible?

userJeremiah commented 1 month ago

Hi @Theodore-Kelechukwu-Onyejiaku it's not feasible adding strapi to this project, please let me know if this project is a good fit then I can carry on

Theodore-Kelechukwu-Onyejiaku commented 1 month ago

Hi @userJeremiah,

Please let me know if you are willing to add Strapi to this project.

There are more ways than one in which you could add Strapi. Like I suggested, you could use it to add historical weather data of places a user has searched and to see the current weather results of the places. A user can also delete from this history. This is just one way, you could come up with other fantastic ideas.

userJeremiah commented 1 month ago

Hi @Theodore-Kelechukwu-Onyejiaku , I will incorporate Strapi in storing the user search history and i think that should be good?... Hence I think the new title would be: Creating a Modern Weather App: Next.js, Tailwind CSS, Strapi and Typescript in Action

Theodore-Kelechukwu-Onyejiaku commented 1 month ago

Hi @userJeremiah ,

Yes, we could name it "Build a Weather App using Next.js, Strapi and Taiwlind CSS".

Note: This should not be a beginner article or project. So please could you list out the features of the app again to make sure we are on the same page? And also don't forget to mention what we will be using Strapi to achieve here. Thank you.

userJeremiah commented 1 month ago

Title: Build a Weather App using Next.js, Typescript, Strapi and Tailwind CSS

Technologies: Here are some of the Technologies that will be implemented in this article; Next.js: Framework for server-rendered React applications, offering features like static and dynamic generation. Tailwind CSS: Utility-first CSS framework for building custom designs quickly. Typescript: Superset of JavaScript providing type safety and enhanced developer experience. OpenWeatherMap API: External API for fetching weather data. Axios: Promise-based HTTP client for making API requests. Strapi: we will Use Strapi to store and manage user search history

Features: Current Weather Display: Show current weather conditions (temperature, humidity, wind speed, etc.). Current Location Weather Display Responsiveness: The app will be responsive through several screens (including mobile view, etc.) Weather Forecast: Provide a multi-day weather forecast. Location Search: Implement search functionality with autocomplete for various locations. Weather Icons: Use weather icons to visually represent different weather conditions. Loading States: Implement loading indicators while fetching weather data. User Search History Management: Use Strapi to store and manage user search history.

Thank you @Theodore-Kelechukwu-Onyejiaku.

userJeremiah commented 1 month ago

@Theodore-Kelechukwu-Onyejiaku should I go ahead

Theodore-Kelechukwu-Onyejiaku commented 1 month ago

Hi @userJeremiah ,

Your proposal is more of a beginner project. At the moment, we are interested in advanced projects. Please feel free to propose another one in the future. Thank you.