Skip to content

rest api training with flask, api developed solely for study purposes for academic purposes (fictitious data)

License

Notifications You must be signed in to change notification settings

davifernandodias/flask-Apifull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Restful API with Flask

This repository contains a Restful API project developed in Flask, with PUT, POST and DELETE methods implemented.

Screenshot_5

Functionalities

  • GET: Used to retrieve information from existing resources.
  • PUT: Used to update an existing resource.
  • POST: Used to create a new resource.
  • DELETE: Used to delete an existing resource.

##Installation

  1. Clone the repository: git clone https://github.com/seu-usuario/flask-Apifull.git
  2. Create a virtual environment: python -m venv venv
  3. Asset or virtual environment:
    • Without Windows: venv\Scripts\activate
    • Without Linux/Mac: source venv/bin/activate
  4. Install dependencies: pip install -r requirements.txt
  5. Run an application: python rest-main-api.py for flask-apifull application or main.py for rest application

Usage

After installing and running the application, you can use the following routes:

  • GET: http://localhost:5000/api//dev/
  • PUT: http://localhost:5000/api//dev/{id}
  • POST: http://localhost:5000/api//dev/
  • DELETE: http://localhost:5000/api//dev/}

Make sure to replace {id} with the ID of the desired resource.

Contribution

Feel free to contribute improvements, new features or bug fixes. Just follow the steps below:

  1. Fork the repository
  2. Create a branch for your modification: git checkout -b feature/nova-feature
  3. Commit your changes: git commit -am 'Adding new feature'
  4. Push to a branch: git push origin feature/nova-feature
  5. Create a pull request

Contact

If you have any questions or suggestions, please contact us via email: [email protected]

About

rest api training with flask, api developed solely for study purposes for academic purposes (fictitious data)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages