A simple RESTful API built using Django and Django REST Framework.
-
Clone the repository:
git clone https://github.com/kibetamos/DjangoAPI.git
-
Navigate to the project directory:
cd DjangoAPI -
Create a virtual environment:
python -m venv env -
Activate the virtual environment (choose one):
source env/bin/activate On Windows: .\env\Scripts\ -
Install project dependencies:
pip install -r requirements.txt -
Make initial migrations:
python manage.py makemigrations -
Apply the migrations:
python manage.py migrate -
Start the development server:
python manage.py runserver -
Open your browser and visit:
http://127.0.0.1:8000/
✅