<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Prince Owusu</title>
    <description>The latest articles on DEV Community by Prince Owusu (@prince272).</description>
    <link>https://dev.to/prince272</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F358875%2F1e8c13e6-2ed5-4d87-a0f2-da0279451eb4.jpg</url>
      <title>DEV Community: Prince Owusu</title>
      <link>https://dev.to/prince272</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prince272"/>
    <language>en</language>
    <item>
      <title>🚀 Introducing NextSolution V2: ASP.NET API + Next.js + Expo Starter Template</title>
      <dc:creator>Prince Owusu</dc:creator>
      <pubDate>Sat, 07 Sep 2024 17:50:31 +0000</pubDate>
      <link>https://dev.to/prince272/introducing-nextsolution-v2-aspnet-api-nextjs-expo-starter-template-k9b</link>
      <guid>https://dev.to/prince272/introducing-nextsolution-v2-aspnet-api-nextjs-expo-starter-template-k9b</guid>
      <description>&lt;p&gt;&lt;strong&gt;NextSolution&lt;/strong&gt; V2 is a robust starter template for building full-stack applications that combine an ASP.NET API, a Next.js (React) web app, and an Expo (React Native) mobile app. This is an all-in-one solution for developers looking to create powerful APIs with responsive web and mobile interfaces.&lt;/p&gt;

&lt;h2&gt;
  
  
  Motivation Behind NextSolution V2
&lt;/h2&gt;

&lt;p&gt;The first version of NextSolution gained significant traction, with a steady increase in NuGet downloads and GitHub stars. This positive feedback inspired me to create V2, featuring an improved codebase and more organized patterns. I hope this updated version further enhances your development workflow. 🙌&lt;/p&gt;

&lt;p&gt;👉 If this project helps you, please consider &lt;a href="https://github.com/sponsors/prince272" rel="noopener noreferrer"&gt;sponsoring me on GitHub&lt;/a&gt; to support its continued development. Thank you! 🙏&lt;/p&gt;

&lt;h2&gt;
  
  
  Expo App Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/user-attachments/assets/e33f0f81-c978-48c2-9a82-1f90102e6b7b" rel="noopener noreferrer"&gt;https://github.com/user-attachments/assets/e33f0f81-c978-48c2-9a82-1f90102e6b7b&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Next App Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/user-attachments/assets/5c7b1698-a583-4d05-914a-20deb0257dd0" rel="noopener noreferrer"&gt;https://github.com/user-attachments/assets/5c7b1698-a583-4d05-914a-20deb0257dd0&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;p&gt;Follow these steps to get your development environment up and running.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prerequisites
&lt;/h3&gt;

&lt;p&gt;Before you begin, ensure you have the following installed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://visualstudio.microsoft.com/downloads/" rel="noopener noreferrer"&gt;Visual Studio 2022 or later&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://code.visualstudio.com/" rel="noopener noreferrer"&gt;Visual Studio Code&lt;/a&gt; (optional)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dotnet.microsoft.com/download/dotnet/8.0" rel="noopener noreferrer"&gt;.NET 8.0 SDK&lt;/a&gt; (latest version)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://nodejs.org/en/" rel="noopener noreferrer"&gt;Node.js v20&lt;/a&gt; (latest version, only required if you are using Next.js or Expo)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Installation
&lt;/h3&gt;

&lt;p&gt;To set up your project using the NuGet template, follow these steps:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Install the NuGet template:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open your terminal or command prompt and run the following command to install the template:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dotnet new --install NextSolution.Template::2.0.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Check for the latest version of the template on &lt;a href="https://www.nuget.org/packages/NextSolution.Template" rel="noopener noreferrer"&gt;NuGet&lt;/a&gt; to ensure you are using the most recent release.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Create a New Project Using the Template:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After installing the template, you can either continue using the terminal or command prompt, or switch to Visual Studio to create the new project:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Using the terminal or command prompt:&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Generate a new project by running the following command. Replace &lt;code&gt;YourProjectName&lt;/code&gt; with your desired project name:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dotnet new nextsln -o YourProjectName --include-expo --include-next --configure-ngrok
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;--include-expo&lt;/code&gt;: Include Expo project in the solution (Ngrok is recommended for exposing APIs to your Expo app).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;--include-next&lt;/code&gt;: Include Next.js project in the solution.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;--configure-ngrok&lt;/code&gt;: Configure Ngrok tunneling (requires signing up at Ngrok to obtain your token and a custom domain).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Move into the newly created project directory:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd YourProjectName
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Restore the project dependencies:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dotnet restore
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Open the solution file in Visual Studio:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;start YourProjectName.sln
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Using Visual Studio:&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Open Visual Studio, select "Create a new project," search for "Next Solution," select it, and follow the prompts to create your project.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mobile Development Guide
&lt;/h3&gt;

