Git Product home page Git Product logo

share-promptapp-nextjs's Introduction


Project Banner
typescript nextdotjs tailwindcss

Share Prompt App

  1. ๐Ÿค– Introduction
  2. โš™๏ธ Tech Stack
  3. ๐Ÿ“Œ Features
  4. ๐Ÿคธ Quick Start
  5. ๐Ÿ”— Reference
  6. ๐Ÿš€ More

Share prompt app is a simple web application based on Nextjs framework. With modern UI/UX web app, share prompt app has more features with signin, signup, create post and view profile user.

  • Next.js 13.4
  • NextAuth.js
  • JavaScript
  • Tailwind CSS
  • MongoDB
  • ๐Ÿ‘‰ SignIn Account: Users can sign in to their accounts by using Google Authentication provider and gain access to the SharePromptApp features and functionalities.
  • ๐Ÿ‘‰ SignOut Account: Users have to sign out their account, terminating their session and ensuring their privacy and security information.
  • ๐Ÿ‘‰ Search Post by tag: Allow users can search for their prompts on specific tags, it will return correct results to specific topics.
  • ๐Ÿ‘‰ Create Post, Edit Post and Delete Post: Users can create new posts, edit existing posts, and delete posts they no longer want. This feature is useful for users to manage their posts.
  • ๐Ÿ‘‰ Copy Prompt: Users can copy prompts or contents of posts to share and paste them into the others place.
  • ๐Ÿ‘‰ View Other Users ProfilePage: Users can have the ability to view other users profile pages on the SharePromptApp. To explore their profile pages and view another contents of the SharePromptApp.
  • ๐Ÿ‘‰ Google Authentication using NextAuth: Enable secure Google authentication using NextAuth.js, ensuring streamlined and truth login auth.
  • ๐Ÿ‘‰ Responsive Layout Website: Develop a fully responsive website to ensure optimize UI/UX with various devices, from desktop to mobile layout.

Follow step by step to set up the project locally on your device.

Prerequisites

Make sure that you have the following installed dependencies:

Clone this repository

https://github.com/NguyenBao23131/Share-promptApp-Nextjs.git
cd share-prompt-ai

Installation

Install the project dependencies by using npm:

npm install

Create a new file named .env in the root of your project and add api key in the following content:

GOOGLE_ID=""
GOOGLE_CLIENT_SECRET=""
MONGODB_URI=""

NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_URL_INTERNAL="http://localhost:3000"
NEXTAUTH_SECRET=

Caution

Note:

  • If you want to get key GOOGLE_ID and GOOGLE_CLIENT_SECRET, you should access the website GoogleCloud.
  • To have NEXTAUTH_SECRET please access the website https://www.cryptool.org and type command line in terminal tool openssl rand -base64 32 to generate random private key.
  • To have MONGODB_URI, you can get a private key from my mongodb database.

Running the Project

npm run dev

Open http://localhost:3000/ in your browser to view the project.

  • Next.js - learn about Next.js fullstack framework and API.
  • React.js - learn about concepts and examples of React library.
  • NextAuth.js - a library auth is available for developers.
  • JavaScript - a programming language use for web developer.
  • TailWind-CSS - a framework css is connivent to build style.
  • MongoDB - a non-sql is easy to use and scale your database.

Contact me

share-promptapp-nextjs's People

Contributors

devanonitos avatar nguyenbaocoder avatar vansonnguyen522 avatar dependabot[bot] avatar dovanminhquan0505 avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar Mark avatar  avatar Mohit Jogiwala avatar

Watchers

 avatar

share-promptapp-nextjs's Issues

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.