StartProject
- $ mkdir backend
- $ cd backend
- $ npm init -y
- $ npm install nodemon -D
- $ npm install supertest -D
- $ npm install jest -D
- $ npm install express
- $ npm install cors
- $ npm install celebrate
- $ npm install cross-env
"scripts": {
"start": "nodemon src/server.js",
"test": "cross-env NODE_ENV=test jest"
}
- $ code .
- $ npx create-react-app frontend
- $ cd frontend
- code .
- $ npm install react-router-dom
- $ npm install react-icons
- $ npm start
- readme.md
- App.css
- App.test.js
- index.css
- logo.svg
- serviceWorker.js
- setupTests.js
- index.css
- serviceWorker
- App.css
- logo.svg
Alterar o return para return( <h1>Hello world</h1>)