Giter VIP home page Giter VIP logo

Comments (8)

RathodChirag avatar RathodChirag commented on August 11, 2024 2

Hey @shabfactor, what did you change in the file : frontend/src/config/serverApiConfig.js. because I also have same error as you

from mern-admin.

shabfactor avatar shabfactor commented on August 11, 2024

hi, it seems the local api setup is not working the localhost:8888 is giving this error {"success":false,"message":"Api url doesn't exist "}

from mern-admin.

 avatar commented on August 11, 2024

@shabfactor
change it here this file :
frontend/src/config/serverApiConfig.js

from mern-admin.

 avatar commented on August 11, 2024

@Flinze

## Setup backend

1) just create MongoDB Atlas accout database url 
2) change this file name .variables.env.tmp to  .variables.env
3) open  .variables.env and paste your MongoDB url here :  DATABASE=your-mongodb-url
4) npm install
5) npm setup

## Setup frontend
1) cd frontend 
2) npm install
3) change api config to loaclhost in this : src/frontend/src/config/serverApiConfig.js
 

## start server
1) npm start

## start react app
1) cd frontend
2) npm start

from mern-admin.

shabfactor avatar shabfactor commented on August 11, 2024

@shabfactor change it here this file : frontend/src/config/serverApiConfig.js

@idurar
should i change it to http://localhost/api/ or http://localhost:8888/api/?

from mern-admin.

 avatar commented on August 11, 2024

To http://localhost:8888/api/ , and make sure that server is running on 8888

from mern-admin.

mituBarua avatar mituBarua commented on August 11, 2024

@idurar can you please help me to setup backend??

from mern-admin.

Rathod0140 avatar Rathod0140 commented on August 11, 2024

Hey @shabfactor, what did you change in the file : frontend/src/config/serverApiConfig.js. because I also have same error as you

from mern-admin.

Related Issues (8)

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.