Giter Club home page Giter Club logo

matablog's People

Contributors

dependabot[bot] avatar matamercer avatar soynegro avatar towelman-public avatar

Stargazers

 avatar  avatar

Watchers

 avatar

matablog's Issues

Add Google Oauth

The api already has Github. Google would also be a nice option if non-developers use the app.

OAuth requires using environment variables in Application.yml. I don't know how to set that up in Docker yet. I currently set environment variables through intellij's run config and run the app natively.

User Profile

User Blog Entity should be able to add some information about themselves.

  • about
  • social media links
  • uploaded avatar file

Not really sure if it should be a new entity/table or not. My SQL is rusty.

update documentation

Need documentation on how to build, run, etc. Make sure all documentation goes in the docs folder aside from readme

Request role

Allow users to submit a request to an admin account that they want a role.

i.e. reader wants to become a blogger account.

There should be a route
POST -> asks for a role.
GET -> view all role requests [admin only, owner only]
PUT -> change role [admin only]
DELETE -> delete role requests [admin only, owner only]

Additionally a ban feature could be implemented in the PUT request. Maybe a "banned" user role.

Add ElasticSearch functionality

I'd like to search posts by blog author or whatever through elastic search. The search bar in the screen shot does not function, so it would be nice if it could do something.

Unable to serve files when running under Docker

When running the app under Docker, the app cannot read files. On my machine, on Windows 10 without Docker, it functions normally.

GETing from this route http://localhost:8080/api/v1/files/serve/ returns a 404 response.

In the logs, I see this [com.matamercer.microblog.storage.StorageFileNotFoundException: Could not read file: filename.jpg]

Also normally its supposed to create an upload-dir folder in the root of the project. With Docker, it creates an upload-dir (with a weird unicode character on the end). I tried changing the storageconfig.kt file but it's not working.

Remove Optionals

In Kotlin, types are nullable, so Optionals are redundant. Remove all instances of them in the code.

Create blog route

User should be able to submit a form to create a blog.

If you can there's other things to implement, such as deleting blogs, switching active blog (requires refreshing token), and updating blog data

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.