- add correct path in
application.ymlinsrc/main/resourcesfolder againstapp.uploadPath - edit the following properties in
application.propertiesspring.datasource.url: add your database url herespring.datasource.username: add your database userspring.datasource.password: add your db user's password Note: The user must create rhe above mentioned database and db user with required permissions.
- create a
.envfile infrontenddirectory - add following to it
here is a sample
NEXT_PUBLIC_API_BASE_URL=<your_backend_base_url>/api/v1NEXT_PUBLIC_API_BASE_URL=http://localhost:8080/api/v1
Now,
- Start the backend, makesure it is running on same host and port as mention in
.envof frontend. - Start the frontend and hit
localhost:3000if on local machine, else the url if hosted on a service/platform.
Thanks, Aman Kr Pandey