موضوع‌ها
۲
فورک‌ها
۱
ستاره‌ها
۵
تاریخ ایجاد
۲۹ دی ۱۳۹۷
آخرین بروزرسانی
حدود ۳ سال قبل
لایسنس
GNU General Public License v3.0

LibrePoll Backend API 📊

LibrePoll Is A Tools For Creating And Sharing Polls, Free & OpenSource.

For React.js client side see: LibrePoll React

Latest Commits Current build status. Contributions License

Table of Contents

Key Features

sanic postgresql

Stack

  • item No.1
  • item No.2

Setup

install requirements with pip

pip install -r requirements.txt

you need to install postgresql , if not familiar follow this :

postgresql ubuntu 18.4

edit db/config.py and update secret_key and database config.

secrect_key = "YOUR_KEY"
db_config = 'user=YOUR_USER  password=YOUR_PASSWORD host=YOUR_HOST dbname=YOUR_DATABASE_NAME'

next run this command to create tables in database

 psql YOUR_DATABSE_NAME < Database.sql

finally

python3 server.py

Contributing

Pull requests are welcome. You'll probably find lots of improvements to be made.

Open issues for feedback, requesting features, reporting bugs or discussing ideas.