Skip to content

rakibul58/protech-client

Repository files navigation

Protech

Tips and Tricks Blog Site (Frontend)

Live URL

Table of Contents

Features

  • User Authentication: Secure sign-up, login, logout, and JWT-based authentication.
  • Post Creation & Management: Users can create posts with a rich text editor, categorize posts, and attach images.
  • Upvote & Commenting System: Users can upvote/downvote posts, comment, and interact with other posts.
  • Admin Dashboard: Manage users, posts, and analytics.
  • Search & Filter: Search and filter posts with debounced API calls.
  • Payment Integration: Premium access for exclusive posts using Aamarpay.

Technologies Used

  • Frontend Framework: Next.js
  • UI Library: NextUI
  • Data Fetching & State Management: Tanstack Query (React Query)
  • HTTP Client: Axios
  • Deployment: Vercel

Usage Guide

Follow these instructions to set up and run the frontend application locally.

Step 1

Open your terminal and navigate to the directory where you want to add the project.

Step 2

Clone the repository using the following command:

git clone https://github.com/rakibul58/protech-client.git

Step 3

Navigate into the project folder:

cd protech-client

Step 4

Install the dependencies:

yarn install

Step 5

Create a .env.local file in the root directory and add the following environment variables. Update these variables with your backend and API keys as necessary:

NEXT_PUBLIC_BASE_API_DEV=
NEXT_PUBLIC_BASE_API_PROD=
NEXT_PUBLIC_CLOUDINARY_URI=
NEXT_PUBLIC_CLOUDINARY_PRESET=
NEXT_PUBLIC_EDITOR_API_KEY=

Step 6

Run the application in development mode:

yarn dev

The app should now be running on http://localhost:3000.

Usage

Once the frontend application is set up and running, you can access the homepage at http://localhost:3000. From here, you can register, log in, create posts, upvote, comment, and explore other features.

Credentials

Admin Credentials

User Credentials

Contact

For any questions or feedback, please contact:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages