Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Jithinqw/react-talk-pyjaipur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-talk-pyjaipur

Talk about React fundamentals.

Slides

Slides are available in slides folder, available in Keynote, PDF and PPT formats.

Running

Backend

  • Written on NodeJs v12.0.0.
  • Please install MongoDB. Please follow instructions here.
  • All the configurations are written in /Config folder.
  • Please install dependencies using npm install or npm i.
  • Start your node server using npm start or node server.js on the root of the project.

React App

  • Written on React v16.3.

  • Install your dependencies using npm install or npm i.

  • Start your development server using npm start. This should open your browser on http://localhost:3000/

  • If you have any CORS issues, one fix is to add "proxy":"http://localhost:3000/" in your package.json, and try re-running your app.

Redux Demo

  • For redux demo Please refer to this link here.

Running on docker.

  • React App

docker build -t todo:dev . for building the image.
docker run -it --rm -v ${PWD}:/app -v /app/node_modules -p 3000:3000 todo:dev for running the container.
Use Dockerfile.prod for production.

  • Nodejs Backend

docker build -t todobackend/dev . for building the image.
docker run -p 4000:4000 -d todobackend/dev for running the image. Please use a MongoDB image to store all the data from the Nodejs backend.

Mug Shot

Image

About

Slides/Code for PyJaipur talk May 2020

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages