Coder Social home page Coder Social logo

zeyasar / drf-kullanicilar Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 288 KB

Boilerplate user API's

Python 100.00%
dj-rest-auth django djangorestframework filter permissions restfull-api serializers sqlite test-scripts user-authentication viewset

drf-kullanicilar's Introduction

Spin up the project

  • Clone the template project to your local:
git clone https://github.com/zeyasar/drf-kullanicilar
  • Use the folder created after clone as the project main directory, cd to this new directory.

  • Create virtual environment as a best practice:

python3 -m venv env # for Windows or
python -m venv env # for Windows
virtualenv env # for Mac/Linux or;
virtualenv env -p python3 # for Mac/Linux
  • Activate scripts:
.\env\Scripts\activate  # for Windows
source env/bin/activate  # for MAC/Linux
  • See the (env) sign before your command prompt.

  • Install dependencies:

pip install -r requirements.txt

Secure your project

.gitignore

A standard .gitignore file has already added to the project root directory.

  • Migrate:
python3 manage.py migrate  # or;
python manage.py migrate  # or;
py manage.py migrate
  • Create superuser:
py manage.py createsuperuser  # or;
python manage.py createsuperuser  # or;
python3 manage.py createsuperuser
  • Delete .git folder.

  • From now on you can send you project to the github.

  • Run the server and see the initial setup:

py manage.py runserver  # or;
python manage.py runserver  # or;
python3 manage.py runserver

drf-kullanicilar's People

Contributors

zeyasar 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.