A social media api using the onion architecture. You can interact with other users by posting, commenting, following and messaging.
- GraphQL
- Rest
- To get started, clone the project.
git clone https://github.com/WaadSulaiman/SocialMedia.Api.git
- Change the settings inside
SocialMedia.Infrastructure/AppSettings.cs
. - Do a migration to get the database up and ready.
dotnet ef migrations add InitialMigration --project SocialMedia.Infrastructure --startup-project SocialMedia.Rest
dotnet ef database update --project SocialMedia.Infrastructure --startup-project SocialMedia.Rest
- Run.
- GraphQL =>
https://localhost:port/graphql/
- Voyager =>
https://localhost:port/graphql-voyager
- Rest =>
https://localhost:port/swagger/index.html
Enjoy 👍.