blogg is a blog application fully responsive with various screen layouts created using MERN with TypeScript and styled using Tailwind CSS. User need to sign in to read blogs.
- Sign in with Google or using email and password.
- Form inputs implemented using
react-hook-form
and validation usingyup
. - State management using
redux-toolkit
. - Create, read, update and delete blog(s).
- Blogs preview card with cover image and title at homepage.
- Router authentication.
- Change password.
- Reset password with OTP pin sent to the email verified in case of password forgotten.
Backend is delpoyed in render.com using its free plan. Sometimes, server takes longer time to start because it goes into sleep mode when it is not active for a long time and if that the case then you may need to wait little longer and you want to refresh page in those times.
Backend code can be found at https://github.com/blogg-org/blogg-api.
This is a React + TypeScript project created with Vite. Make sure that git
and node
is already installed into your system.
-
Clone repository.
git clone git@github.com:blogg-org/blogg-web.git
-
Install dependencies.
npm install
-
create
.env
file in root directory and add environment variables as specified in.env.sample
. You can also copy environment variables from here.VITE_BACKEND_BASE_URI="base url of your backend application e.g. http://localhost:4000" VITE_GOOGLE_OAUTH_CLIENT_ID= VITE_GOOGLE_OAUTH_CLIENT_SECRET= VITE_TINYMCE_API_KEY=
-
Start development server.
npm run dev