Code Monkey home page Code Monkey logo

Comments (12)

harshguptahg007 avatar harshguptahg007 commented on July 2, 2024

I would like to work on this

from driwwwle-old.

itsnitinr avatar itsnitinr commented on July 2, 2024

@harshguptahg007 I would be really glad to have you work on this. I'll be sure to update the issue with more details in some time.

from driwwwle-old.

itsnitinr avatar itsnitinr commented on July 2, 2024

ezgif com-gif-maker
Here's a demo of this issue. You can replicate this issue by going to Driwwwle Website, creating an account, and trying to like or unlike a post.

from driwwwle-old.

harshguptahg007 avatar harshguptahg007 commented on July 2, 2024

Please assignee this to me. I will fix this issue.

from driwwwle-old.

harshguptahg007 avatar harshguptahg007 commented on July 2, 2024

How do i run the APIs in the dev environment? I think the project is missing the base url for the APIs

from driwwwle-old.

itsnitinr avatar itsnitinr commented on July 2, 2024

@harshguptahg007 To run the backend code, you can use the npm run dev command in the project's root folder which will start the Express server as well as the React server. API calls are made to localhost:5000/endpoint in the development environment. All API endpoints are available in routes/api folder. I hope I was able to clarify,

from driwwwle-old.

harshguptahg007 avatar harshguptahg007 commented on July 2, 2024

@itsnitinr i am getting status code 431, which means Request Header Fields too large, when hitting the simple api for sign up even. Am I missing something here? I installed the dependencies as per the documentation

from driwwwle-old.

itsnitinr avatar itsnitinr commented on July 2, 2024

@harshguptahg007 That's unusual. How are you trying to hit the endpoints? Postman? Can you please attach a screenshot of the error and the process you're using to hit the endpoints? The Content-Type header should be set to application/json in Postman.

from driwwwle-old.

harshguptahg007 avatar harshguptahg007 commented on July 2, 2024

I was hitting it on the dev version of the website, in the browser only.

Screenshot from 2020-09-30 16-37-51

Is the backend code on dev running fine? Cause i am getting a log that the application is crashing, after the line server started on port 5000.

from driwwwle-old.

itsnitinr avatar itsnitinr commented on July 2, 2024

@harshguptahg007 Tested the backend code on local server just now. Have you filled the default.json file in config folder?
Screenshot_20200930_164426

from driwwwle-old.

harshguptahg007 avatar harshguptahg007 commented on July 2, 2024

I have filled the default.json file with random values,

from driwwwle-old.

itsnitinr avatar itsnitinr commented on July 2, 2024

The MONGO_URI value needs to be a valid address. Do you have MongoDB installed on your system? If yes, you can change the MONGO_URI value to mongodb://localhost:27017/driwwwle. Hope that helps.

from driwwwle-old.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.