Skip to content

BranislavDubec/Django-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Django REST api project

This is simple project to get hands on framework Django.

Prerequisities

  • Python3

Installation

  1. Clone github repository:

    git clone https://github.com/BranislavDubec/Django-rest-api.git
    
    cd Django-rest-api/
  2. (optional) Create virtual environment:

    virtualenv -p python3 env or

    python -m venv env

    and activate it

  3. Install requirements:

    pip install -r requirements.txt
  4. Migrate database and run server:

    cd apichall/
    python manage.py migrate
    python manage.py runserver

Usage

After successfull instalation, the project should be running on localhost on port 8000: http://127.0.0.1:8000/. Functionality can be tested via python manage.py test api. E.g.:

Get

Put

Post

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages