Giter Site home page Giter Site logo

indula-perera / next.js-blog-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10.67 MB

Welcome to the React Blog App! This dynamic web application allows users to log in using Google, Facebook, and GitHub, enabling them to comment on posts and publish their own content. The app also includes a robust JWT Authentication system for enhanced security

JavaScript 76.82% CSS 23.18%

next.js-blog-app's Introduction

Certainly! Here's a revised README for your Blog Web App project:


Blog Web App

Welcome to the Blog Web App with Malicious URL Detection project. This web application is built using Next.js and Prisma, and it includes a feature for detecting potentially malicious URLs.

Getting Started

To get started with this project, follow these steps:

  1. Set Up the Development Server:

    • First, make sure you have Node.js installed on your system.

    • Run the development server with one of the following commands:

      npm run dev
      # or
      yarn dev
      # or
      pnpm dev
      

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

  2. Prisma Configuration:

    • Ensure that you have MongoDB set up for Prisma.

    • To configure Prisma, follow these steps:

      a. Create a .env file and add the following configurations:

      • Database connection link
      • Google and GitHub authentication IDs and secrets

      b. Install required packages:

      npm install @prisma/client @auth/prisma-adapter
      npm install prisma --save-dev

      c. Initialize Prisma with MongoDB as the datasource provider:

      npx prisma init --datasource-provider mongodb
      npx prisma generate
  3. Start Developing: You are now ready to start developing your web application. You can edit the app/page.js file, and the page will automatically update as you make changes.

Font Optimization

This project uses next/font to automatically optimize and load the "Inter" font, which is a custom Google Font.

Frontend Examples

Home Page: Screenshot 2023-10-31 210705

Recent Posts: Screenshot 2023-10-31 210800

Write Page: Screenshot 2023-10-31 210837

Page by Categories: Screenshot 2023-10-31 210901

Single Post Page: Screenshot 2023-10-31 210956

Malicious URL Detection Model Link

Deploy this using Streamlit Library;
Drive Link: https://drive.google.com/drive/folders/1f5DjXE_rQ8pb6X5IxRLeD2Zna0kx8ieq?usp=sharing

Learn More

To learn more about Next.js and how to work with this project, you can refer to the following resources:

Enjoy building your Blog Web App with Malicious URL Detection using Next.js and Prisma!


Feel free to modify the content further as needed for your specific project and audience.

next.js-blog-app's People

Contributors

indula-perera avatar

Watchers

 avatar

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.