An open API service indexing awesome lists of open source software.

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.

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)