Skip to content

Commit

Permalink
update deps of express app, add npm lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladrillo committed Feb 24, 2020
1 parent 66d637f commit 53f2c8b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2,091 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ Topics:

## Initialize Project

* Run `yarn` or `npm i` inside the root directory of this project to install dependencies.
* Run `yarn start` or `npm start` to start the API server.
* Run `create-react-app friends` in a separate terminal window in the root directory of the project to create your starter application.
* `cd` into the _friends_ folder and type `yarn add axios react-router-dom` which will install the needed dependencies.
* Run `npm install` inside the root directory of this project to install dependencies for the API server.
* Run `npm start` to start the API server.
* Run `npx create-react-app friends --use-npm` in a separate terminal window in the root directory of the project to create your starter application.
* If you experience issues with `npx`, you may create your starter application by running `create-react-app friends --use-npm`.
* `cd` into the _friends_ folder and type `npm install axios react-router-dom` which will install the needed dependencies.

## Build the App!
* Add a route for a login page and build out a simple login form with username and password inputs and a submit button (design this however you would like).
Expand Down
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"description": "",
"main": "server.js",
"dependencies": {
"body-parser": "^1.18.3",
"cors": "^2.8.3",
"express": "^4.15.2"
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"uuid": "^7.0.0"
},
"devDependencies": {
"nodemon": "^1.17.2"
"nodemon": "^2.0.2"
},
"scripts": {
"start": "nodemon server.js"
Expand Down
Loading

0 comments on commit 53f2c8b

Please sign in to comment.