Comments (8)
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.
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.
@shabfactor
change it here this file :
frontend/src/config/serverApiConfig.js
from mern-admin.
## 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 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.
To http://localhost:8888/api/ , and make sure that server is running on 8888
from mern-admin.
@idurar can you please help me to setup backend??
from mern-admin.
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)
- Create new backend using node.js (Express.js) MongoDB (Mongoose)
- 同学,您这个项目引入了210个开源组件,存在1个漏洞,辛苦升级一下
- Craco
- connection not open to send() when getPastEvents call for smart contract subscribe
- nodemon not working is there any errors in building the model? If I run it with npm start, nothing is visible in the browser after a while... HOT 1
- Create new Front-end using Ant Design (React / Redux)
- can't delete over one row HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mern-admin.