Code Monkey home page Code Monkey logo

foxwall's Introduction

FoxWall

Foxwall is a basic social media API service written with python/django. It's completely open source. Feel free to fork. Also pull requests are welcome.

Screenshot

API Image

I used drf-spectacular for Open API 3.0

How To Use

Prerequisites

Currently python and any virtual environment package must be in your system. I'm saying currently because this project will have docker option.

Using Foxwall

  1. Clone this repository.
  2. Create virtual environment and install packages from requirements.txt file.

for example: for creating virtual env pipenv shell for installing the dependencies within pipenv virtual env pipenv insall -r requirements.txt

  1. Execute python manage.py migrate for migrating models to database.
  2. Execute python manage.py runserver. And that's it! Now you are able to use Foxwall API. For that just go to localhost:8000
  3. If you want to execute the tests, run pytest

Testing

I Used pytest for unit and e2e testing.

Trying the tests

Execute pytest for testing the app. For the test coverage please execute pytest --cov or pytest --cov --cov-report=html if you want html report.

Database Diagram

Before all, I created a database diagram with dbdiagram.io for how should database look like. That helped me a lot on code process. I suggest to create diagram whenever you start to any project. Not only db diagram, it can be logic diagram, code process diagram, roadmap, etc...

Database Diagram

Not done yet...

Obviously, there is things to do.

  • Docker configurations.
  • Leave a post as comment to the post.
  • Currently there are fields that i did not use such as last_edited field on post model. Should make meaningful these fields.
  • Fix bio issue after registiration
  • Password reset request

foxwall's People

Contributors

umtdemr avatar

Stargazers

 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.