Coder Social home page Coder Social logo

gradiweb's Introduction

API web services with Django REST Framework v1.0.0

A web API REST for services and schedules using MVC Django framework and Django REST Framework.

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

Python version

python 3.7.0

System dependencies

Please review the requirements file for details.

Configuration

This application runs on development environment from a localhost server and port 8000

Database server configuration is defined for SQLite3, for modifying parameters and details check database configuration file

Database creation and initialization

Check if you are on project root directory and run on your console or CLI next command:

  • python manage.py migrate

Deployment instructions

Before database creation and initialization, check if you are on project root directory and run on your console or CLI next command for installing dependencies:

  • python -m pip install django
  • python -m pip install djangorestframework
  • python -m pip install django-extensions

After database creation and initialization, check if you are on project root directory and run on your console or CLI next commands for checking dependencies and running server:

  • python -m pip freeze
  • python manage.py runserver

Check on your console or CLI if your localhost server is running, after that, type localhost:8000 on your browser and check if you can view home page.

If you want to login Django admin panel and manage API data, you must run first on your console or CLI next command for creating a superuser:

  • python3 manage.py createsuperuser

after type localhost:8000/admin/ on your browser and fill form with your username and password provided before.

Routing dependencies

Please check URLs project configuration file and URLs webapp configuration file

You can view all routes, running on your console or CLI next command from project root directory:

  • python manage.py show_urls

Next improvements and changes

  • Deployment on any cloud environment

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.