Skip to content

danaelshrbiny10/Users-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start

# Add your DATABASE URI in app.py

# Install virtualenv
pip install virtualenv
# activate it 
source env/scripts/activate
#then install requirements in it


# Server on localhost:5000
python app.py or flask shell

DB commands shell

export FLASK_APP=app.py (Bash) or set FLASK_APP=app.py (cmd)
flask shell (Bash) or python (cmd)
>>> from app import db
>>> db.create_all()
>>> exit()

About

A simple REST API for user data

Resources

Stars

Watchers

Forks