Prerequisite Nodejs (10.16.3) and MySQL should be installed
To Run Backend -
- Create a Database with name
feedback
in mysql - Import the
feedback.sql
to MySQL - Go to backend folder
- Run
npm install
- Update database connection details i.e. username, password here -
backend/src/datasources/employee.datasource.json
- Run
npm start
- In case of error related to database connection updated -
backend/src/datasources/employee.datasource.json
- Run
npm start
- Go to http://localhost:4000 in browser and http://localhost:4000/explorer/ to try API's
To Run Frontend
- Go to frontend folder
- Run
npm install
- Run
ng serve
- Open Appication in browser : http://localhost:4200/