Code Monkey home page Code Monkey logo

promtopia-nextjs_tutorial's Introduction

Promptopia - NEXT JS APP

This solution is a next.js tutorial app. By functionality, it's an open-source AI prompting tool for mordern world to to discover, create and share creative prompts.

Table of contents

Overview

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Screenshots

homepage next auth intergrated with - google provider creating a new prompt viewing profile logs

Links

My process

Built with

  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • Tailwindcss
  • React - JS library
  • Next.js - React framework

What I learned

  • Most important for such a project is to design with a mobile-first workflow. This app is responsive and allows dynamic rendering of content with UI design being variable to screen width. In much greater context, for a developer here is an example of achiving this with tailwindcss:
export default function Component({ props }) {
    return (
        <div className="max-md:flex max-md:flex-col md:grid md:grid-cols-3 max-md:gap-3 md:gap-6 sm:gap-1">
            // ui being rendered
        <div>
    )
}
  • This app employs the use of authentication mechanisms like, use of google provider, users can get to login or signup into their account using their google account. More about google provider click here to learn more about Next Auth.

  • Sure this app was a good practice on how to use mongoose adapter to get data from MongoDB as a database.

  • This app has clean code that implements the use of APIs to fetch and post data to the backend.

Continued development

To this point, there is no-more futher planned development in schedule, however if any developer or user of the app has a request, they can reach me at my website - portfolio.jaweki.com.

Useful rescources

  • Javascript Mastery - Youtube channel - This tutorial was learnt from that youtube channnel, thanks to Adrian the channels main content creator.
  • Chat GPT - This helped understand some complex aspects of web development such as understanding device responsive apps, client side rendering in Next js and its contrast to SSR and ISR.
  • React developers channel on discord - This was very helpful to have a site were I could find help while developing, from fellow react developers.

Author

Acknowledgements

Thanks so much to Adrian at Javascript Mastery, I got a chance to ramp up my web developer skills with react. Adrian has a cool way to write code while teaching (as in he literally explains what every line of code does; way to go Adrian). Am proud to also have made meaningful use of my time to learn this react in next.js via this tutotial. Am greatful for the AI technology Chat GPT. The AI explains in detail difficult to undertand concepts, generates code samples to emphasise on discussions and more. Thanks to Open AI.

Learn More

To learn more about Next.js, take a look at the following resources:

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.

promtopia-nextjs_tutorial's People

Contributors

jaweki avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.