Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6d3fa94
[RECIPE-PROJECT] Initial commit
Jun 26, 2020
c9a9a91
[RECIPE-PROJECT] Added some of the needed packages
Jun 29, 2020
6153696
[RECIPE-PROJECT] Fixed the App.test.js
Jun 29, 2020
9c9323d
[RECIPE-PROJECT] Added exercise description to README
Jun 29, 2020
9dd6f4f
[RECIPE-PROJECT] Installed some dependencies and make the login reque…
Jun 29, 2020
502a5fb
[RECIPE-PROJECT] Done login form and added Auth context
Jun 30, 2020
3e803d0
[RECIPE-PROJECT] Login implemented and tested
Jun 30, 2020
64b5a37
[RECIPE-PROJECT] Temporary commit
Jun 30, 2020
8537b4d
[RECIPE-PROJECT] Added and tested registration feature
Jul 1, 2020
f827c34
[RECIPE-PROJECT] Little refactoring
Jul 1, 2020
71a2583
[RECIPE-PROJECT] Some more tasks
Jul 2, 2020
54ff002
[RECIPE-PROJECT] Added Edit profile feature
Jul 2, 2020
215f1f1
[RECIPE-PROJECT] Added timed error message when profile is not saved
Jul 2, 2020
8abe331
[RECIPE-PROJECT] Added ingredients page
Jul 2, 2020
1cc6d2c
[RECIPE-PROJECT] Added new ingredient feature
Jul 3, 2020
dac9fa5
[RECIPE-PROJECT] Added tags page
Jul 3, 2020
a03db87
[RECIPE-PROJECT] Fixed a typo
Jul 3, 2020
ffa725e
[RECIPE-PROJECT] Added visualization for recipe
Jul 6, 2020
af0c9e2
[RECIPE-PROJECT] Added creating recipe feature
Jul 6, 2020
ab4c243
[RECIPE-PROJECT] Added filtering based on ingredients and tags
Jul 6, 2020
ce9f348
[RECIPE-PROJECT] Some changes
Jul 6, 2020
0f5dca1
[RECIPE-PROJECT] Removed hardcoded token from code
Jul 6, 2020
a99a2b1
[RECIPE-PROJECT] Test
Jul 6, 2020
f029f97
[RECIPE-PROJECT] Fixed semicolon
Jul 6, 2020
0489cd5
[RECIPE-PROJECT] Fixed login issue
Jul 6, 2020
eb9d8e3
[RECIPE-PROJECT] Added some logged in checks
Jul 6, 2020
1b4f8cd
[RECIPE-PROJECT] Some cleaning
Jul 7, 2020
0909e95
[RECIPE-PROJECT] Added react-scripts, useful for testing purposes
Jul 7, 2020
837e5d5
[RECIPE-PROJECT] Added jest-dom
Jul 7, 2020
a5e4e90
[RECIPE-PROJECT] Fixed afterEach thing
Jul 7, 2020
701113f
Changes after PR review
Jul 9, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
730 changes: 18 additions & 712 deletions package-lock.json

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions recipe-hooks-project/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
83 changes: 83 additions & 0 deletions recipe-hooks-project/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Exercise description
- React TK Exercise (instructors: @Giuseppe Bandiera, @Iván Navarro):
- We want to create a client application for the Recipe/Ingredients server we already built in the previous exercise (Django)
- Use Hooks not classes
- Create React App → [https://facebook.github.io/create-react-app/](https://facebook.github.io/create-react-app/)
- Style library → [Styled components](https://www.styled-components.com/)
- For routing use this library → [https://reacttraining.com/react-router/](https://reacttraining.com/react-router/)
- [React docs](https://reactjs.org/)
- [React testing library](https://github.com/kentcdodds/react-testing-library)
- [TravelPerk Styleguide](https://www.notion.so/travelperk/Frontend-Guidelines-0743e3e822934b4899e98062f9e42000)

You can find more information, questions or issues on [#travelperk-university](https://travelperk.slack.com/messages/C4C085Z0B/convo/C3NTN87L3-1548067719.221800/?cdn_fallback=1) channel on slack.

# CREATE-REACT-APP README

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `npm run build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
Loading