https://github.com/the-parth/blogger-blog
Simple react blog
https://github.com/the-parth/blogger-blog
blog expressjs javascript react reactrouter
Last synced: 3 months ago
JSON representation
Simple react blog
- Host: GitHub
- URL: https://github.com/the-parth/blogger-blog
- Owner: The-Parth
- Created: 2023-07-20T20:34:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-29T19:42:18.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T21:32:30.172Z (4 months ago)
- Topics: blog, expressjs, javascript, react, reactrouter
- Language: JavaScript
- Homepage: https://blogger-techies.netlify.app/
- Size: 19.3 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blogger blog
A simple blog built with React.js and Express.js.
## Installation
Install using git.
```bash
git clone https://github.com/The-Parth/blogger-blog.git
```
## Environment VariablesTo run this project, you will only need to set one Environment Variable for MongoDB.
`ATLAS_URI` = MongoDB ATLAS_URI. You can also use any other Mongo host.
`NODE_ENV` = production // For production
### Once backend is deployed, you will be needed to provide the URL in the host.js file in the src folder. This will be used by the frontend to make requests. Do not include a slash at the end of the url.
## Deployment
### Here all commands are to be executed from root "/"
### Backend
To deploy the backend, first install all the dependencies for the backend.#### Build
```bash
cd BackEnd && npm install && cd ..
```
Now deploy with#### Deploy
```bash
node BackEnd/index.js
```### Frontend
#### Build
```bash
npm install && npm run build
```Now the build folder should be created. Deploy using your frontend host or for local, just run
```bash
npm install -g serve
serve -s build
```## Demo
Backend might be down at times as it is on a free host.
https://blogger-techies.netlify.app/
## Authors
- [Atharva Upare](https://www.github.com/AtharvaUpare)
- [Parth Bhanushali](https://www.github.com/The-Parth)
- [Toyash Patil](https://github.com/Toyashpatil)
- [Aastha Deshwal](https://github.com/AasthaDeshwal)