Skip to content

fojoWork/Blogging

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blogging AI

An AI-assisted blog creation platform, allowing you to create enhanced blogs with the help of AI.

An AI-assisted blog creation platform, allowing you to create enhanced blogs with the help of AI.

Technologies/Languages

  • React JS
  • Django Rest Framework
  • SQLite

Requirements

Usage Instructions

To run the application you need to follow all the steps.
Once complete, register/sign up on the app, then start creating Blogs.

Clone the Repository

git clone https://github.com/SamuelNduw/Blogging.git
cd Blogging

Database

A SQLite database will be autogenerated by Django upon backend setup.

Environment Variables

In the root directory (./blogging)

  • Create a file called .env
  • Copy everything from .env.example
  • Paste the copied elements into the .env file
  • Change the values in the .env file to your configurations

Backend

Step 1: Navigate to the backend directory

cd backend

Step 2: Create a virtual environment (in the same directory)

python -m venv virt

Step 3: Activate your virtual environment

  • Windows
    .\virt\Scripts\activate
  • Linux/macOS
    source virt/bin/activate

Step 4: Install Dependencies

pip install -r requirements.txt\

Step 5: Make Migrations (in the same directory ./blogging/backend)

python manage.py makemigrations
python manage.py migrate

Step 6: Run the development server

python manage.py runserver 0.0.0.0:8000
This exposes it to your local network. Later allowing you to test the application on different devices during development.

Frontend

Step 1: Navigate to the directory

cd frontend/my-blog

Step 2: Install dependencies

npm install

Step 3: Run the server

npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.7%
  • Python 26.8%
  • CSS 3.1%
  • HTML 0.4%