Backend todo app API with auth.
- .NET 8 (https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
- Sql Server (https://www.microsoft.com/en-us/sql-server/sql-server-downloads)
- Ngrok (https://ngrok.com/) for use with mobile app
- Clone the repo
git clone https://github.com/kylemccullen/byte-press-api.git
- Run the application
- Standalone
dotnet run --project=API
ormake 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"
ormake run
- Run ngrok
ngrok http 5100
ormake t
- You will need the forwarding url from ngrok to run the mobile app (Ex:
https://<random-url-key>.ngrok-free.app
)
- You will need the forwarding url from ngrok to run the mobile app (Ex:
- Run app
- Run the following two commands simultaneously
- Standalone
- Access swagger
- Standalone
https://localhost:7002/swagger/index.html
- With Expo
https://<random-url-key>.ngrok-free.app/swagger/index.html
- Standalone
- 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/