Structure of project:
- /api: contains the code for backend (create RESTful API)
- /db: contains the code for creating database
- /nginx: contain config for webserver (dont edit the config file)
- /ui: containes the code for vuejs frontend
- src/components: contains components of frontend
- src/router: control routing of website
- src/views: contains code for view of website
Guidlines:
-
Clone and cd to the repository
-
run
docker-compose up(ordocker-compose buildfor building the containers, and thendocker-compose upto start the services) -
Access database by
localhost:8080- username: user
- password: password123
- database name: surveydb
Access API by:
localhost:8000Access Web app by:
localhost:8001