GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pkuklin/node-react-app: nodejs, express, react, redux, airbnb, webpack, babel, docker, jest, enzyme

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
__mocks__
__mocks__
 
 
__tests__/client
__tests__/client
 
 
public
public
 
 
src
src
 
 
.babelrc
.babelrc
 
 
.dockerignore
.dockerignore
 
 
.env
.env
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
nodemon.json
nodemon.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
webpack.config.js
webpack.config.js
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

This project uses React+Redux, Node.js, Express and Webpack. Dockerized.

It is also configured with webpack-dev-server, eslint(Airbnb's rules) and babel. Testing environment configured with Jest + Enzyme.

It has simple Node.js/Express backend with 1 endpoint and mocked data. Client side app shows list of smartphones and opens details for each one.

Development mode

In the development mode there are 2 servers running. The front end code will be served by the webpack dev server which helps with hot and live reloading. The server side Express code will be served by a node server using nodemon which helps in automatically restarting the server whenever server side code changes.

Run with Docker:

docker build -t node-react-app .

docker run -it -v ${PWD}:/usr/src/app -v /usr/src/app/node_modules -p 3000:3000 --rm node-react-app

It will be available on http://localhost:3000/

Run with Npm:

npm install

npm run dev

Run with Yarn:

yarn install

yarn dev

How to test (do not forget to run npm install or yarn install before testing):

Test with Npm:

npm run test

npm run test:watch

Test with Yarn:

yarn test

yarn test:watch

About

nodejs, express, react, redux, airbnb, webpack, babel, docker, jest, enzyme

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.