&lt;p&gt;Set up your mobile development environment by following these steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Set Up Your Expo Development Environment&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Follow the official &lt;a href="https://docs.expo.dev/get-started/set-up-your-environment/" rel="noopener noreferrer"&gt;Expo documentation&lt;/a&gt; to install all the necessary tools, configure your environment, and run your first Expo project.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Use React Native Paper Components&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Since we're using &lt;a href="https://reactnativepaper.com/" rel="noopener noreferrer"&gt;React Native Paper&lt;/a&gt;, you can refer to the following documentation to get started with its components and features: &lt;a href="https://callstack.github.io/react-native-paper/docs/guides/getting-started" rel="noopener noreferrer"&gt;Getting started with React Native Paper&lt;/a&gt;  &lt;/p&gt;

&lt;h3&gt;
  
  
  Web Development Guide
&lt;/h3&gt;

&lt;p&gt;Set up your web development environment by following these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Install a Web Browser&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Choose and install any modern browser of your choice (e.g., Google Chrome, Firefox, Microsoft Edge).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Use NextUI Components&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Since we're using &lt;a href="https://nextui.org" rel="noopener noreferrer"&gt;NextUI&lt;/a&gt;, you can refer to the following documentation to get started with its components and features: &lt;a href="https://nextui.org/docs/guide/getting-started" rel="noopener noreferrer"&gt;Getting started with NextUI&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Tools, Frameworks &amp;amp; Libraries
&lt;/h2&gt;

&lt;p&gt;This template was built using a variety of powerful frameworks and tools, including: &lt;a href="https://dotnet.microsoft.com/" rel="noopener noreferrer"&gt;.NET&lt;/a&gt;, &lt;a href="https://ngrok.com/" rel="noopener noreferrer"&gt;Ngrok&lt;/a&gt;, &lt;a href="https://jwt.io/" rel="noopener noreferrer"&gt;JWT (JSON Web Tokens)&lt;/a&gt;, &lt;a href="https://docs.microsoft.com/en-us/ef/" rel="noopener noreferrer"&gt;Entity Framework&lt;/a&gt;, &lt;a href="https://automapper.org/" rel="noopener noreferrer"&gt;AutoMapper&lt;/a&gt;, &lt;a href="https://fluentvalidation.net/" rel="noopener noreferrer"&gt;FluentValidation&lt;/a&gt;, &lt;a href="https://flurl.dev/" rel="noopener noreferrer"&gt;Flurl&lt;/a&gt;, &lt;a href="https://github.com/Humanizr/Humanizer" rel="noopener noreferrer"&gt;Humanizer&lt;/a&gt;, &lt;a href="https://github.com/libphonenumber/libphonenumber-csharp" rel="noopener noreferrer"&gt;libphonenumber-csharp&lt;/a&gt;, &lt;a href="https://github.com/jstedfast/MailKit" rel="noopener noreferrer"&gt;MailKit&lt;/a&gt;, &lt;a href="https://oauth.net/" rel="noopener noreferrer"&gt;OAuth&lt;/a&gt;, &lt;a href="https://serilog.net/" rel="noopener noreferrer"&gt;Serilog&lt;/a&gt;, &lt;a href="https://www.twilio.com/" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;, &lt;a href="https://swagger.io/" rel="noopener noreferrer"&gt;Swagger&lt;/a&gt;, &lt;a href="https://reactjs.org/" rel="noopener noreferrer"&gt;React.js&lt;/a&gt;, &lt;a href="https://reactnative.dev/" rel="noopener noreferrer"&gt;React Native&lt;/a&gt;, &lt;a href="https://reactnavigation.org/" rel="noopener noreferrer"&gt;React Navigation&lt;/a&gt;, &lt;a href="https://axios-http.com/" rel="noopener noreferrer"&gt;Axios&lt;/a&gt;, &lt;a href="https://expo.dev/" rel="noopener noreferrer"&gt;Expo Dev&lt;/a&gt;, &lt;a href="https://lodash.com/" rel="noopener noreferrer"&gt;Lodash&lt;/a&gt;, &lt;a href="https://nativewind.dev/" rel="noopener noreferrer"&gt;NativeWind&lt;/a&gt;, &lt;a href="https://react-hook-form.com/" rel="noopener noreferrer"&gt;React Hook Form&lt;/a&gt;, &lt;a href="https://github.com/pmndrs/zustand" rel="noopener noreferrer"&gt;Zustand&lt;/a&gt;, &lt;a href="https://code.visualstudio.com/" rel="noopener noreferrer"&gt;Visual Studio Code&lt;/a&gt;, &lt;a href="https://visualstudio.microsoft.com/" rel="noopener noreferrer"&gt;Visual Studio&lt;/a&gt;, &lt;a href="https://developer.android.com/studio" rel="noopener noreferrer"&gt;Android Studio&lt;/a&gt;, &lt;a href="https://git-scm.com/" rel="noopener noreferrer"&gt;Git&lt;/a&gt;, &lt;a href="https://github.com/features/copilot" rel="noopener noreferrer"&gt;GitHub Copilot&lt;/a&gt;, &lt;a href="https://nodejs.org/" rel="noopener noreferrer"&gt;Node.js&lt;/a&gt;, &lt;a href="https://reactnativepaper.com/" rel="noopener noreferrer"&gt;React Native Paper&lt;/a&gt;, &lt;a href="https://nextui.org/" rel="noopener noreferrer"&gt;NextUI&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Acknowledgments
&lt;/h2&gt;

