- Enable users to register, login and manage their accounts
| Sample EndPoint | Public Access |
| -------------------- |:-------------:|
| POST /auth/register | TRUE |
| POST /auth/login | TRUE |
- Enable users to use the required features.
- Implement Token Based Authentication for the API such that methods besides login and register are not accessible to unauthenticated users.
First clone this repository
$ git clone https://github.com/owenbob/https://github.com/owenbob/Yummy-recipes-API
$ cd Yummy-recipes-API
Create virtual environment and install it
$ virtualenv env
$ source/env/bin/activate
Then install all the necessary dependencies
pip install -r requirements.txt
At the terminal or console type
python run.py
To run tests cd into tests directory run this command at the console/terminal
pytest name_of_test eg pytest test_app.py
##Test
To test using CURL or POSTMAN (a google chrome extention)
##Python Version Used
Python 3.6