Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.92 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.92 KB

👋Welcome to WeBlog

📓 Overview

WeBlog is a react project built using Nextjs 14, Mongoose, Authjs, Cloudinary and shadcn

📌 Project features

  • Registration
  • Login
  • Posting
  • Profile page
  • Profile settings
  • Search for users

📌 Installation

Setting environment variables

Name Description
DBURL Create your cluster at mongo, and enter the link provided during configuration by adding your username and password
AUTH_SECRET You can generate one via running: npx auth secret . Alternatively, you can use the openssl CLI, openssl rand -base64 33
AUTH_URL http://localhost:3000/api/auth
GITHUB_ID Go to Github - Settings - Developer Settings - OAuth Apps - create your app - copy the Client ID you are given
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME Install cloudinary, go to console and copy Cloud name
UPLOAD_PRESET your preset name
CLOUD_API_KEY Api key provided by cloudinary
CLOUD_API_SECRET Api secret provided by cloudinary

📃 Usage/Examples

Registration Page Nuovo progetto

Login Page Nuovo progetto (1)

Posting Page posting

Profile Page profile (1)

Settings Page settings (1)