Skip to content

DewitteRuben/reactjs_decoration_webshop_2020

Repository files navigation

Decoration marketplace

Introduction

Read more about this project and its development on my website.

View the backend of this project here.

Setup

This project uses Create React App under the hood, CRA requires .env keys to be prepended with REACT_APP_ before they can be accessed with process.env.

API

Create an .env file that includes the following key:

REACT_APP_BASE_URL=base-url/api

Replace base-url with the address and port the backend is hosted on. (https://localhost:3000 is default)

Firebase

Include the Firebase config object as keys in your .env file as follows:

REACT_APP_API_KEY=
REACT_APP_AUTH_DOMAIN=
REACT_APP_DATABASE_URL=
REACT_APP_PROJECT_ID=
REACT_APP_STORAGE_BUCKET=
REACT_APP_MESSAGING_SENDER_ID=
REACT_APP_APP_ID=
REACT_APP_MEASUREMENT_ID=

Read more on the Firebase config object here.

Build

Running this project (locally) can be done in just two lines:

npm install
npm start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages