ganatan / angular-app

Angular 18 ,Bootstrap 5, Node.js, Express.js, CRUD, PWA, SSR, SEO, Lazy Loading, Examples Angular & React nrwl
647 stars 315 forks source link

Can't change the Local Json setting to use Crud #14

Open crunchytoast opened 3 years ago

crunchytoast commented 3 years ago

What am I missing? I commented out the local json option but it still doesn't allow me to use the database for crud.

` constructor() {

/*const api = false;
const url = './assets/params/json/';*/

const api = true;
const url = 'http://localhost:5004/'; 

this.config.api = api;
this.config.url = url;`
ganatan commented 3 years ago

Hi crunchytoast,

I have fix many problems.

you can test.

cd backend cd postgresql-express-crud npm install npm run start

cd frontend npm install npm start

And Test with

bye