Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 1.82 KB

README.md

File metadata and controls

73 lines (46 loc) · 1.82 KB

RevPloy API

RevPloy Welcome to the RevPloy! This API provides resources for managing HR activities in a company.

Table of Contents

  1. Getting Started
  2. Installation
  3. Usage
  4. Testing
  5. API Documentation
  6. License

Getting Started

To get started with the RevPloy, follow the instructions below to set up the project locally.

Installation

  1. Clone the repository:

    git clone https://github.com/ezeisraeljohn/revploy.git
    cd revploy
  2. Set up a virtual environment:

    python -m venv .venv
    source .venv/bin/activate  # On Windows use `.venv\Scripts\activate`
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Configure the database:

    Ensure you have a PostgreSQL or MySQL database set up. Update the database settings in the config.database.py file.

    DATABASE_URL = "postgresql://username:password@localhost/dbname"

    you can ignore the connect_args.

  5. Run the server:

    uvicorn api.app:app --reload

Usage

Once the server is running, you can interact with the API using tools like Postman or curl.

Testing

You can test the API endpoints using Postman. Import the collection directly using the following link:

Run In Postman

API Documentation

For detailed API documentation, visit the Postman endpoints.

License

This project is licensed under the MIT License. See the LICENSE file for details.