A user management system with the following functionalities
- User registration
- Login
- View user details
- Change password
- Logout
To be deployed
API Endpoint | Description | Request |
---|---|---|
http://127.0.0.1:8000/api/signup | Create a new user account | POST |
http://127.0.0.1:8000/api/api-auth/login/ | Login a user | POST |
http://127.0.0.1:8000/api/user/id | View details of the new user account | GET |
http://127.0.0.1:8000/api/change_password/int:pk/ | Reset password of a specific user | GET |
http://127.0.0.1:8000/api/change_password/int:pk/ | Complete resetting password of a user | PUT |
http://127.0.0.1:8000/api/api-auth/login/logout | Logout a specific user | DELETE |
- Python 3.6
- Django, Django Rest Framework
git clone git@github.com:newtonkiragu/8teq-user.git && cd 8teq-user
python3.6 -m virtualenv virtual
source virtual/bin/activate
Create a .env
file and paste paste the following filling where appropriate:
MODE='dev'
DEBUG=True
DISABLE_COLLECTSTATIC=1
Install dependancies that will create an environment for the app to run
pip install -r requirements.txt
python3.6 manage.py migrate
python3.6 manage.py runserver
Open localhost:8000
To deploy the application, please follow the instructions in this gist
Please read this comprehensive guide on how to contribute. Pull requests are welcome :-)
Create an issue mentioning the bug you have found
- none yet
Create an issue mentioning the feature you would like implemented
Contact Newton Karanu for further help/support
MIT