Members:
-
Anna:
-
Akshara: I love hiking!
-
Dominic:
-
James: My favorite dog breed are huskys.
-
Nick:
-
Phillip: My favorite food to eat is sushi.
Thanks for reading!
Run these commands from the repo root
cd frontend- change into the frontend directorynpm install- download any node packages that we're usingnpm run dev- start a local server
To stop the server do: Ctrl + C
frontend/src/
├── assets/ # images, icons, fonts
├── components/ # reusable UI pieces
├── pages/ # one file per page
├── hooks/ # custom react hooks
├── services/ # any code that talks to backend (like API calls)
├── utils/ # small helper functoins
├── App.jsx # outer shell of app - list of routes
└── main.jsx # starts the app
Run these commands from the repo root
cd backend- change into the frontend directorynpm install- download any node packages that we're usingnpm run dev- start a local server- Open web browser and type in
http://localhost:3000/to see server.
To stop the server do: Ctrl + C
backend/src/
├── config/ # Connect to database
├── controllers/ # Handles incoming HTTP payloads & sends responses
├── middleware/ # Logic that handles requests coming from frontend (ie. CORS)
├── models/ # How the data being put into the database will be strctured
├── routes/ # URL entry map (CRUD)
├── services/ # Code that does logic (ex auth, business, etc)
├── utils/ # Small reusable helper functions
├── app.js # Where routes and middleware comes together
└── server.jsx # Where the database and server starts