Simple todo app - FullStack - PERN
Install docker and docker-compose for example:
sudo apt update
sudo apt install docker.io docker-composeStart everything in the docker-compose.yml:
docker-compose upor just the database
docker-compose up postgresCheck what is running or stopped with
docker ps -aWhen finished can
docker-compose downdocker cp database.sql mytodo_postgres_1:/tmp
docker-compose exec postgres psql -U postgres -f /tmp/database.sqlNavigate to the project directory and run this command
npm installThen, navigate the client folder and run the same command to run all the client's dependencies.
Navigate to the project directory and run this command
npm start Navigate to the Client folder and run this command
npm start