Status: ✔️ Available
About • Features • Tech Stack • Installation • Usage • Contact
Mini Feed is an API where you can do the basic operations (CRUD) in both users and posts table to a mini feed!
- users and posts CRUD
- Auth by JWT Token
- Add user image
To Install this project, follow the steps above:
# Clone this repository
$ git clone https://github.com/tiagobpires/mini-feedgit
# Create a virtual environment (optional but recommended):
$ python -m venv venv
# Activating the virtual environment:
$ source venv/bin/activate
# Install requirements:
$ pip install -r requirements.txt
- Create a ".env" file based on the template.
- Create the database:
# Set FLASK_APP variable (for windows)
set FLASK_APP="main.py"
# Create database
flask db init
flask db migrate
flask db upgrade
- Run the application:
# Running
python main.py
Made with ❤️ by Tiago Barros