Skip to content

jim-pettersson-github/frontend-productsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Client - Product listing from ElasticSearch with Frontend in: React, Typescript, react-async

Installation Prerequisites

  1. Install Node.js version 12.16.1 or later https://nodejs.org/en/download/.

Installation

$ git clone https://github.com/jim-arbete/frontend-productsearch.git productlistingfrontend
$ cd productlistingfrontend
$ npm install

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Build => Production server

Run npm run build to build the project. The build artifacts will be stored in the build/ directory.

  1. Try out the build with npm serve.
  2. Install serve npm i serve -g
  3. And run:
$ cd build/productlistingfrontend
$ serve -l 5000

About

Product listing from ElasticSearch with Frontend in: React, Typescript, react-async

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published