ucsb-cs156-f23 / team03-f23-5pm-3

https://ucsb-cs156-f23.github.io/team03-f23-5pm-3/
0 stars 0 forks source link

team03-f23-5pm-3

Instructions: https://ucsb-cs156.github.io/f23/lab/team03.html

Deployments:

Table Team Member Github Id
UCSBDiningCommonsMenuItem Karim KarimBenyassine1
UCSBOrganization Kaitlyn kaitntom
RecommendationRequest Kelly kellyyan
MenuItemReview Madison madisonlong1
HelpRequest Olivia livjono
Articles Wyatt wyatthspivak

Remember though, that in spite of these initial assignments, it is still a team project. Please help other team members to finish their work after completing your own.

Versions

Brief overview of starter code

TODO: remove this header and content of this section before submitting. However leave the section # Overview of application and its content intact.

The starter code here starts with a base similar to team02, but with some extra frontend code on top of the of backend CRUD operations that were present in team02.

You can use this code as a basis to:

Overview of application

When complete, this application will have the following features:

Setup before running application

Before running the application for the first time, you need to do the steps documented in docs/oauth.md.

Otherwise, when you try to login for the first time, you will likely see an error such as:

Authorization Error; Error 401: invalid_client; The OAuth client was not found.

Getting Started on localhost

Then, the app should be available on http://localhost:8080

If it doesn't work at first, e.g. you have a blank page on http://localhost:8080, give it a minute and a few page refreshes. Sometimes it takes a moment for everything to settle in.

If you see the following on localhost, make sure that you also have the frontend code running in a separate window.

Failed to connect to the frontend server... On Dokku, be sure that PRODUCTION is defined.  On localhost, open a second terminal window, cd into frontend and type: npm install; npm start";

Getting Started on Dokku

See: /docs/dokku.md

Accessing swagger

To access the swagger API endpoints, use:

Or add /swagger-ui/index.html to the URL of your dokku deployment.

To run React Storybook

SQL Database access

On localhost:

On Dokku, follow instructions for Dokku databases: