Skip to content

๐ŸŒฑ Application to Schedule Haircuts ๐ŸŒฑ

Notifications You must be signed in to change notification settings

CSFelix/easy-barber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŸ Easy Barber ๐ŸŒŸ



โ“ What's it? โ“

Application to Schedule Haircuts!

PS.: all files and folders name 1.extension are hidden, so you have to take off the number 1 and let just the .extension to them work on your Visual Studio Code.



โš’๏ธ Tools โš’๏ธ

  • Visual Studio Code;
  • Git;
  • NodeJS;
  • Yarn;
  • bcryptjs, express, jsonwebtoken, pg, pg-hstore, sequelize, yup, eslint, eslint-config-airbnb-base, eslint-config-prettier, eslint-plugin-import, eslint-plugin-prettier, nodemon, prettier, sequelize-cli, sucrase, multer, date-fns, mongoose, nodemailer, express handlebars, nodemailer express handlebars, bee queue, dotenv;
  • Insomnia;
  • React;
  • Reack-Native;
  • Postgres;
  • MongoDB;
  • Redis;
  • Docker;
  • MailTrap;


โš™๏ธ Creating the Project โš™๏ธ

  • Create a folder, open the terminal and execute the follow command in the folder directory:
yarn init -y
  • Download the Repo and paste all the files into the project's folder;

  • After that, execute to install the dependencies:

yarn


โš™๏ธ Running Docker โš™๏ธ

  • Open the terminal and execute the following commands:
docker run --name database -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres:11
docker run --name mongobarber -p 27017:27017 -d -t mongo
docker run --name redisbarber -p 6379:6379 -d -t redis:alpine

docker start database
docker start mongobarber
docker start redisbarber


โš™๏ธ Creating Database โš™๏ธ

  • Connect into the Docker Container and create a database called easybarber


โš™๏ธ Executing Migrations โš™๏ธ

  • In the terminal, executes:
yarn sequelize db:migrate


โš™๏ธ Running Applications โš™๏ธ

  • To run in dev mode:
yarn dev
  • To run in debug mode:
yarn dev:debug


๐Ÿ“ซ Reach Me ๐Ÿ“ซ

Email: csfelix08@gmail.com

Linkedin: linkedin.com/in/csfelix/

Instagram: instagram.com/c0deplus/


Portfolio: CSFelix.io

Kaggle: DSFelix