Skip to content

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.

Notifications You must be signed in to change notification settings

Yyuichiii/Account_API

Repository files navigation

Account API

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.

Installation

  1. Clone the repository:

    git clone https://github.com/Yyuichiii/Account_API.git
  2. Navigate to the project directory:

    cd Account_API
  3. Install dependencies using pip:

    pip install -r requirements.txt

Usage

  1. Run Django migrations to set up the database:

    python manage.py migrate
  2. Start the Django development server:

    python manage.py runserver
  3. Obtain an access token by sending a POST request to the /login/ endpoint with valid credentials. The response will include an access token.

API Endpoints

  • Register User: POST api/user/register/
  • Login User: POST api/user/login/
  • User Profile: GET api/user/profile/
  • Change Password: POST api/user/password/

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3

Documentation

For detailed usage instructions and examples, refer to the documentation provided in the repository.

Contributing

Contributions are welcome! Please open an issue or submit a pull request with any enhancements or bug fixes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages