Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.
/ mublog-server Public archive

The backend of µblog written with ASP.NET Core.

License

Notifications You must be signed in to change notification settings

mublog/mublog-server

Repository files navigation

GitHub Workflow Status GitHub milestone

mublog-logo

Archival Notice

µblog was a school project to create a working prototype of a microblogging website. No further development is currently planned

µblog Server

The back-end of µblog written with ASP.NET Core. Find the official front-end here

Features

Features Supported by the API

Posts

  • Get Posts Paginated and Get Posts by ID
  • Post, Edit, Delete Posts
  • Get Comments by Post
  • Create, Delete Comment under Post
  • Like, Unlike Post

Media

  • Upload Images
  • Get Images

Users

  • Get User Profile
  • Get Follower, Following of User
  • Follow, Unfollow User

Accounts

  • Register Account
  • Log into Account
  • Refresh JWT Token
  • Change, Display Name, Email, Profile Description and Password
  • Delete Account

Other

API can be inspected and tested with Swagger by going to example.com/swagger.

Deployment

The recommended way of deploying µblog is via Docker. The docker file is included in the repository.

  1. Deploy a PostgreSQL database and run the scripts in repository under src/Infrastructure/Data/SQL
  2. git clone https://github.com/mublog/mublog-server.git
  3. cd mublog-server
  4. docker build . -t mublog:latest
  5. docker volume create mublog-data
  6. docker volume create mublog-www
  7. compile the front-end and put the files into the docker volume mublog-www
  8. docker run --name mublog -d --restart=unless-stopped -v mublog-data:/data -v mublog-www:/app/wwwroot mublog

It is recommended that you run an NGINX reverse proxy for higher security with HTTPS, read about it here.

Future

Potential features that might be implemented in the future if the project continues to be developed.

  • server side caching
  • standalone image server
  • an email service for notifications and authentication
  • more options to customise the profile supported by the profile
  • enhance security features in the back-end
  • custom feed for each registered user
  • search options enabled by PostgreSQL full text search
  • enable horizontal scaling

About

The backend of µblog written with ASP.NET Core.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •