Skip to content

implemented backend api in django with mysql database

Notifications You must be signed in to change notification settings

saiprabhu-dandanayak/Django

Repository files navigation

Django Repository :

Topics Covered

  • Models: Implemented models for storing data.
  • Views: Implemented views for handling HTTP requests and responses.
  • Forms: Utilized forms for data input and validation.
  • Static Files: Demonstrated serving static files such as CSS, JavaScript, and images.
  • CRUD Operations: Implemented CRUD (Create, Read, Update, Delete) operations for database entities.

Getting Started

  • 🚀 Clone this repository.
  • 📂 Navigate to the specific project you're interested in.
  • 🔧 Follow the instructions provided in the project's README.md to set up and run the project locally.

1. Create a Django Project

To create a new Django project, run the following command:

django-admin startproject myproject

2 . Navigate to Django project to create application in it .

To create a new Django application, run the following command:

cd myproject
python3 manage.py startapp appname

3. Run Django project

To Run Django project, run the following command:

python3 manage.py runserver

4. To Run Testcases

To Run Testcases, run the following command:

python manage.py test testapp

Releases

No releases published

Packages

No packages published