Skip to content

Backend of a social media networking site for artists

Notifications You must be signed in to change notification settings

Blossoom/blossoom-backend

Repository files navigation

Blossoom back-end API 🌸

Blossom is a constructive and inclusive social media network that links artists to each other.

Blossoom

Install && Run

Make sure you have Python 3.x installed and the latest version of pip installed before running these steps.

  • Clone the repository using the following command && cd to the cloned repo
$ git clone [email protected]:Blossoom/blossoom-backend.git
  • Create and activate a virtual environment
# Use this on Linux and Mac
$ python -m venv env
$ source env/bin/activate
  • Install requirements
$ pip install -r requirements.txt
  • Run migrations then create a super user
$ python manage.py migrate
$ python manage.py createsuperuser
  • To run tests
$ python manage.py test 
  • To run the development server
$ python manage.py runserver

admin panel will be on localhost:8000/admin or 127.0.0.1:8000/admin

Root api endpoints will be on (localhost OR 127.0.0.1):8000/api/v1/