Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 974 Bytes

File metadata and controls

35 lines (25 loc) · 974 Bytes

Notes REST API

This is a Note Making API made using the django-rest framework. You can use it in your React/React-Native or a Flutter mobile/web app. To see how to test this API deployed on the heroku server, please refer to this documentation: https://documenter.getpostman.com/view/17031629/TzzDJv7Z

Installation

Using Docker

Make sure you have docker installed.

Open your terminal inside notes directory and run the following command.

$ docker-build .
$ docker run -p 8000:8000 (first four digits of sha code)

Your backend will be sucessfully running at http://localhost:8000/

Without Using Docker

Open your terminal inside notes directory and run the following command.

$ cd notes
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ python manage.py migrate
$ python manage.py runserver

Your backend will be sucessfully running at http://localhost:8000/

Test the API as you like it!❤