Coder Social home page Coder Social logo

diegomais / gobarber Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 4.0 2.96 MB

๐Ÿ’ˆ App to book and manage barber service. Written in JavaScript, Node.js, React and React Native.

License: MIT License

JavaScript 89.24% HTML 0.39% Starlark 1.76% Java 2.13% Ruby 2.23% Objective-C 3.81% Handlebars 0.44%
express react react-native sequelize redux redux-saga

gobarber's Introduction

GoBarber
GoBarber: Barber shop booking ๐Ÿ’ˆ

GitHub license GitHub last commit GitHub language count GitHub top language

Technologiesย ย ย |ย ย ย  Getting startedย ย ย |ย ย ย  How to contributeย ย ย |ย ย ย  License

๐Ÿš€ Technologies

This project was developed with the following technologies:

Extras:

๐Ÿ’บ Getting started

These instructions will get you a copy of the full project up and running on your local machine for development and testing purposes.

Setting up the development environment

The project is developed using Git. Git is a free and open source distributed version control system. Download Git.

The project can be built with npm or Yarn, so choose one of the approach bellow in case you don't have any installed on your system.

  • npm is distributed with Node.js which means that when you download Node.js, you automatically get npm installed on your computer. Download Node.js.
  • Yarn is a package manager built by Facebook Team and seems to be faster than npm in general. Download Yarn.

Cloning the project

You can obtain the project by running the instruction bellow on your terminal:

git clone https://github.com/diegomais/gobarber.git

Setting up Databases and Services

The project uses PostgreSQL, MongoDB and Redis.

We recommend use Docker to install and run the databases and services above.

  1. Install Docker Desktop.
  2. Start a PostgreSQL instance: docker run --name gobarber-pg -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
  3. Start a MongoDB instance: docker run --name gobarber-mongo -p 27017:27107 -d mongo
  4. Start a Redis instance: $ docker run --name gobarber-redis -p 6379:6379 -d redis

API

Installing dependencies and running the server

Run the instructions bellow inside packages/api directory:

  1. npm install
  2. npm run dev

or

  1. yarn install
  2. yarn dev

Web

Installing dependencies and running the web application

Run the instructions bellow inside packages/web directory:

  1. npm install
  2. npm start

or

  1. yarn install
  2. yarn start

Mobile

Setting up the development environment

Follow the instructions for React Native CLI available in the official React Native Documentation.

Installing dependencies and running the mobile application

Run the instructions bellow inside packages/mobile directory:

  1. npm install
  2. npm start

or

  1. yarn install
  2. yarn start

๐Ÿค” How to contribute

  • Fork this repository;
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit your changes: git commit -m '[feat](scope) My new feature';
  • Push to your branch: git push origin my-feature.

After the merge of your pull request is done, you can delete your branch.

๐Ÿ“ License

This project is under the MIT license. See the LICENSE for more details.


Made with โค๏ธ by Diego Mais ๐Ÿ‘‹.

gobarber's People

Contributors

dependabot[bot] avatar diegomais avatar renovate-bot avatar renovate[bot] avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gobarber's Issues

.env file: how to complete it?

Can you provide an example of .env file filled with the default value according to the docker containers started as in the README?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): replace dependency babel-eslint with @babel/eslint-parser
  • chore(deps): update dependency @react-native-community/eslint-config to v0.0.7
  • fix(deps): update dependency multer to v1.4.4
  • fix(deps): update dependency react-redux to v7.2.9
  • fix(deps): update dependency react-router-dom to v5.3.4
  • fix(deps): update dependency reactotron-react-js to v3.3.14
  • fix(deps): update dependency reactotron-redux to v3.1.9
  • fix(deps): update dependency yup to v0.32.11
  • chore(deps): update dependency babel-eslint to v10.1.0
  • chore(deps): update dependency eslint-plugin-import to v2.29.1
  • chore(deps): update dependency eslint-plugin-jsx-a11y to v6.8.0
  • chore(deps): update dependency eslint-plugin-react to v7.34.2
  • chore(deps): update dependency react-app-rewired to v2.2.1
  • chore(deps): update dependency sucrase to v3.35.0
  • fix(deps): update dependency bee-queue to v1.7.1
  • fix(deps): update dependency date-fns to v2.30.0
  • fix(deps): update dependency date-fns to v2.30.0
  • fix(deps): update dependency date-fns-tz to v1.3.8
  • fix(deps): update dependency prop-types to v15.8.1
  • fix(deps): update dependency react-native to v0.74.1
  • fix(deps): update dependency react-native-linear-gradient to v2.8.3
  • fix(deps): update dependency redux to v4.2.1
  • fix(deps): update dependency redux-saga to v1.3.0
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update actions/setup-node action to v4
  • chore(deps): update dependency @react-native-community/eslint-config to v3
  • chore(deps): update dependency eslint to v9
  • chore(deps): update dependency eslint-config-prettier to v9
  • chore(deps): update dependency eslint-plugin-prettier to v5
  • chore(deps): update dependency gradle to v8
  • chore(deps): update dependency jetifier to v2
  • chore(deps): update dependency nodemon to v3
  • chore(deps): update dependency prettier to v3
  • chore(deps): update dependency sequelize-cli to v6
  • chore(deps): update dependency ubuntu to v22
  • chore(deps): update jest monorepo to v29 (major) (babel-jest, jest)
  • fix(deps): update dependency @sentry/node to v8
  • fix(deps): update dependency com.android.tools.build:gradle to v8
  • fix(deps): update dependency date-fns to v3
  • fix(deps): update dependency date-fns-tz to v3
  • fix(deps): update dependency dotenv to v16
  • fix(deps): update dependency history to v5
  • fix(deps): update dependency nodemailer-express-handlebars to v6
  • fix(deps): update dependency polished to v4
  • fix(deps): update dependency react-icons to v5
  • fix(deps): update dependency react-native-gesture-handler to v2
  • fix(deps): update dependency react-native-vector-icons to v10
  • fix(deps): update dependency react-navigation to v5
  • fix(deps): update dependency react-redux to v9
  • fix(deps): update dependency react-router-dom to v6
  • fix(deps): update dependency react-scripts to v5
  • fix(deps): update dependency react-toastify to v10
  • fix(deps): update dependency reactotron-react-native to v5
  • fix(deps): update dependency redux to v5
  • fix(deps): update dependency redux-persist to v6
  • fix(deps): update dependency styled-components to v6
  • fix(deps): update dependency youch to v3
  • fix(deps): update dependency yup to v1
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

cocoapods
packages/mobile/ios/Podfile
github-actions
.github/workflows/web-ci.yml
  • actions/checkout v2
  • actions/setup-node v2
  • ubuntu 18.04
gradle
packages/mobile/android/gradle.properties
packages/mobile/android/settings.gradle
packages/mobile/android/build.gradle
  • com.android.tools.build:gradle 3.4.1
packages/mobile/android/app/build.gradle
gradle-wrapper
packages/mobile/android/gradle/wrapper/gradle-wrapper.properties
  • gradle 5.4.1
npm
packages/api/package.json
  • @sentry/node 5.30.0
  • bcryptjs ^2.4.3
  • bee-queue ^1.4.0
  • cors ^2.8.5
  • date-fns ^2.22.1
  • dotenv ^8.4.0
  • express ^4.17.3
  • express-async-errors ^3.1.1
  • express-handlebars ^3.1.0
  • jsonwebtoken ^8.5.1
  • mongoose ^5.12.13
  • multer ^1.4.1
  • nodemailer ^6.6.1
  • nodemailer-express-handlebars ^3.0.0
  • pg ^7.11.0
  • pg-hstore ^2.3.4
  • sequelize ^5.22.4
  • youch ^2.2.2
  • yup ^0.32.8
  • eslint 5.16.0
  • eslint-config-airbnb-base 13.2.0
  • eslint-config-prettier 6.15.0
  • eslint-plugin-import 2.25.3
  • eslint-plugin-prettier 3.3.1
  • nodemon 1.19.4
  • prettier 1.19.1
  • sequelize-cli 5.5.1
  • sucrase 3.20.3
packages/mobile/package.json
  • @react-native-community/async-storage 1.12.1
  • axios 0.24.0
  • date-fns 2.27.0
  • immer 8.0.4
  • prop-types 15.7.2
  • react 16.14.0
  • react-native 0.60.4
  • react-native-gesture-handler 1.10.3
  • react-native-linear-gradient 2.5.6
  • react-native-reanimated 1.13.3
  • react-native-vector-icons 6.7.0
  • react-navigation 3.13.0
  • react-redux 7.2.6
  • reactotron-react-native 3.7.1
  • reactotron-redux 3.1.3
  • reactotron-redux-saga 4.2.3
  • redux 4.1.2
  • redux-persist 5.10.0
  • redux-saga 1.1.3
  • styled-components 4.4.1
  • @babel/core 7.5.5
  • @babel/runtime 7.5.5
  • @react-native-community/eslint-config 0.0.5
  • babel-eslint 10.0.2
  • babel-jest 24.9.0
  • babel-plugin-root-import 6.6.0
  • eslint 5.16.0
  • eslint-config-airbnb 17.1.1
  • eslint-config-prettier 6.15.0
  • eslint-import-resolver-babel-plugin-root-import 1.1.1
  • eslint-plugin-import 2.25.3
  • eslint-plugin-jsx-a11y 6.5.1
  • eslint-plugin-prettier 3.1.0
  • eslint-plugin-react 7.27.1
  • eslint-plugin-react-hooks 1.7.0
  • jest 24.9.0
  • jetifier 1.6.8
  • metro-react-native-babel-preset 0.55.0
  • prettier 1.19.1
  • react-test-renderer 16.8.6
packages/web/package.json
  • @rocketseat/unform 1.6.2
  • axios 0.24.0
  • date-fns 2.27.0
  • date-fns-tz 1.1.6
  • history 4.10.1
  • immer 8.0.4
  • polished 3.7.2
  • prop-types 15.7.2
  • react 16.8.6
  • react-dom 16.8.6
  • react-icons 3.11.0
  • react-perfect-scrollbar 1.5.8
  • react-redux 7.2.6
  • react-router-dom 5.3.0
  • react-scripts 3.4.4
  • react-toastify 5.5.0
  • reactotron-react-js 3.3.7
  • reactotron-redux 3.1.3
  • reactotron-redux-saga 4.2.3
  • redux 4.1.2
  • redux-persist 5.10.0
  • redux-saga 1.1.3
  • styled-components 4.4.1
  • yup 0.32.11
  • babel-plugin-root-import 6.6.0
  • customize-cra 0.9.1
  • eslint 6.8.0
  • eslint-config-airbnb 17.1.1
  • eslint-config-prettier 6.15.0
  • eslint-import-resolver-babel-plugin-root-import 1.1.1
  • eslint-plugin-import 2.25.3
  • eslint-plugin-jsx-a11y 6.5.1
  • eslint-plugin-prettier 3.1.0
  • eslint-plugin-react 7.27.1
  • eslint-plugin-react-hooks 1.6.1
  • prettier 1.19.1
  • react-app-rewired 2.1.8

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.