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,
- Host: GitHub
- URL: https://github.com/islati/job-app-backend
- Owner: Islati
- Created: 2019-08-15T17:41:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T20:35:45.000Z (about 3 years ago)
- Last Synced: 2023-08-01T11:25:08.549Z (almost 3 years ago)
- Topics: backend, example, flask, jwt-authentication, python, rest
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
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.