# KURULUM KOMUTLARI
1 py -m venv env
2 .\env\Scripts\activate
3 pip install djangorestframework
5 django-admin startproject main .
6 pip install python-decouple
7 py manage.py migrate
8 py manage.py createsuperuser
9 py manage.py startapp tutorial
To clone and run this application, you'll need Git
# Clone this repository
$ git clone https://github.com/your-user-name/your-project-name
# Install dependencies
$ cd api
$ python -m venv env
> env/Scripts/activate (for win OS)
> source env/Scripts/activate(for bash)
$ source env/bin/activate (for macOs/linux OS)
$ pip install -r requirements.txt
# Edit .backend.env to .env
# Add SECRET_KEY in .env file
# migrate
$ python manage.py migrate
# Run the app
$ python manage.py runserver
- POST
users/register/
register - POST
users/auth/login/
login - POST
users/auth/logout/
logout - GET
/api/
get all Departments And Staff - GET
/api/department/:name
get Personal In Department
To clone and run this application, you'll need Git
// Clone this repository
$ git clone https://github.com/your-user-name/your-project-name
// Install dependencies
$ cd client
$ npm or yarn install
// Run the app
$ npm or yarn start