Skip to content
/ myTodo Public

A simple, full-stack todo app. Built with Postgres, Node, Express, React

Notifications You must be signed in to change notification settings

mnove/myTodo

Repository files navigation

Simple todo app - FullStack - PERN

Getting Started

Install docker and docker-compose for example:

sudo apt update
sudo apt install docker.io docker-compose

Start everything in the docker-compose.yml:

docker-compose up

or just the database

docker-compose up postgres

Check what is running or stopped with

docker ps -a

When finished can

docker-compose down

Initialise the database

docker cp database.sql mytodo_postgres_1:/tmp
docker-compose exec postgres psql -U postgres -f /tmp/database.sql

Install all dependencies

Navigate to the project directory and run this command

  npm install

Then, navigate the client folder and run the same command to run all the client's dependencies.

Start the server

Navigate to the project directory and run this command

  npm start 

Start the client (React app)

Navigate to the Client folder and run this command

  npm start

About

A simple, full-stack todo app. Built with Postgres, Node, Express, React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published