Skip to content

An API which provides a CRUD for teams and members in it

Notifications You must be signed in to change notification settings

ArtemVasylchuck/workersAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workersAPI

An API which provides a CRUD for teams and members in it

Technology stack:

  • Programming language: Python
  • Framework: Django
  • API service: Django REST framework
  • Database: Sqlite3

Database structure

Database has three schemes for Developers, Teams and Type of teams for persisting types of the team

Installation

  1. First, create and activate your virtual environment
pip install virtualenv
python<version> -m venv <virtual-environment-name>
source env/bin/activate
  1. Install all packages from requirements.txt
pip install -r requirements.txt
  1. After that, migrate the database schema to the SQLite database with
python manage.py migrate
  1. Start the Django development server by running
python manage.py runserver
  1. Endpoints of the API
/api/developers - GET, POST
/api/developers/<pk> - GET, PATCH, DELETE

/api/teams - GET, POST
/api/teams/<pk> - GET, PATCH, DELETE

About

An API which provides a CRUD for teams and members in it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages