Skip to content

RESTful MERN in Typescript - A new project other than this one #424

@shanhuiyang

Description

@shanhuiyang

When I was finding Typescript web app example half year ago, I got an idea why not build a template like MERN in Typescript.

Then I tried my best to build such one and wonder if anyone would like it?

https://github.com/shanhuiyang/TypeScript-MERN-Starter

It is not only using TypeScript, but also featured by:

  • Real fullstack, because you can build node server, Mongo DB, multimedia storage, website (for both desktop and mobile), Android app, and iOS app based on this project in single programming language.
  • RESTful-style. Powered by an embedded oauth2 server and passport.js, this project separate client and server clearly. Then the REST server can serve for both website and other clients simultaneously.
  • React-router 4.0+, with it you can easily define client routes and manage them.
  • Redux, with it you can easily manage client states. Also all clients shared the same state machine implemented by Redux, we reduced a lot of effort when you develop for multi-clients.
  • Almost ready for a community app. We modeled User as well as Article. This is a real starter for who would like to build a community app using MERN.
  • The web client code is created from create-react-app, so now you can get rid of annoying configurations for babel and webpack.
  • The Android/iOS client is created from Expo, which is a tool encapsulated a lot of complexity when you develop on ReactNative.

Any issue and comment is welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions