It is node server, which serves api(s) for usage in ITSS project.
- Clone this repo.
- Install
docker-compose
- For getting images:
- On Ubuntu / Mac:
chmod u+x pre_run_command.sh
./pre_run_command.sh
- On Window:
- run
pre_run_command.sh
- run
- On Ubuntu / Mac:
- Run
docker-compose up
in the command-line. - Visit localhost.
- Write pages in client/public.
- If needed routing, add to
index.js
your needed route(s). Don't place those files sent this way inclient/public
. - Interaction with database should go to
pg_database
.
Note: currently not finished
On Ubuntu / Mac:
chmod u+x post_run_command.sh
./post_run_command.sh
On Window:
- run
pre_run_command.sh
- More services by adding to
docker-compose.yml
. - More routes by editing
index.js
. - Change database structure and data by changing
command.sh
andscripts/fill_data
.
- remove unused fields n db and fake gen
- type, size check file upload
- Secure parameter
- refactoring
- better bootstrap
- remove secret out of dockerfile