/Shelly-FrontEnd

Shelly project FrontEnd

Primary LanguageJavaScript

Getting Started with Create React App

Getting stetrted by creating a react app, and it will be push to GitHub in a new repo. [Create React App]npx create-react-app shellyFrontend).

Clean work area

Delete files that are not gonna be used.

In the project directory, you can run:

npm start

So we can see the app is running.

Project instructions.

Creating conections to get status and database Get JSON file (JavaScript Object Notation) by fectching.

Create local server next // Test mode, then we move on

npx json-server --watch data/db.json --port 8000

We will be working on development mode

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

And open the backEnd with (http://localhost:3002) to view it in your browser.

Connect backEnd with mongodb

Then use node or modenon to keep runnig the local

Front End

Clean area and work on App. Embedded in index.js to render it.

Connect Back End with front End