Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement scribble backend w api #25

Merged
merged 2 commits into from
Nov 7, 2024
Merged

implement scribble backend w api #25

merged 2 commits into from
Nov 7, 2024

Conversation

iA2J
Copy link
Contributor

@iA2J iA2J commented Nov 7, 2024

Implemented api call for the scribble backend

@iA2J iA2J requested a review from milo04011 November 7, 2024 04:13
app.js Outdated
@@ -4,6 +4,8 @@ require('dotenv').config();
const multer = require('multer');
const fs = require('fs');
const upload = multer({ dest: 'uploads/' });
const axios = require('axios');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're not using axios anywhere, considering removing it.

app.js Outdated
@@ -19,6 +21,7 @@ const contactRoutes = require('./routes/contact');
app.use('/api/contact', contactRoutes);

const kinestheticRoutes = require('./routes/kinesthetic');
const { getSystemErrorMap } = require('util');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for this, if you're not using it anywhere, consider removing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall the logic looks good to me.

@milo04011
Copy link
Contributor

Also, there seems to be some linter/prettier check errors.

@iA2J iA2J merged commit fc41c66 into main Nov 7, 2024
1 check passed
@iA2J iA2J deleted the week6-scribble-backend branch November 7, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants