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

https://github.com/islati/job-app-backend

Example Prototype for mobile job board application backend in Flask. Includes JWT Authentication, user management,
https://github.com/islati/job-app-backend

backend example flask jwt-authentication python rest

Last synced: about 1 year ago
JSON representation

Example Prototype for mobile job board application backend in Flask. Includes JWT Authentication, user management,

Awesome Lists containing this project

README

          

# Mobile App Backend

This is the backend for the react-native mobile job application.
All functionality inside this package is as is, and there is no stable release package as of yet.

## Getting Started

Following these instructions will get you a working version of the mobile-app-backend running on localhost.

**Note:** The Authentication Server, and Rest API are two separate applications. You can run one without the other,
but will likely run into issues with the client (mobile-app-frontend) without both of them running simultaneously

Create a Virtual Environment (Python 3+)
```commandline
virtualenv --python=/usr/bin/python3 venv
```
Activate your Virtual Environment
```commandline
source venv/bin/activate
```
Install project requirements
```commandline
pip install -r requirements.txt
```

Run the authentication server
```commandline
python authentication-server.py
```

Run Ngrok (Tunneling, Dev Only; New CLI Tab / Window) for our Authentication Server
```commandline
ngrok http 5001
```
Use your ngrok server url inside the frontend-settings.

### Prerequisites

Requires Python 3.4+ and a SqlAlchemy compatible database.

## Running the tests

Running tests for the authentication server
```commandline
python -m unittest tests/test_authentication_server.py
```

## Built With (Front & Back)
Expo CLI, React-Native, Flask, Python, SqlAlchemy, Postgres / Sqlite & coffee.