Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.82 KB

README.md

File metadata and controls

54 lines (33 loc) · 1.82 KB

sporTrainer API

This is the backend API for the sporTrainer mobile application. It provides the necessary endpoints and functionality to support user authentication, registration, and other features of the app.

Table of Contents

Getting Started

To get started with the sporTrainer API, follow these steps:

  1. Clone this repository to your local machine.

  2. Install the required dependencies using npm install or yarn install.

  3. Configure your environment variables, including AWS credentials and database connections.

  4. Deploy the API to your AWS environment.

  5. Access the deployed API endpoints to interact with the sporTrainer app.

Endpoints

  • POST /register: Register a new user.
  • POST /login: Authenticate and log in a user.
  • GET /profile: Get user profile information.
  • PUT /profile: Update user profile information.
  • ... (Add more endpoints as needed)

For detailed information on each endpoint and their usage, refer to the API documentation.

Authentication

The API uses authentication to secure endpoints that require user access. You can configure authentication using AWS Cognito or another authentication method of your choice.

Usage

  1. Make requests to the appropriate API endpoints as documented.
  2. Handle API responses and errors in your frontend code.
  3. Implement your frontend logic for user authentication and interaction with the API.

Contributing

Contributions are welcome! If you would like to contribute to the sporTrainer API, please follow the guidelines in CONTRIBUTING.md.

License

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