# 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
- GET
api/tutorials/
get all Tutorials - GET
api/tutorials/:id/
get Tutorial by id - POST
api/tutorials/
add new Tutorial - PUT
api/tutorials/:id/
update Tutorial by id - DELETE
api/tutorials/:id/
remove Tutorial by id - DELETE
api/tutorials/
remove all Tutorials
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