Talk about React fundamentals.
Slides are available in slides
folder, available in Keynote, PDF and PPT
formats.
- 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.
-
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 onhttp://localhost:3000/
-
If you have any CORS issues, one fix is to add
"proxy":"http://localhost:3000/"
in yourpackage.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.