This project implements a full stack application using React
, Redux
(not really required though) and NodeJS
.
The React application uses React
hooks exclusively whiles the NodeJS
app is built with Express
.
Following these steps to run the application:
- Make sure you have
node
(andnpm
) installed - Run
npm install
- Run
npm run start:dev
. This starts the application server on port5000
and the client on port3000
. - Open
http://localhost:3000
in a browser to access the client (frontent) - Open
http://localhost:5000/api/v1
in a browser to access the server. For example,http://localhost:5000/api/v1/photos
returns the list of photos
Run npm run test
or npm test