wastingnotime / contacts-frontend-react-hooks-redux

This repository maintain a react/redux frontend application that is part of "contacts" project, an initiative to explore technologies features.
MIT License
1 stars 0 forks source link
react react-hooks react-router-dom react-thunk redux

contacts-frontend-react-hooks-redux

contacts-frontend-react-hooks-redux is part of "contacts" project that is an initiative where we try to explore frontend and backend implementations in order to better understand it cutting-edge features. This repository presents a react based frontend application.

stack

depencencies

get started (linux only)

execute from source code

as a prerequisite it is necessary to start the backend application

open another terminal and run the backend for this project

docker run -p 8010:8010 wastingnotime/contacts-backend-go-echo

set node version (v21+)

nvm use

install deps

npm i

start app

npm start

validating docker image locally

build

docker build --tag contacts-frontend-react-hooks-redux .

run

docker run -p 80:80 contacts-frontend-react-hooks-redux

some tips

upgrade node packages

verify outdated packages

npm outdated

install new version of outdated package

npm install <package>@latest

if npm is older use

nvm install-latest-npm