Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bsperezb/django-api-1

Practice django API to practice.
https://github.com/bsperezb/django-api-1

celery django reids sqlite

Last synced: 6 days ago
JSON representation

Practice django API to practice.

Awesome Lists containing this project

README

        

My First CRUD DjangoRest
==============================

This is my first API developed in DjangoRest Framework

### Quick setup

> The next steps assume that Python 3.xx is already installed

1 - Create a environment:

```bash
python3 -m venv env
```
2 - Activate the environment

On linux

```bash
source env/bin/activate
```

On Windows



```bash
env/bin/activate.bat
```

3 - Install the project basic dependencies

> Make sure you are inside the root project directory before executing the next commands.
>
> The root project directory is the directory that contains the `manage.py` file

On Linux and Mac

```bash
pip3 install -r requirements.txt
```

On Windows

```bash
pip install -r requirements.txt
```
4 - The Project has a Token Authenticatiosn, login a user

In admin section you'll have to enter:

>User = brayan
>password = 20091994

The API is ready to consume. The urls is located on "__urls.py__" and "__proyecto2\urls.py__" .