Skip to content

CS253-Group-6/Lostify-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend

Build and deploy to Azure CodeFactor codecov

Lostify's backend exposes a RESTful API that can be called by the frontend. The backend is implemented using Flask, with SQLite3 for database management.

Dependencies

Framework

Flask is a lightweight web framework written in Python. Flask is powered by Werkzeug, a library to implement WSGI applications in Python conveniently.

Database

The backend uses SQLite3, a lightweight relational database management system with no significant installation requirements. The Python Standard Library comes with the sqlite3 module to handle SQLite3 databases.

The database schema for the backend can be found at lostify/schema.sql.

Email

Microsoft Azure Email Communication Service is used to dispatch email (such as OTPs) to users. The API for the same is called via the relevant Python library.

Testing

Unit tests are in the tests directory. The tests are written for the pytest unit-testing framework. The tests can be run with coverage.

Deployment

The backend is currently deployed on Azure using Azure App Services with a CI/CD pipeline that builds, tests, and deploys any pushes to the branch.

About

Repository for Flask backend of Lostify.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages