https://github.com/nikhilcodes/mern-best-practices
Best practices in TS for both backend and frontend, with redux too.
https://github.com/nikhilcodes/mern-best-practices
backend best-practices frontend mern mern-stack redux
Last synced: 3 days ago
JSON representation
Best practices in TS for both backend and frontend, with redux too.
- Host: GitHub
- URL: https://github.com/nikhilcodes/mern-best-practices
- Owner: NikhilCodes
- Created: 2020-11-29T10:29:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-03T15:24:52.000Z (over 4 years ago)
- Last Synced: 2025-05-08T00:35:10.661Z (about 2 months ago)
- Topics: backend, best-practices, frontend, mern, mern-stack, redux
- Language: TypeScript
- Homepage:
- Size: 253 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Straightforward Store App
> With best practices for both MERN stack's frontend and backend### Implementation Details
- TypeScript is standard
- Dependency Injection `[Uses Typescript experimental decorators]`
- MVC Architecture
- Custom Error handling layer
- Redux best practices `[With usage of redux-thunk]`
- Extensive usage of Interfaces to make code readable
- Defining Mongoose Models using TS classes
- Custom HttpClient to enable easier management of protected and public api urls.### Important Dependencies used for *neat/readable* code.
- [TypeDI](https://github.com/typestack/typedi)
- [Typegoose](https://github.com/typegoose/typegoose)