Giter Site home page Giter Site logo

bip-task's Introduction

Bip Task

You can checkout the deployed app here

About the Backend
  • API
    • Blog API should have 4 Models Posts, Tags, Comments, Authors
    • Post can have many Tags
    • Post can have many Comments
    • Post can have one User
    • CRUD API for Post/Tag/Comment
  • API documentation with Swagger
  • Databse for this SHOULD be SQLiteCode

Tools and technology used

  • Python3.8
  • Django
  • Django Rest Framework
  • Docker
  • pythonanywhere

Getting Started

To get started

  • Clone the repo.
git clone https://github.com/guptaharsh13/bip-task
  • Change into the directory.
cd bip-task

Environment Variables

touch .env

For running this project successfully you'll need to create a .env file and store your firebase credentials there like .env.sample.

Local Build

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 manage.py collectstatic --noinput
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver

Docker Build

You may install Docker Engine from here

Development Run

docker-compose up --build

Production Run

docker build -t <docker hub username>/bip-task .
docker run -p <local port>:80 --env-file .env <docker hub username>/bip-task

API Documentation

Future Scope

  • Add a Custom User model
  • Implement Authentication
  • Implement Testing

Made with โค by Harsh Gupta

bip-task's People

Contributors

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