Giter VIP home page Giter VIP logo

django_crud_api's Introduction

Django CRUD Api

This is a small project showing Django REST Framework CRUD Operation.

Install

Cloning the project

https://github.com/aninda052/django_crud_api.git
cd django_crud_api

creating .env file

Create a .env file for your environment variable.

 touch .env

You find the details of all the variables in .env.example file. For running the project just copy billow dummy information and past it to your .env file and save it.

DEBUG=True
SECRET_KEY=someRandomSecretKey

You can run the project in 2 way

  • Using runserver command

virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py runserver 8000
  • Using docker-compose

To run the project using docker-compose; docker and docker-compose must be installed on your system. For installation instructions refer to the Docker docs.

After you install docker and docker-compose properly, run -

docker-compose up --build

If everything went well, go to http://127.0.0.1:8000 and you'll find the project up and running.

django_crud_api's People

Contributors

aninda052 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.