Account API is a Django-based RESTful API endpoint for user authentication and related functionalities. It utilizes JSON Web Tokens (JWT) for user authentication, offering secure token-based authentication.
-
Clone the repository:
git clone https://github.com/Yyuichiii/Account_API.git
-
Navigate to the project directory:
cd Account_API
-
Install dependencies using pip:
pip install -r requirements.txt
-
Run Django migrations to set up the database:
python manage.py migrate
-
Start the Django development server:
python manage.py runserver
-
Obtain an access token by sending a POST request to the /login/ endpoint with valid credentials. The response will include an access token.
- Register User:
POST
api/user/register/
- Login User:
POST
api/user/login/
- User Profile:
GET
api/user/profile/
- Change Password:
POST
api/user/password/
For detailed usage instructions and examples, refer to the documentation provided in the repository.
Contributions are welcome! Please open an issue or submit a pull request with any enhancements or bug fixes.
This project is licensed under the MIT License - see the LICENSE file for details.