Skip to content

v0fbu1vm/social-media-api

Repository files navigation

SocialMedia.Api

A social media api using the onion architecture. You can interact with other users by posting, commenting, following and messaging.

Feautrues

  • GraphQL
  • Rest

Built With

Setup

  1. To get started, clone the project.
git clone https://github.com/WaadSulaiman/SocialMedia.Api.git
  1. Change the settings inside SocialMedia.Infrastructure/AppSettings.cs.
  2. 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
  1. Run.

Endpoints

  • GraphQL => https://localhost:port/graphql/
  • Voyager => https://localhost:port/graphql-voyager
  • Rest => https://localhost:port/swagger/index.html

License

License: MIT

Enjoy 👍.

About

A social media api using the onion architecture. You can interact with other users by posting, commenting, following and messaging.

Topics

Resources

License

Stars

Watchers

Forks

Contributors