Git Product home page Git Product logo

kawaii-moment's Introduction

Kawaii Moment

Project Description

'Kawaii' means cute in Japanese. This app allows people to share and watch cute short videos/moments. Most videos here are about animals because they are super cute! Studies have shown that watching cute animals could reduce people's stress levels and improve their mental health. Hope you could enjoy your adventure in the world of cuteness! Functions include uploading videos/avatars to AWS S3, playing videos, setting up profile and subscription.


User Stories

Main page + Video page

Users could see all the videos on the main page. By clicking the 'Load More' button, more videos would be shown.

If you want to watch a video, simply click on it and it will redirect to the correct video page. The video page shows the video you want to watch along with 3 other videos. The number of views would increase every time someone opens this page.

"Main page + Video page"

Login

Users could log in and set up their profiles. Email authentication is used to verify the user's identity. User's avatar will be shown on the navbar after login.

"Login"

Set up

The current name and avatar will be displayed on 'Setup' page. Users could change their names or avatars.

"Set up"

Channel & Subscriptions

By clicking on someone's avatar or name, the user could go to the channel page of that person which shows all the videos in that channel and the numbers of subscribers. If you have logged in, you can click on the 'Subscribe' button to subscribe to this channel. The button will become 'Unsubscribe' so you could unsubscribe from the channel in the future. The number of subscribers shown will change accordingly.

Logged-in users could see all the videos from subscribed channels on the subscriptions page.

"Channel & Subscriptions"

Upload video

Users could upload videos. Videos and thumbnail images are stored in the AWS S3 bucket.

"Login"

Restrictions for unauthenticated users

  • The 'Subscribe' button will not be shown on channel page
  • Cannot upload video
  • Don't have access to 'Subscriptions' page
  • Cannot set up profile

"Logout"

Different screen sizes

I used responsive mobile-first design for this app and it works on any screens including phone, ipad, and destop.

"Different screen sizes"


Challenges

  • Learned how to upload images and videos to AWS. This is my first time using AWS. It took me some time to figure out how to connect it with my app and upload files.
  • Improved CSS skills (e.g. adjust ratio of image, control position property) when trying to display videos
  • Learned how to add 'load more' function

Stack Choices:

  • NextJS
  • React
  • Tailwindcss
  • PostgreSQL
  • Prisma
  • next-auth
  • react-player
  • aws-sdk
  • headless UI

kawaii-moment's People

Contributors

lyjeileen avatar

Watchers

 avatar

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.