Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 742 Bytes

README.md

File metadata and controls

34 lines (30 loc) · 742 Bytes

nodejs-react-store

This is an example of web application using React and Express js

To run local:

This app use Postgres, I would also recommend downloading PgAdmin. download here

After successful installation create new user and database with following parameters:

  DB_USER=postgres
  DB_NAME=online_store
  DB_PASSWORD=9573
  DB_PORT=5432

Make sure you are in ndoejs-react-store folder and then:

Tip

Open 2 terminal tabs for best experiance

1 tab:

    $ cd client
    $ npm install
    $ npm run start

2 tab:

    $ cd server
    $ npm install
    $ npm run dev

Now it should be running on http://localhost:3000


Thank you for attention!