Skip to content

ctivir/mozdevz-api

Repository files navigation

Mozdevz: Django API

This project is based on the React + Django Training by Mozdevz.

Table of contents

Overview

The challenge

  • Build the website for the developer community based in Mozambique - MozDevz Community

Links

Mozdevz - Beta - Hosted at Heroku

Figma Design - Figma with the UI. Not done yet, contributors are welcome.

The process

Built with

Requirements

  • Python (3.6, 3.7, 3.8, 3.9, 3.10)
  • Django (2.2, 3.0, 3.1, 3.2, 4.0)

We highly recommend and only officially support the latest patch release of each Python and Django series.

Installation

  • Install using pip...
  1. pip install -r requirements.txt

How to contribute

To contribute to this project you have to fork it and clone it.

After cloning it, in the project directory, run:

  1. cd mozdevz-api Get project folder

  2. python3 -m venv env create virtual env

  3. source env/bin/activate activate virtual env

  4. ./python manage.py createsuperuser create superuser to have access to django admin

  5. ./manage.py makemigrations create new migrations based on the changes you have made to your models.

  6. ./manage.py migrate to appy all migrations.

  7. ./manage.py runserver to run the app in the development mode. Open http://localhost:8000 to view it in the browser.

    The page will reload if you make edits.

Useful resources

Acknowledgments