Hashnode / Hashnode/mern-starter

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

Open
#424 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.1k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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](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](https://www.restapitutorial.com/lessons/whatisrest.html)**. Powered by an embedded [oauth2 server](https://github.com/jaredhanson/oauth2orize) and [passport.js](http://www.passportjs.org/), this project separate client and server clearly. Then the REST server can serve for both website and other clients simultaneously.
- **[React-router 4.0+](https://reacttraining.com/react-router/)**, with it you can easily define client routes and manage them.
- **[Redux](https://redux.js.org/introduction)**, 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](https://facebook.github.io/create-react-app/)**, so now you can get rid of annoying configurations for babel and webpack.
- The Android/iOS client is created from **[Expo](https://expo.io)**, which is a tool encapsulated a lot of complexity when you develop on ReactNative.

Any issue and comment is welcome.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.