Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saurabh9136/corporate-directory-service

Corporate Directory Service is a Django-based web application for managing companies and their employees. It provides RESTful APIs for creating, updating, and retrieving company and employee information.
https://github.com/saurabh9136/corporate-directory-service

admin django django-rest-framework

Last synced: 11 days ago
JSON representation

Corporate Directory Service is a Django-based web application for managing companies and their employees. It provides RESTful APIs for creating, updating, and retrieving company and employee information.

Awesome Lists containing this project

README

        

# Corporate-Directory-Service
Corporate Directory Service is a Django-based web application for managing companies and their employees. It provides RESTful APIs for creating, updating, and retrieving company and employee information.
## Features

- **Company Management**: Add, update, and retrieve information about companies including their name, location, type, and more.
- **Employee Management**: Manage employee details such as name, email, address, phone number, position, and associated company.
- **RESTful APIs**: Access company and employee data through easy-to-use RESTful APIs.
- **One-to-Many Relationship**: Maintain a one-to-many relationship between companies and employees.
- **Data Validation**: Ensure data integrity and accuracy through built-in data validation.

## Installation

1. Clone the repository:

```bash
git clone https://github.com/saurabh9136/Corporate-Directory-Service
2. Navigate to the project directory:

```bash
cd CorporateDirectoryService
3. Install dependencies:
```bash
pip install -r requirements.txt
4. Run migrations:
```bash
python manage.py migrate
5. Start the development server:
```bash
python manage.py runserver
6. Access the application in your web browser at http://127.0.0.1:8000

# Usage

- Use the provided RESTful APIs to perform CRUD operations on companies and employees.
- Access the API documentation and interact with the endpoints using tools like Postman or curl.
## API Endpoints
# Companies
GET /api/v1/companies/: Retrieve a list of all companies.
POST /api/v1/companies/: Create a new company.
GET /api/v1/companies//: Retrieve details of a specific company.
PUT /api/v1/companies//: Update details of a specific company.
DELETE /api/v1/companies//: Delete a specific company.

# Employees
GET /api/v1/employees/: Retrieve a list of all employees.
POST /api/v1/employees/: Create a new employee.
GET /api/v1/employees//: Retrieve details of a specific employee.
PUT /api/v1/employees//: Update details of a specific employee.
DELETE /api/v1/employees//: Delete a specific employee.

## Contributing
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

Fork the repository.
Create a new branch (git checkout -b feature/your-feature-name).
Commit your changes (git commit -am 'Add new feature').
Push to the branch (git push origin feature/your-feature-name).
Create a new pull request.