GitHunt
OW

OwaisIbrahim/react-github

React Github Project

How to start

  • To run server only use command `npm run server'
  • To run client only use command `npm run client'
  • To run both server and client use command `npm run dev'

DEPENDENCIES

Server - Global Dependencies

npm install express

Web framework for backend

npm install express-validator

For data validation at POST request

npm install bcryptjs

For password encryption

npm install config

For Global Variables

npm install gravatar

For profile avatar - Assciate user detail with his account such as profile image

npm install jsonwebtoken

Passing JWT token for validation

npm install mongoose

For db interaction

npm install node-fetch

For http request

Server - DEV Dependencies

npm install -D nodemon

For live server changes

npm install -D concurrently

Backend Express and react run at same time

Client - Global Dependencies

npm install axios

For HTTP request along with headers

npm install react-router-dom

For react routing

npm install redux

For state management

npm install react-redux

For state management at react

npm install redux-thunk

Middleware allow us to make async request in actions

npm install redux-devtools-extension

For react debugging

npm install moment

For date and time

npm install react-moment

For date and time within component

npm install uuid

For Unique Id

CODE GENERATION

  • racfp - generating prop type component
  • impt - import prop types

References

OwaisIbrahim/react-github | GitHunt