Skip to content

Feedback #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 23 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e102874
Setting up GitHub Classroom Feedback
github-classroom[bot] Oct 13, 2021
b5da2ac
feat: initial project with fake auth and home screen
lsilva08 Dec 11, 2021
2cdfcd3
Merge branch 'main' of https://github.com/BUCOMPAdvancedDevelopment/a…
lsilva08 Dec 11, 2021
6c442fa
Merge pull request #2 from BUCOMPAdvancedDevelopment/LC-initial-project
lsilva08 Dec 11, 2021
a0f33a2
feat: login and register pages
lsilva08 Dec 11, 2021
a3988d6
chore: changed folder structure to work with more than one project
lsilva08 Dec 11, 2021
c1e8a73
feat: externalized the authentication flow to services
lsilva08 Dec 11, 2021
38df8a9
refactor: changed default authenticated route to /products
lsilva08 Dec 11, 2021
a5ab37a
feat: product details page
lsilva08 Dec 13, 2021
87585cd
feat: table list, update and insert of products for admin
lsilva08 Dec 14, 2021
365f8b7
refactor: added description field and fixed some screens
lsilva08 Dec 14, 2021
c18b221
refactor: changed /products page to render based on profile
lsilva08 Dec 14, 2021
6e44244
feat: order list screen
lsilva08 Dec 15, 2021
80ca0d1
feat: initial products-api
lsilva08 Dec 15, 2021
1a20eeb
feat: product api integrated and buy working
lsilva08 Dec 16, 2021
8902555
feat: order api integration
lsilva08 Dec 16, 2021
debeb6f
feat: tracking with cloud datastore
lsilva08 Dec 16, 2021
576fb4c
feat: maps and final changes
lsilva08 Dec 17, 2021
0a1d0dd
refactor: changed auth page
lsilva08 Dec 17, 2021
332c776
refactor: final adjusts
lsilva08 Dec 17, 2021
7238ec6
chore: deployment files
lsilva08 Dec 17, 2021
5f6b984
chore: README file
lsilva08 Dec 17, 2021
e9d08c1
chore: changed README
lsilva08 Dec 17, 2021
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
Empty file added .gitignore
Empty file.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
https://tracking-frontend-dot-ad-assignment-2021-334714.ew.r.appspot.com/

Users:<br />
user@email.com <br />
user2@email.com <br />
admin@email.com <br />

All passwords are 123123
17 changes: 17 additions & 0 deletions frontend/.gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file specifies files that are *not* uploaded to Google Cloud
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore

# Node.js dependencies:
node_modules/
27 changes: 27 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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*


#envs
env/.env.production
46 changes: 46 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Getting Started with Create React App

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

## Available Scripts

In the project directory, you can run:

### `yarn start`

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

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `yarn test`

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

### `yarn build`

Builds the app for production to the `build` folder.\
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.\
Your app is ready to be deployed!

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

### `yarn 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/).
15 changes: 15 additions & 0 deletions frontend/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
env: standard
runtime: nodejs16
service: tracking-frontend

handlers:
- url: /static
static_dir: build/static

- url: /(.*\.(json|ico|js))$
static_files: build/\1
upload: build/.*\.(json|ico|js)$

- url: .*
static_files: build/index.html
upload: build/index.html
1 change: 1 addition & 0 deletions frontend/env/.env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REACT_APP_API_URL=https://tracking-api-dot-ad-assignment-2021-334714.ew.r.appspot.com
Loading