https://github.com/csfelix/easy-barber
🌱 Application to Schedule Haircuts 🌱
https://github.com/csfelix/easy-barber
back-end docker front-end mobile mongo mongodb node nodejs postgres react react-native redis
Last synced: 8 months ago
JSON representation
🌱 Application to Schedule Haircuts 🌱
- Host: GitHub
- URL: https://github.com/csfelix/easy-barber
- Owner: CSFelix
- Created: 2022-09-17T17:15:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-04T00:39:59.000Z (over 3 years ago)
- Last Synced: 2025-04-28T12:52:46.026Z (about 1 year ago)
- Topics: back-end, docker, front-end, mobile, mongo, mongodb, node, nodejs, postgres, react, react-native, redis
- Language: JavaScript
- Homepage:
- Size: 3.77 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🌟 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](mailto:csfelix08@gmail.com?)**
> **Linkedin:** **[linkedin.com/in/csfelix/](https://www.linkedin.com/in/csfelix/)**
> **Instagram:** **[instagram.com/c0deplus/](https://www.instagram.com/c0deplus/)**
----
> **Portfolio:** **[CSFelix.io](https://csfelix.github.io/)**
> **Kaggle:** **[DSFelix](https://www.kaggle.com/dsfelix)**