Sergey Sovgut

NodeJS && React && NextJS // developer

What do I know and study at the moment?

/** @use In every project */
type Language = Typescript & Javascript
/** @backend Prisma ORM */
const posts = await PrismaClient.post.findMany(query)
/** @frontend React */
class React extends Component {
render() {
const { posts } = this.props
return <RenderPosts posts={posts} />
}
}

function RenderPosts({ posts }) {
return (
<>
{posts.map(post => (
<article>
<h2>{post.title}</h2>
<p>{post.body}</p>
</article>
))}
</>
)
}
/** @backend NextJS */
async function getServerSideProps(context) {
const { content: posts } = await PostService.list(context.req)

return {
props: { posts }
}
}

Developed projects

At the moment I have no public projects.