/tasca

Like in a Tasca (typical spanish bar), you talk, others listen.

Primary LanguagePythonMIT LicenseMIT


Logo

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Requirements
  5. TODO
  6. Contact

About The Project

sample_screenshot

Sample project using Python 3.8 and MongoDB without frameworks based in Hexagonal architecture design.

A Tasca is a typical Spanish bar. Like in a Tasca, you can talk (post messages), meet people (following), "remember" your words (see your posts) or listen the environment (read your wall with all your messages along with your follow users messages).

Getting Started

Prerequisites

Installation

  1. Clone the repo
    git clone https://github.com/jesuschm/tasca.git
  2. Export project path
    export PYTHONPATH=[project-path]/tasca/
    cd [project-path]/tasca/
  3. Docker compose
  docker-compose up --build -d
  1. Create and activate the virtual environment (info)
  2. Install requirements
  pip install -r requirements.txt
  1. Create users
python src/scripts/createuser.py [username]

Usage

Enter the tasca first executing the main file

python src/tasca.py

You have 4 commands:

  1. Post messages.
> [username] -> [message]
  1. Follow another user.
> [username] follow [username]
  1. Read your messages.
> [username]
  1. Read your wall.
> [username] wall

TODO

  1. Tests, tests and more tests (at least until the 80%)
  2. Actually you can follow yourself (it's ok you love yourself but if you follow yourself is like when you give a like to your photos).

Contact

Your Name - @jchaconmontero - jesuschaconmontero@gmail.com

Project Link: https://github.com/jesuschm/tasca