Skip to content

Next JS Task Management App built using Next JS 14, Tailwind CSS, Shadcn-UI, PostgreSQL, Next-auth. The CRUD Function using Server Action in Next JS

Notifications You must be signed in to change notification settings

dj1samsoe/do-it

Repository files navigation

Documentation

This is Documentation how to set up this project!

Installation

  1. Clone this repository to your local machine using:

    git clone https://github.com/dj1samsoe/do-it.git
  2. Navigate to the project directory:

    cd do-it
  3. Install the dependencies:

    npm install

Usage

  1. Configure your settings in the .env file.
  2. Get the Google Secret key in Google Cloud Console until get this :
    GOOGLE_CLIENT_ID=
    GOOGLE_CLIENT_SECRET=
    then copy the key, and paste into your .env file
  3. Add this to your .env file :
    NEXTAUTH_URL=http://localhost:3000/api/auth
    NEXTAUTH_SECRET=your_secret_code
  4. Connect your database using Postgresql (in my case I'm using Aiven)
  5. Paste your database url like this :
    DATABASE_URL="postgres://username:password@host:port/dbname"
  6. Run the Prisma migration to set up your database schema:
     npx prisma migrate dev
  7. Start the development server:
    npm run dev
  8. Access the application in your browser at http://localhost:3000.

Reference

  1. Design UI : Behance
  2. Documentation :

About

Next JS Task Management App built using Next JS 14, Tailwind CSS, Shadcn-UI, PostgreSQL, Next-auth. The CRUD Function using Server Action in Next JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published