Giter Club home page Giter Club logo

isharax9 / chatapp Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.26 MB

An advanced real-time mobile chat application, built using the REACT NATIVE framework, seamlessly integrates multiple functionalities and features while harnessing the power of Mongo Db, forming a robust MERN STACK-based solution. Please read the readme file and get start. Also if you find this project useful, consider giving it a star ⭐️.

License: MIT License

JavaScript 100.00%
chatapp mern-project mern-stack-app mobile-app mongodb-atlas react-native expo-go gradle node

chatapp's Issues

steps to make this work on your own phone!

ChatGPT answer prompt here https://datafit.ai/prompt/21950#


Here's how to,

updating the API URL in your client-side code is necessary to ensure that your app makes API requests to the correct server. However, you may also need to update the server-side configuration to match the IP address or domain name changes

mongoose
  .connect("mongodb://yourIpAddress/yourprojectnameinmongodb", {
    useNewUrlParser: true,
    useUnifiedTopology: true,
  })
  .then(() = {
    console.log("Connected to Mongo Db");
  })
  .catch((err) = {
    console.log("Error connecting to MongoDb", err);
  });

if doesn't work, in place of ipaddress add 127.0.0.1:27017 it should probably work!

then ...

app.listen(port, "IpAdressofyourpc", () = {
  console.log("Server is running on http://youripadress");
});

then in the frontend-part while initialising the function you need to make the change

  axios
       .post("http://youripadress:8000/register", user)

To get the ip adress of your sytem
Mac = ipconfig getifaddr en0
Windows = ipconfig

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.