Giter VIP home page Giter VIP logo

book-social-platform's Introduction

Some-Book-API

Hahaha It's just another API.

V1

Note

This project has some areas that could be improved. Please feel free to read it and ignore any mistakes or workarounds. I plan to improve it in the future when I have more time.

Commands

This handy guide will help you run projects and read documents:

  1. Clone the project.
> git clone https://github.com/M-b850/Some-Book-API.git
> cd Some-Book-API/

Ensure Python3 and Pip are correctly installed and functioning before proceeding to step 2.
Install virtualenv by running pip3 install virtualenv
Install virtualenv by running [windows] pip install virtualenv

  1. Create virtualend and install requirements.
> virtualenv venv
> source venv/bin/activate
> pip install -r requirements.txt
  1. Create virtualend and install requirements. [windows]
> virtualenv venv
> venv/Scripts/activate.bat
> pip install django
> pip install djangorestframework
> pip install -U drf-yasg
> pip install Pillow
> pip install django-cors-headers
  1. Make migrations and create database.
> ./manage.py makemigrations
> ./mange.py migrate
  1. Make migrations and create database. [windows]
> python manage.py makemigrations
> python mange.py migrate
  1. Run server.
> ./manage.py runserver
  1. Run server. [windows]
> python manage.py runserver

Django runs its server on port 8000 by default. You can run server on specific ports if you add port number after runserver command
example on port 9000: ./manage.py runserver 9000

Shell Plus

> ./manage.py shell_plus --ipython

Help

You can find Documentations here:

localhost:port/swagger/

example: http://127.0.0.1:8000/swagger/

TODO

book-social-platform's People

Contributors

alireza2125 avatar dependabot[bot] avatar ducksonmoon avatar mohammadnr2817 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.