generated from nyu-software-engineering/generic-mern-stack-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from agiledev-students-spring2024/master
update ella branch
- Loading branch information
Showing
10 changed files
with
93 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// import and instantiate express | ||
const express = require("express") // CommonJS import style! | ||
const app = express() // instantiate an Express object | ||
|
||
// we will put some server logic here later... | ||
|
||
// export the express app we created to make it available to other modules | ||
module.exports = app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"dependencies": { | ||
"express": "^4.19.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env node | ||
|
||
const server = require("./app") // load up the web server | ||
|
||
const port = 3000 // the port to listen to for incoming requests | ||
|
||
// call express's listen function to start listening to the port | ||
const listener = server.listen(port, function () { | ||
console.log(`Server running on port: ${port}`) | ||
}) | ||
|
||
// a function to stop listening to the port | ||
const close = () => { | ||
listener.close() | ||
} | ||
|
||
module.exports = { | ||
close: close, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import React from 'react'; | ||
import '../styles/Archive.css' | ||
|
||
function Archive() { | ||
return ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=IM+Fell+French+Canon+SC&family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Inter:[email protected]&display=swap'); | ||
|
||
/* Consistent banner styling */ | ||
.ItemDetail-banner { | ||
background: linear-gradient(to right, #f1e5ff, #fff0e7); | ||
padding: 1.5rem; | ||
text-align: center; | ||
} | ||
|
||
.ItemDetail-banner h1 { | ||
font-family: "IM Fell French Canon SC", serif; | ||
font-weight: 400; | ||
margin: 0; | ||
margin-left: 2em; | ||
text-align: left; | ||
font-size: 27px; | ||
|
||
} | ||
|
||
.ItemDetail-banner h3 { | ||
font-family: 'Cormorant Infant', serif; | ||
font-weight: 300; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=IM+Fell+French+Canon+SC&family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Inter:[email protected]&display=swap'); | ||
|
||
|
||
/* Consistent banner styling */ | ||
.OutfitDetail-banner { | ||
background: linear-gradient(to right, #f1e5ff, #fff0e7); | ||
padding: 1.5rem; | ||
text-align: center; | ||
} | ||
|
||
.OutfitDetail-banner h1 { | ||
font-family: "IM Fell French Canon SC", serif; | ||
font-weight: 400; | ||
margin: 0; | ||
margin-left: 2em; | ||
text-align: left; | ||
font-size: 27px; | ||
|
||
} | ||
|
||
.OutfitDetail-banner h3 { | ||
font-family: 'Cormorant Infant', serif; | ||
font-weight: 300; | ||
|
||
} |