&lt;p&gt;With gratitude, I acknowledge these libraries, tools, and documentation which played a crucial role in the creation of this template.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://react.dev/" rel="noopener noreferrer"&gt;React Official Site&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://reactnative.dev/" rel="noopener noreferrer"&gt;React Native Official Site&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=0-S5a0eXPoc&amp;amp;t=1918s" rel="noopener noreferrer"&gt;YouTube: React Native for Beginners&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=lA_73_-n-V4" rel="noopener noreferrer"&gt;YouTube: Understanding React Native Performance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.w3schools.com/typescript/" rel="noopener noreferrer"&gt;W3Schools: TypeScript&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tools, Frameworks &amp;amp; Libraries:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://react-hook-form.com/" rel="noopener noreferrer"&gt;React Hook Form&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tailwindcss.com" rel="noopener noreferrer"&gt;Tailwind CSS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://reactnativepaper.com/" rel="noopener noreferrer"&gt;React Native Paper&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://expo.dev/" rel="noopener noreferrer"&gt;Expo with React Native&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/ffMathy/FluffySpoon.Ngrok" rel="noopener noreferrer"&gt;GitHub: FluffySpoon.Ngrok&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/VahidN/ASPNETCore2JwtAuthentication" rel="noopener noreferrer"&gt;GitHub: ASP.NET Core JWT Authentication&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Architecture &amp;amp; Design:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/jasontaylordev/CleanArchitecture" rel="noopener noreferrer"&gt;GitHub: Clean Architecture&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://uxwing.com/" rel="noopener noreferrer"&gt;UXWing: Free Icons&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/othneildrew/Best-README-Template" rel="noopener noreferrer"&gt;Best-README-Template&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gist.github.com/davidfowl/ed7564297c61fe9ab814" rel="noopener noreferrer"&gt;Gist: .NET Project Structure&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/dotnet/templating/wiki/Reference-for-template.json" rel="noopener noreferrer"&gt;GitHub: .NET Template Reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gist.github.com/qoomon/5dfcdf8eec66a051ecd85625518cfd13?permalink_comment_id=4892033" rel="noopener noreferrer"&gt;Gist: Conventional Commit Messages&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://gist.github.com/parmentf/035de27d6ed" rel="noopener noreferrer"&gt;Gist: Git Commit Message Emoji&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy Coding! 🎉&lt;br&gt;
I hope you find NextSolution V2 valuable and it helps accelerate your full-stack development workflow. Whether you're building powerful APIs, responsive web interfaces, or mobile applications, this template provides a solid foundation to start. Feel free to explore, experiment, and build amazing apps with ASP.NET, Next.js, and Expo.&lt;br&gt;
If you have any questions, suggestions, or feedback, don't hesitate to reach out or open an issue on GitHub. Your input is invaluable for the continuous improvement of this project!&lt;br&gt;
Thank you for your support, and happy developing! 🚀&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
