Sign in
Log inSign up

Folder structure for Typescript's Express and React

Rafal Lesniak's photo
Rafal Lesniak
·Feb 17, 2018

I want to create front end app along with backend (and mongo). I use Express and I am wondering how to structure app. Should I create separate repo for back and front? I use Typescript so then I woulnd't have access to typing. So maybe in one repo two folders client and server ? But what then? In each folder should I create package.json ? Is it worth to separate this file?

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct