Skip to content

arslansarfraz/blog-app-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog App with React JS

blog landing A blog application with React and Firebase as a backend

Project Description

This is a React-based blog app that lets users create, like, and delete posts. The app has a responsive design and is built using modern web development techniques. It's a great project to learn how to build a full-stack web application with React and other cutting-edge technologies.

Services

Login

login

You can access posts without logging in, but to create your own posts, you need to login or create an account. If you would like to try out the feature, you can use the following user credentials:

testuser@mail.com 123456

Register

register Create a new user by entered email, username, password.

Home

after login screen Upon logging in or registering, users will be directed to the homepage where they can browse all posts created by other users and make their own post, along with their titles and descriptions and image.

New post

newpost By clicking on the 'Add Post' button, users can access a modal that allows them to create a new post with a title, description, image URL, and content.

Others

  • Only owner of the post see Delete button
  • Logout button
  • Guest users view the content

Setting up the project

To run this project, you need to create a keys.js file in the root directory of the project and add your Firebase API key to it.

  1. Create a file named keys.js in the root directory of the project.

  2. Open the keys.js file and add the following code:

    export const apiKey = "YOUR_FIREBASE_API_KEY"

  3. Replace YOUR_FIREBASE_API_KEY with your actual Firebase API key.

  4. Save the keys.js file.

Once you have created the keys.js file and added your Firebase API key to it, you can run the project.

Here are some common commands

  1. npm install: Installs all the dependencies required for the project.
  2. npm run dev: Runs the app in development mode.
  3. npm run build: Builds the app for production to the build folder.

Live

https://live-react-blog-app.netlify.app/

Releases

No releases published

Packages

No packages published

Languages