Skip to content

ainan-ahmed/FakeBook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FakeBook

Technologies

  • Django
  • Django REST
  • ReactJS
  • Redux
  • Docker

Structure


Project/
|-- backend # Django API server
|-- frontend # ReactJS Frontend

Run with docker


cd FakeBook
docker-compose up --build

Setup & Run with virtualenv

Setup Virtualenv

Make sure you are using python>=3 and pip3


cd FakeBook

# Install virtualenv
python3 -m pip install --user virtualenv

python3 -m venv env

# activate the virtualenv
source env/bin/activate

Install Backend dependencies


# Install all python packages
pip3 install -r requirements.txt

# Verify packages are successfully installed
pip3 freeze

Install Frontend dependencies

Make sure you have node and yarn installed, if not, refer to:

yarn install
yarn add react-scripts

Run the Project

For development, we need to run both frontend and backend servers

cd frontend
yarn start
cd ..
cd backend
source env/bin/activate
python manage.py migrate
python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published