Skip to content

kibetamos/DjangoAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DjangoAPI

A simple RESTful API built using Django and Django REST Framework.

How to Run the Project

  1. Clone the repository:

    git clone https://github.com/kibetamos/DjangoAPI.git
    
  2. Navigate to the project directory:

    cd DjangoAPI
    
  3. Create a virtual environment:

    python -m venv env
    
  4. Activate the virtual environment (choose one):

    source env/bin/activate
    
    On Windows:
    
    .\env\Scripts\
    
  5. Install project dependencies:

    pip install -r requirements.txt
    
  6. Make initial migrations:

    python manage.py makemigrations
    
  7. Apply the migrations:

    python manage.py migrate
    
  8. Start the development server:

    python manage.py runserver
    
  9. Open your browser and visit:

    http://127.0.0.1:8000/
    

About

Simple DRF API using Django

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages