Skip to content

kylemccullen/byte-press-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Byte Press API

Backend todo app API with auth.

Prerequisites

Getting Started

  1. Clone the repo git clone https://github.com/kylemccullen/byte-press-api.git
  2. Run the application
    • Standalone dotnet run --project=API or make run
    • With Expo Mobile App (https://github.com/kmccullen/byte-press-mobile)
      • Run the following two commands simultaneously
        • Run app dotnet run --project=API -- --urls "http://0.0.0.0:5100" or make run
        • Run ngrok ngrok http 5100 or make t
          • You will need the forwarding url from ngrok to run the mobile app (Ex: https://<random-url-key>.ngrok-free.app)
  3. Access swagger
    • Standalone https://localhost:7002/swagger/index.html
    • With Expo https://<random-url-key>.ngrok-free.app/swagger/index.html
  4. Setting up Email Provider (Mailhog)
    • appsettings.Localhost.json is configured to work with Mailhog running locally.
    • Install Mailhog from https://github.com/mailhog/MailHog
    • Enable email sending in BytePress.Shared project user-secrets
      {
        "AppSettings": {
          "EmailSettings": {
            "IsEnabled": true
          }
        }
      }
    • View emails at http://localhost:8025/

About

ASP.NET mobile app backend with auth

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published