Blog-and-Portfolio
                                
                                 Blog-and-Portfolio copied to clipboard
                                
                                    Blog-and-Portfolio copied to clipboard
                            
                            
                            
                        My blog and portfolio website built using React, Django and GraphQL
Blog And Portfolio ✨
This repo is my Portfolio which is built using React, Django, and GraphQL.A Portfolio will provide a platform to showcase our blogs and the latest work that we had done
 
If you want to understand this repo better and use it follow the steps mentioned below
This repo has divided into two branches for making deployment in Heroku from Github
- Frontend
- Backend
The First step is to fork the repo and get it in your Github repositories and then clone the repo to your local environment.
And then create Heroku apps for deploying so that you can add your URLs to the code by following the steps mentioned
Frontend ⚛️
 
Setup
- 
First clone the Frontend branch from the repo git clone -b frontend --single-branch <remote-repo-url>
- 
Install all the npm packages npm install
- 
Run the code npm start
Changes 📝
Changes that need to be made for getting your data on the website are:
- 
Change the home.png and about.jpeg in the public/assets folder with the images you want to show in the landing page of the portfolio and change the names in the src of image tags in the Home.js and About.js if the naming is different 
- 
Change the title of the page in the index.html in the public folder with your name From Components: 
- 
Change the about data in the About.js 
- 
Change the Social Media links in the Home.js and Footer.js 
- 
For the stats of Github change the username in the URLs in Stats.js 
- 
Change all the URLs with your respective ones in - BlogPage.js [Cover image]
- Blogs.js [fetch URLs]
- Projects.js [fetch URLs]
- useFetch.js [fetch URLs]
 
- 
Then push it to the Github frontend branch of the forked repo 
Backend
Setup
- 
As done in the frontend part first clone the backend branch of the repo git clone -b backend --single-branch <remote-repo-url>
- 
Create a virtual environment and Install the pip packages in the requiremets.txt pip install -r requirements.txtIn case you are using version 3 use pip3 
Changes 📝
- 
Add your frontend URL to CORS_ALLOWED_ORIGINS on the settings page 
- 
And add your backend URL in the ALLOWED_HOSTS on the settings page 
- 
Then push to the backend branch of the repo 
Deploying to the Heroku 🚀
 
- 
Now finally add build-packs to the apps in Heroku and deploy the respective branches separately by connecting to the Github We can deploy it together as well but I have chosen to deploy separately. 
Author ✍️
Note
If you found this useful, then please consider giving it a 🌟 on Github and sharing it with your friends.
Happy Coding 💻