Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 517 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 517 Bytes

Lnks API with Python

Config

  1. Create file .env in root project
  2. Create your database MongoDB
  3. Add your database url in DATABASE_URL variable
  4. Add your database name in DATABASE_NAME variable
  5. Add development mode in ENVIRONMENT variable
  6. Add port in PORT variable
  7. Add your secret key in SECRET_KEY variable

Start development

  1. Install dependencies pip install -r requirements.txt
  2. Run main.py file

Database

Use MongoDB Atlas for database and PyMongo for connection.