Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yzgyyang/momoney-backend
https://github.com/yzgyyang/momoney-backend
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yzgyyang/momoney-backend
- Owner: yzgyyang
- Created: 2019-09-14T14:33:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:36:11.000Z (about 2 years ago)
- Last Synced: 2024-11-17T09:55:02.343Z (3 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MoMoney-Backend
## Running the Flask app
- Make sure you have [Python3](https://www.python.org/downloads/) installed on your computer.
- Clone this repo into your computer.
- Create a new **.env** file in the root folder of the project. The .env file should at least contain the following variables
```
CLIENT_ID=''
CLIENT_SECRET=''
REDIRECT_URL=''
```
The values for these variables are available on the [developer page](https://my.freshbooks.com/#/developer)
- Install all the dependencies by running the following commands
```
$ pipenv install
$ pipenv shell
```
- Run the app using the Flask command.
```
$ flask run --cert=adhoc
```
- Click on the **Authorizaton URL** for you application available on the [developer page](https://my.freshbooks.com/#/developer)
- Login to the FreshBooks application using the credentials for the test account given to you during the hackathon.
If you have correctly set up you application on **FreshBooks** and entered your credentials on the **.env** file you should get the following output.
```
You have successfully logged in for First Last
```If you can see the above output, congrats you can now start building!