65cbdc5997 | ||
---|---|---|
.. | ||
backend | ||
frontend | ||
README.md |
README.md
Technical documentation
Frontend
- HTML 5
- CSS 3
- JavaScript
- TypeScript
- Angular 12 (Frontend framework)
Backend
- PHP 8.0
- Symfony 5 (PHP Framework)
- Postgresql 13 (Database)
- Docker (Local development environment)
Tools
Neccessary
- Docker - to run local environment
Optional
- Firefox Developer Edition
- VS Code - IDE
- Plugins for PHP
- Plugins for Angular
- Plugins for database
- Plugins for git:
How to run app?
- Download project from repository using standalone git or built in any IDE
- Install Docker Desktop
- run command line and go to project directory
- Go to docker directory
- Execute
docker compose -p curenet up
- Wait until docker building and lauching the app. At first attempt it can take a few minutes
Application links
- Main app:
http://localhost:7700
- PgAdmin4
http://localhost:7700/pgadmin4
- PHP Xdebug for fpm:
localhost:7780
- PHP Xdebug for cli:
localhost:7781
Credentials
PgAdmin4
- Login:
admin@pgadmin.localhost
- Password:
WeryStronkPaz2
- Configuration:
- Click on Server in left panel
- Go to Create > Server
- Enter name (you can name it as you want)
- Go to Connection tab
- Enter host name:
localhost
- Enter username:
postgres
- Enter password:
WeryStronkPaz2
- Save it
- Go to Servers > [your name] > Databases > curenet > Schemas > public > Tables
- You can see all tables
Database
- Server:
localhost
- Port:
5432
- Username
- For application:
curenet
- For admin:
postgres
- For application:
- Database
- For application:
curenet
- For admin:
postgres
- For application:
- Password:
WeryStronkPaz2
Known issues
- If the docker build the app but can't run it, check the docker/startup.sh file, it should be saved with LF as end of line sequence. If it's CRLF try to change it to LF, save the file and try to run app again