Coder Social home page Coder Social logo

shm-dsgn / blogon Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 0.0 266 KB

A simple blog app that lets users create blog posts with images, view them, edit them and delete them.

Home Page: https://shm-blog-app.onrender.com

HTML 3.75% CSS 1.76% TypeScript 93.92% JavaScript 0.57%
aws-s3 express mern-stack mongodb mongoose nodejs react react-router-v6 tailwindcss typescript tensorflowjs

blogon's Introduction

BlogOn by shm.

A simple blog app that lets users create blog posts with images, view them, edit them and delete them.

Live Website Link

You can see the backend/server code here: Server/API repository

CodeFactor

Tech Stack

MERN Stack:

MongoDB Express React Node.js

Technologies Used

  • TypeScript
  • TensorFlow JS (for human identification)
  • Google reCAPTCHA v2 (for detection of bots)
  • Tailwind CSS (for styling)
  • Axios (for data fetching)
  • React-Toastify (for showing Toast notification)
  • React-Router-Dom (for router functionalities)
  • React-Quill (for text editor)
  • Date-fns (for date formatting & manipulation)

Installation

To run BlogOn project locally, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/shm-dsgn/BlogOn.git
  1. Navigate to the project directory:
cd BlogOn
  1. Create a .env file in the project directory.
  2. Create the follwing variables in the .env file:
REACT_APP_API_URL = https://shm-blogapp-api.onrender.com
REACT_APP_reCAPTCHA_SITE_KEY= <your Google reCAPTCHA v2 site key>
  1. In the project directory, you can run npm install to install the project dependencies.
npm install

Usage

To start the development server and view BlogOn website, run the following command:

npm start

This will launch the application on a local development server, typically at http://localhost:3000.

Features

  1. Blog Posts : A user when opens the website can see all the blog posts already present on the website.
  2. Login/Register : A user can register with their username and password and then login to the website to create their own blog posts.
  3. Create Post : A user , when signed in, can create a post by clicking on the 'Create Post' button and provide a title, a summary, a cover photo and the content of the blog into a form.
  4. Delete Post : A user when signed in, can also delete the posts that were created by the same user.
  5. Edit Post : A user can edit their posts by clicking on the 'Edit' button on the post card and can edit the title, summary, cover photo and the content of the blog.
  6. My Profile : A user can see their profile by clicking on the 'My Profile' button and can see all the posts created by them.
  7. Human Identification: Every registration is now checked with TensorFlow JS models if a user is a person or not.
  8. Listen to Blog : Now a user can listen to the blogs.
  9. Detect Toxicity : Every post is now checked for toxicity(eg: insult,obscene, sexual_explicit, etc )

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.