https://github.com/mushfiqurniazzz/blog-app---react--mysql--node
This blog app allows users to perform CRUD operations on both blog posts and users. It uses MySQL as the database to store data, Express.js for handling server-side logic, React.js for building the user interface, Firebase authentication method and Node.js for server-side runtime environment.
https://github.com/mushfiqurniazzz/blog-app---react--mysql--node
blogapp-node expressjs firebase firebase-auth full-stack-web-development fullstack-javascript js-cookie jsonwebtoken mysql2 nodejs react-router-dom reactjs
Last synced: 6 months ago
JSON representation
This blog app allows users to perform CRUD operations on both blog posts and users. It uses MySQL as the database to store data, Express.js for handling server-side logic, React.js for building the user interface, Firebase authentication method and Node.js for server-side runtime environment.
- Host: GitHub
- URL: https://github.com/mushfiqurniazzz/blog-app---react--mysql--node
- Owner: mushfiqurniazzz
- Created: 2024-06-10T19:50:00.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-08-18T06:36:02.000Z (10 months ago)
- Last Synced: 2024-08-18T21:02:56.988Z (10 months ago)
- Topics: blogapp-node, expressjs, firebase, firebase-auth, full-stack-web-development, fullstack-javascript, js-cookie, jsonwebtoken, mysql2, nodejs, react-router-dom, reactjs
- Language: JavaScript
- Homepage:
- Size: 210 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Blog App - React, MySQL, Node
This blog app allows users to perform CRUD operations on both blog posts and users. It uses MySQL as the database to store data, Express.js for handling server-side logic, React.js for building the user interface, Firebase authentication method and Node.js for server-side runtime environment. The app provides a seamless experience for users creating blog posts.
Running the Project Locally
To run this project on your local machine, follow these steps:
1. Clone the Repository: Clone this repository to your local machine:
git clone https://github.com/mushfiqurniazzz/Blog-App---React--MySQL--Node
2. Navigate to Project Directory: Move into the project directory:
cd server || client
3. Install Dependencies: Install the necessary dependencies using npm or yarn:
npm install
or
yarn
4. Setup Environment Variables: Create a `.env` file in the both of your project directories and add the variables mentioned in the `.env.sample`
5. Start the Development Server: Run the following command to start the development server:
npm start
6. Access the App: Open your web browser and navigate to `http://localhost:5000[server], http://localhost:5173[frontend]` to access the app. You can now use the app locally on your machine, connected to your MySQL database using the URI specified in the `.env` file.
7. Note: The project may not work if you do not install dependencies in both front end and backend. So you would have to apply step 2 and 3 twice, once in frontend and once in backend.