/REST-API-Directory

A REST API Web Directory using Flask.

Primary LanguagePython

FlaskBlog

I develop a RESTful Web Directory using Flask. (my effotrs to know REST API)

Setup and Run

  1. Clone the repo by $ git clone https://github.com/mhmp98/Flask-Blog.git
  2. Go to cloned directory and create a virtual environment $ python3 -m virtualenv venv or py -3 -m virtualenv venv
  3. Activate the virtual environment using $ ./venv/bin/activate or $ .\venv\Scripts\activate.bat if you are using Windows!
  4. Install the requirements using $ pip install -r requirements.txt
  5. Copy .env.example to .env and fill in the keys.
  6. Run the migrations by $ flask db upgrade
  7. Run the project using $ flask run