Skip to content

pareshmeb/paresh-TC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation instruction:

  1. Please clone my repo https://github.com/pareshmeb/paresh-TC

  2. Please navigate to cc folder using a terminal

  3. run - composer install

  4. run - docker-compose up

  5. All endpoints returns Json Data. use belows url to test: GET - http://127.0.0.1:8080/topsales GET - http://127.0.0.1:8080/employeeReports/10 GET - http://127.0.0.1:8080/employeeSales/10

  6. Please navigate to angular folder

  7. do npm install

  8. ng serve --open

  9. If you need to change API ip address then please change in api.service.ts file

  10. Explanation: I have created 1 service(sales). Sales service has it's own database so that they can be easily deployed on the separate server. It is using the postgreSQL database. It is using slim framework for rest API. You can find the database structure file in postgres/docker-entrypoint-initdb/init.sql.

    All codes written by me you will find into below folders. \cc\SalesService
    \cc\src\Common \cc\app\routes.php \angular \results

    Please let me know if you have questions or need a help to setup.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages