Skip to content

Commit

Permalink
week07 activity self
Browse files Browse the repository at this point in the history
  • Loading branch information
Glynax committed Oct 27, 2023
1 parent 0f29836 commit 061b77d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cit262-stedi-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"expo": "^48.0.16",
"expo-build-properties": "~0.6.0",
"expo-cli": "^6.3.7",
"express": "^4.18.2",
"jest": "^29.2.1",
"react": "18.2.0",
"react-native": "0.71.7",
Expand All @@ -28,7 +29,7 @@
},
"scripts": {
"test": "jest",
"start": "expo start",
"start": "node server.js",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
Expand Down
11 changes: 11 additions & 0 deletions cit262-stedi-app/server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const express =require('express');

const port = 3000;

const app = express();

app.get('/', (req,res) => {res.send("Hello Browser")});

app.get('/matt', (req,res) => {res.send("Hello Matt")});

app.listen(port, ()=>console.log("Listening"));

0 comments on commit 061b77d

Please sign in to comment.