Skip to content

React(Hooks, Redux), Express, MongoDB, Node.js Hands-on Project

Notifications You must be signed in to change notification settings

GeekEast/social-network-devs-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environment

  • Typescript: Static Testing
  • Prettier: format the code
  • Husky: pre-commit hooks

Architecture

  • Services: Connector, in essence
  • Model: External Controller, in essence
  • Database: External Resources, in essence mvc

Controllers

  • Request Body Validator
  • Request Handler

Middleware

  • Root Router
  • User Authenticator
  • express.json()

Models

  • Post: Post Schema and model
  • Profile: Profile Schema and model
  • User: User Schema and model

Routes

  • Auth: Login and R of authenticated user
  • Post: CRUD post, UD of comments and likes
  • Profile: CRUD profile, UD of experiences and educations, R of Github Repo
  • User: C of User

Services

  • Github: connect to Oauth Apps of github
  • MongoDB: connect to MongoDB

Questions

  • Is lodash set() method happen in-place or not in-place?
    • in-place
  • What's the difference between post and put method?
    • post: update a whole thing
    • put: update parts of a whole thing

Reference

About

React(Hooks, Redux), Express, MongoDB, Node.js Hands-on Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published