Skip to content

felipeclarindo/crud-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌍 Leia em Português

Crud

Crud for manipulations in oracle database with methods of inserting, updating, capturing and removing data. using the requests library in python.

Technologies Used

  • requests - Communication with api.
  • pytest - Testing.
  • oracledb - Connect with oracle database.
  • python-dotenv - Load environment variables.
  • flask - Development of api.
  • flask_cors - Api CORS configuration.

Features

  • Manipulation of data from a database: Methods of inserting, updating, creating, and removing data using requests.
  • Simple and intuitive interface: Simple and entuitive command-line interface for handling a database.
  • Dynamic interface, being able to manipulate the table you want!

Steps to install and run

  1. Clone the Repository:
git clone https://github.com/felipeclarindo/crud-cli.git
  1. Enter directory:
cd crud-cli
  1. Create Virtual Environment:
python -m venv .venv
  1. Enable Virtual Environment by running the .bat file in .venv/Scripts/activate.bat.

  2. Install dependencies:

pip install - r requirements.txt
  1. Run api server:
python src/api/server.py
  1. Run the application:
python src/main.py
  1. Interact with the menu interface and perform the desired manipulation in the database.

Contribution

Contributions are welcome! If you have suggestions for improvements, feel free to open an issue or submit a pull request.

Author

Felipe Clarindo

License

This project is licensed under the GNU Affero License.