Skip to content

Commit

Permalink
removed legacy backend code.
Browse files Browse the repository at this point in the history
  • Loading branch information
conorpo committed Dec 26, 2023
1 parent a74fea0 commit f55d131
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 7,149 deletions.
9 changes: 0 additions & 9 deletions .babelrc.json

This file was deleted.

62 changes: 3 additions & 59 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,65 +1,9 @@
# pt-gpt
A personal trainer powered by the GPT 3 API, hosted at [pt-gpt.com](https://www.pt-gpt.com)

<br />
A GPT-4 powered AI Personal Trainer.
Made as a Final Project for COP4331 - Processes of Object Oriented Programming (POOP)


### **To Run Front-End**
First install dependencies
```bash
cd frontend
npm install
```

then, build desired platform:

```bash
npm run web
npm run export # to export to ios/android (this doesnt work yet)
```

to hot-reload the app during development:

```bash
npm run start
```

<br />

### **To Run Backend**

Navigate to root and install dependencies
```bash
npm install
```

to run server:
```bash
npm run start
```

to hot-reload the server back-end during development:

```bash
npm run dev
```

this requires nodemon to be installed globally
```bash
npm install -g nodemon
```


### To Setup Expo and run on Android / IOS
Download the Expo app on your phone and create an account. Then run the following commands in the frontend directory:

```bash
npx expo login
```

Then scan the QR code that appears in the terminal with your phone. You should now be able to run the app on your phone.

### Made By
### Authors
- [Conor O'Malley](https://github.com/conorpo)
- [Jose Urrea](https://github.com/JoseAUrrea)
- [Kennedy Torrent](https://github.com/ktorr)
Expand Down
37 changes: 0 additions & 37 deletions app.js

This file was deleted.

19 changes: 0 additions & 19 deletions config/logger.js

This file was deleted.

12 changes: 0 additions & 12 deletions config/mongo_connection.js

This file was deleted.

114 changes: 0 additions & 114 deletions controllers/auth.js

This file was deleted.

46 changes: 0 additions & 46 deletions controllers/user.js

This file was deleted.

1 change: 0 additions & 1 deletion functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const {logger} = require("firebase-functions/v2");
const {getFirestore} = require("firebase-admin/firestore");

const openai = require('../config/openai_connection');
const { get } = require("mongoose");

const SYSTEM_MESSAGE = {
role: 'system',
Expand Down
54 changes: 0 additions & 54 deletions helpers/emailSender.js

This file was deleted.

19 changes: 0 additions & 19 deletions middlewares/jwt_auth.js

This file was deleted.

Loading

0 comments on commit f55d131

Please sign in to comment.