Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cm2305
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Dean Jukes
cm2305
Commits
643410af
Commit
643410af
authored
3 months ago
by
Samantha Fisher
Browse files
Options
Downloads
Patches
Plain Diff
add summary of dependencies to readme
parent
371406ec
Branches
Branches containing commit
No related tags found
2 merge requests
!8
last minute fixes, readme update for site branch (not root readme yet)
,
!7
site updates, api functionality
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site/README.md
+22
-0
22 additions, 0 deletions
site/README.md
site/components/devicedetails.tsx
+1
-1
1 addition, 1 deletion
site/components/devicedetails.tsx
with
23 additions
and
1 deletion
site/README.md
+
22
−
0
View file @
643410af
...
...
@@ -18,6 +18,28 @@ without issue.
Run
`npm run dev`
then navigate to http://localhost:3000 to view the site.
## Libraries Used
-
[
HeroUI v2.7
](
https://www.heroui.com/
)
, used for UI components to make the site look pretty.
-
[
BCrypt for Node JS - 5.1.1
](
https://www.npmjs.com/package/bcrypt
)
, used to hash passwords for secure storage.
-
[
d3 - 7.9
](
https://www.npmjs.com/package/d3
)
, for displaying the dashboard bar chart.
-
[
Next JS 15
](
https://nextjs.org
)
, for the website's server model, building on React
-
[
React 18
](
https://react.dev
)
, for the site's frontend mattter
-
[
Zod 3.24
](
https://www.npmjs.com/package/zod
)
, used to validate the Signup form information
-
[
Postgres 3.4 for Node
](
https://www.npmjs.com/package/postgres
)
, used to query the Postgres database.
Used for Hosting:
-
[
Vercel
](
https://vercel.com
)
, for the site, allowing for access anywhere.
-
[
Neon
](
https://neon.tech/
)
, for hosting of the Postgres database.
### App folder
The App directory is the main location of code for the web app. This contains
...
...
This diff is collapsed.
Click to expand it.
site/components/devicedetails.tsx
+
1
−
1
View file @
643410af
...
...
@@ -13,7 +13,7 @@ export default async function DeviceDetails({ email }: { email: string }) {
{
devices
.
status
.
code
==
0
&&
devices
.
devices
!=
undefined
?
(
devices
.
devices
.
length
!=
0
?
(<
DetailDisplay
details
=
{
devices
.
devices
}
/>)
:
(<
p
>
There are devices associated with your account. Contact us to order a device
</
p
>)
(<
p
>
There are
no
devices associated with your account. Contact us to order a device
</
p
>)
)
:
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment