A barber scheduling nodejs app using postgres and nunjucks.
-
Install Docker
-
Install the postgres image:
kartoza/postgis
docker run --name [name of your container] -p 5432:5432 -d -t kartoza/postgis
- Run the docker container
docker start [name of your container]
- Run the project:
yarn start
or
npm run start
npx sequelize init
npx sequelize migration:create --name=create-users
npx sequelize migration:create --name=create-appointments
npx sequelize migrate
docker run --name gobarberdb -p 5432:5432 -d -t kartoza/postgis
docker start gobarberdb
docker stop gobarberdb