Skip to content

bellatrixdatacommunity/lets-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lets-blog

Description

This is the blogging website, where we are supposed to create articles and people will read them. The project should contains the following minimum requirements

Frontend

  • Good UI to attract peopl
  • Mobile Friendly
  • Header, Navigation and Footer
  • Login and SignUp Page
  • Search Option to search for the blogs

Backend

  • Database to store all the information
  • Login and SignUp
  • Display Blogs along with the recent three blogs of the publisher
  • Anyone can read the blog, but only authorized member can post it.

API

  • Using GitHub API to display the details of Bellatrix Data on the About Us section of the Application
  • Using GitHub API of the author to display a little information about them on the blog posts like, Location, Company, Number of Repos

Set-up Guide

Clone the Project

git clone git@github.com:bellatrixdatacommunity/lets-blog.git
cd lets-blog

Make a new branch using following command

git checkout -b "<your-branch>"

Create a Virtual Environment and activate it

python -m venv venv
source venv/bin/activate

Installing Dependencies

python -m pip install -r requirements.txt

Makemigrations to the db

python manage.py makemigrations
python manage.py migrate

Starting the Server

python manage.py runserver
Code .... .... ....
.... Code .... ....
.... .... Code ....
.... .... .... Code

Stage your changes, commit, and push using the following commands

git add .
git commit -m "<commit message>"
git push origin "<your-branch>"

Deactivate your Virtual Environment

source deactivate

Mentors

Contributors