Skip to content

javier-montoya/Homelike-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the project modifications

installation & run

  1. start the server in the ./server folder
  2. start the client (uses custom webpack configuration)
    • go to ./client
    • npm i
    • npm run start

building for production (optional)

  1. build the client with custom webpack
    • npm run build
  2. install "http-server-spa" (what i chose as local server since it handles single page apps for us already)
    • npm install http-server-spa -g
  3. serve the built project using "http-server-spa"
    • npm run serve

Side notes

  1. webpack configuration added
    • the original react scripts are still there, didnt remove them in case you'd rather use those, but they're not referenced in package.json
    • 'npm run start' and 'npm run build' use tthe webpack config i made
  2. added bootstrap for styling convenience
    • removed the dependancy on just the bootstrap grid since now we had the whole thing
    • used said grid instead of some hard-coded sizes
  3. removed deprecated react lifecycle functions
  4. refactored some code and tried respecting DRY coding principle

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published