Skip to content

phamgiaphuc/dev-website-clone-frontend

Repository files navigation

MERN DEV Clone Website - Frontend

Contents

Brief description

Language and Tools

  • Backend

TypeScript Badge Node.js Badge Nodemon Badge ts-node Badge Express Badge MongoDB Badge Mongoose Badge JSON Web Tokens Badge Firebase Badge Postman Badge Lodash Badge

  • Frontend

Vite Badge JavaScript Badge React Badge React Hook Form Badge React Router Badge Redux Badge Firebase Badge Axios Badge JSON Web Tokens Badge ESLint Badge Framer Badge

  • Other tools:

Git Badge GitHub Badge Visual Studio Code Badge Yarn Badge

Project details

A DEV clone website with some main features:

  1. Authentication and Authorization
  • Sign in and up with email and password
  • Sign in with Google authentication (Firebase authentication)
  • Verfied account with a code sent to the user's email by Google email
  • Access and refresh token (OAuth2 authorization framework)
  • Authorized user by roles: user and admin
  • Sign out logic
  1. User
  • Update profile page: User's information and images (Firebase storage)
  • Display profile page with user's information and blogs
  • Reset user's password
  • Create post/blog page
  • Dashboard page with user's post and relevant infos
  1. Blog
  • Editor page
  • Preview page
  • Blog page
  1. Others
  • Home page
  • Search page
  • Info page
  • Not found page

Images

  1. Authentication and Authorization
  • Sign in and up with email and password; with Google authentication

  • Verfied account with a code sent to the user's email by Google email

  1. User
  • Update profile page: User's information and images (Firebase storage)

  • Display profile page with user's information and blogs

  • Reset user's password

  • Dashboard page with user's post and relevant infos

  1. Blog
  • Editor page

  • Preview page

  • Blog page

  1. Others
  • Home page

Cookie configs

res.cookie('refreshToken', refreshToken, {
  httpOnly: false,
  secure: true,
  path: '/',
  sameSite: 'None', // Set to None for cross-site contexts
  maxAge: +REFRESH_COOKIE_LIFE * 1000, // 1 day
});

About

This is DEV Clone Website built with MERN stack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages