Code Monkey home page Code Monkey logo

eddie2111 / storyrolls Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.54 MB

A blog application using RSC and rich text editor using Jodit Editor. Using NextJS as fullstack with server actions, prisma as ORM and planetscale MySQL as Database. Deployed in vercel.

Home Page: https://storyrolls.vercel.app

TypeScript 97.69% JavaScript 0.92% CSS 1.39%
mysql nextjs14 planetscale prisma react rich-text-editor rsc serveractions ssr vercel jest jodit-react

storyrolls's Introduction

"Storyrolls" in a blog application promoting free and open knowledge as well is literature and philosophy

Use case targets,

  • Users can create blogs
  • Users can ask questions
  • Users has to create an account in order to create posts
  • Account is required to track a users posts
  • No personal information of the user is stored to promote free speech
  • Sorting and categorizaion of the posts.

Used tech

  • NextJS 14 App Router

    NextJS version 14 has been used to create the fullstack architecture. Using server actions to execute database and used based actions. Typescript has been used and Jodit Editor for rich text editing. Strict type safety has been implemented in the codebase.

  • Database system Mysql & Prisma

    Mysql database has been designed using Prisma to store blogs, and questions efficiently. The database is cloud and managed system and hosted online. Credentials are found inside .env.local

  • React server components and actions

    Applied React server components thoroughly to render server side components. Application of Client components and Server components are shown and utilized properly to distribute loads between server and client side. Whole application has been focused on more ISR-> Incremental Static Rendering, SSR-> Server Side Rendering rather than CSR-> Client Side Rendering. Calculated ratios between SSR, ISR, CSR is 3:4:2

  • Search Engine Optimization and Open Graph

    With the advantage of ISR and SSR, proper SEO for each blogs, questions, each pages has been done properly.

  • Testing

    Jest has been configured properly for testing covarage on whole application.

storyrolls's People

Contributors

dependabot[bot] avatar eddie2111 avatar

Watchers

 avatar  avatar

storyrolls's Issues

Authentication flow test error

User Login flow has a serious response bug

RouteProtector requires aggressive testing before activation, currently disabled

Explicit ``any`` type defined

at -> src/utils/blogs/getBlogs.ts

the function-> getBlogsByID

has an any data type for the database call of Response, where the selected elements of the records are,

title: true,
tags: true,
category: true,
createdAt: true,
likes: true,
dislikes: true,

Please close this issue as soon as possible.

Database integration update

Please update the project description

Mysql has been replaced by Postgresql with the same database schema

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.