https://github.com/sachnaror/todo_apis
REST API with Django Rest Framework and MySQL
https://github.com/sachnaror/todo_apis
django-rest-framework rest-api restapi restful-api
Last synced: about 1 year ago
JSON representation
REST API with Django Rest Framework and MySQL
- Host: GitHub
- URL: https://github.com/sachnaror/todo_apis
- Owner: sachnaror
- Created: 2024-03-19T11:36:16.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-19T18:11:34.000Z (over 2 years ago)
- Last Synced: 2025-06-25T03:03:02.406Z (about 1 year ago)
- Topics: django-rest-framework, rest-api, restapi, restful-api
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# REST API with Django Rest Framework and MySQL
This repository contains a tutorial on how to create a basic REST API with Django Rest Framework and MySQL.
## Installation
Before getting started, ensure you have the following prerequisites installed:
- MySQL: v8.0 - [Download MySQL](https://dev.mysql.com/downloads/mysql/)
- Python: v3.9 - [Download Python](https://www.python.org/downloads/)
- Virtualenv: v20.1.0 - [Installing Virtualenv](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment)
- Pip: 20.2.4 - This comes installed with Python 3
- Django: v3.1.2 - This will be installed via `requirements.txt`. See below.
- Django Rest Framework: v3.12.2 - This will be installed via `requirements.txt`. See below.
To install the required Python packages, run:
```python
pip install -r requirements.txt
```

## Usage
To start the server, navigate to the `todoapi/` directory and run the following command:
```python
python manage.py runserver
```