An open API service indexing awesome lists of open source software.

https://github.com/utkarshmish/python-spa-assessment

Flask Demonstration of SPA web app
https://github.com/utkarshmish/python-spa-assessment

Last synced: about 2 months ago
JSON representation

Flask Demonstration of SPA web app

Awesome Lists containing this project

README

          

# Python SPA Assessment

## Table of Contents

- [About](#about)
- [Getting Started](#getting_started)

## About

Python SPA assessment to develop an application having FLASK as backend with MYSQL as Database System, implemented Flask pytest to test for routes.

## Getting Started

Have used pipenv as package management

### Prerequisites

1. python v3.10+
2. pipenv (`pip install pipenv`)
3. for frontend (node v15.7+)

### Installing

1. install python dependencies(`pipenv install`)
2. for frontend install frontend dependencies in frontend folder (`npm install`)
3. Set up .env for Backend as follows: \
DB_USER = `""`\
DB_PASSWORD = `""`\
SALT_VALUE = `""`\
SECRET_KEY = `""`

4. run python (`pipenv run python main.py`)
5. for frontend move to frontend directory and run `npm install`