Skip to content

fvdime/eloquent

Repository files navigation

Blog Website


Eloquent Studio

View Demo · Report Bug · Request Feature

Built With

  • Next JS
  • Next JS Server Actions
  • Amazon S3
  • Prisma
  • Vercel Postgres
  • Tailwind CSS
  • Gsap
  • Framer Motion

()

Installation

  1. Clone the repo:

    git clone https://github.com/fvdime/eloquent.git
  2. Install NPM packages:

    npm install
  3. Add .env file:

     POSTGRES_URL="< POSTGRES URL>"
     POSTGRES_PRISMA_URL="<POSTGRES PRISMA URL>"
     POSTGRES_URL_NO_SSL="<POSTGRES URL NO SSL>"
     POSTGRES_URL_NON_POOLING="<POSTGRES URL NON POOLING>"
     POSTGRES_USER="<POSTGRES USER>"
     POSTGRES_DATABASE="<POSTGRES DATABSE>"
     POSTGRES_PASSWORD="<POSTGRES PASSWORD>"
     POSTGRES_HOST="<POSTGRES HOST>"
     NEXT_PUBLIC_AWS_S3_SECRET_ACCESS_KEY="<AWS S3 SECRET ACCESS KEY>"
     NEXT_PUBLIC_AWS_S3_ACCESS_KEY_ID="<AWS S3 SECRET ACCESS KEY ID>"
     NEXT_PUBLIC_AWS_S3_REGION="<AWS S3 REGION>"
     NEXT_PUBLIC_AWS_S3_BUCKET_NAME="<AWS S3 BUCKET NAME>"
     NEXT_PUBLIC_JWT_SECRET_KEY="<JWT SECRET KEY>"
  4. Run the development server:

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
    # or
    bun dev
  5. If you like the run with Docker, add these to the .env:

    DB_NAME="<DATABASE NAME>"
    DB_USER="<DATABASE USER>"
    DB_PASSWORD="<DATABASE PASSWORD>"
    DB_PORT="<DATABASE PORT>"
    
    DATABASE_URL=postgresql://${DB_USER}:${DB_PASSWORD}@localhost:${DB_PORT}/${DB_NAME}?schema=public
    
  6. Then run:

    docker compose up -d

()

Contact

Fadime or Faya - fadime.dogrulj@gmail.com

Project Link: https://github.com/fvdime/eloquent

()

License

Distributed under the MIT License. See LICENSE.txt for more information.

()

About

Blog website with Next JS, Tailwind CSS, Actions, Prisma, Vercel Postgres, Amazon S3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published