MN-REST
REST API for getting phones .
For easy access demo sqlitedb is available !
Setup
- Download the Repository to your local machine
- Create a Virtual Environment in the MN-REST folder with this command below
python -m venv venv
- Activate the environment with this command
.\venv\Scripts\activate
- Install the dependencies
pip install -r requirements.txt
- Start the application by running this command (Run the command where manage.py is
located)
python manage.py runserver
Features
- Authentication method is JWT and Custom authentication back-end .
- login with email, phone and username
- api endpoint for giving data and filter, ordering and search.
- send message to other user with RESTAPI .
Custom commands
- for migration follow
python manage.py migrate-db
.
Demo user
You can login with this demo user username:admin
and password:admin
.
Endpoints
for see follow link http://127.0.0.1:8000/swagger/
.