series-db-client
Modern Programming Platforms [2]
A simple web client for viewing and editing the TV series database.
How to start:
- terminal
- make sure you're in the project directory
- enable the internet connection
- enter 'npm install' (the first time)
- modify 'CONNECTION_STR' in 'main.js':50 (the first time)
- make sure your MySQL server is working
- enter 'npm start' (the same after some changes in the code ('Ctrl+C' to stop the server))
- browser
- go to http://localhost:8080/ (update after some changes in the code)
- to enable styles enable your internet connection
OR
- docker
- go to the project directory ('cd' command)
- enable the internet connection
- enter 'docker-compose up --build web' (the first time and after some changes in the code) or
- enter 'docker-compose up web' (in other cases)
- if there are some troubles with using the docker try the following
- make sure your docker IP is the same as the IP specified in the 'CONNECTION_STR' in 'main.js':50
- uncomment the lines related to the database connection
- enter 'docker-compose up --build web'
- browser
- go to http://192.168.99.100:3000/ (update after some changes in the code)
- to enable styles enable your internet connection
To do:
- code optimization and structuring;
- improving UI;